<!--

	function Popup_Open(url,win,xv,yv,scroll){

	var iwidth;
	var iheight;

	if(win == "viewmember") {
	iwidth = 0;
	iheight = 0;
	}else{
	iwidth = (screen.width-xv)/2;
	iheight = (screen.height-yv)/2;
	}
	str1 = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars="+scroll+",resizable=0,width="+xv+",height="+yv+",top="+iheight+",left="+iwidth;

	var popup = window.open(url, win, str1);

	if( navigator.appName.substring(0,8) == "Netscape" ) {
	popup.location = url;
	}

	}


	function Check_BrandText(form,mode,sort){

	if(!form.name.value){
	alert("»óÇ° ÀÌ¸§À» ÀÔ·ÂÇÏ¼¼¿ä.");
	form.name.focus();
	return;
	}

	if(!form.price.value){
	alert("ÆÇ¸Å °¡°ÝÀ» ÀÔ·ÂÇÏ¼¼¿ä.");
	form.price.focus();
	return;
	}

	if(!form.reserv.value){
	alert("Àû¸³À²À» ÀÔ·ÂÇÏ¼¼¿ä.");
	form.reserv.focus();
	return;
	}

	if(!form.etc.value){
	alert("Á¦Ç° »ó¼¼ ¼³¸íÀ» ÀÔ·ÂÇÏ¼¼¿ä.");
	form.etc.focus();
	return;
	}

	if(mode=="brandinsert"){

	if(!form.img.value){
	alert("´ëÇ¥ ÀÌ¹ÌÁö¸¦ ¼±ÅÃÇÏ¼¼¿ä");
	form.img.focus();
	return;
	}

	if(!form.img1.value){
	alert("»ó¼¼ ÀÌ¹ÌÁö¸¦ ¼±ÅÃÇÏ¼¼¿ä.");
	form.img1.focus();
	return;
	}

	}

	form.type.value=mode;
	form.submit();
	}


	function Poll_Chk(num){

	var str=document.pollform;
	var count=0;

	for(i=0;i < num;i++){
	if(str.vote[i].checked){
	count++;
	}
	}

	if(count!=0){
	str.submit();
	}else{
	alert("¼³¹®À» ¼±ÅÃÇÏ¿© ÁÖ½Ê½Ã¿À");
	str.vote[0].focus();
	return;
	}

	}


	//·Î±×ÀÎÃ¢ ¶ç¿ì±â...
	function login_window(temp)
	{
		window.open(temp + "/member/login.php","login_window","toolbar=no,menubar=no,scrollbars=no,resizable=no, top=0, left=0, width=100,height=100");
	}

	//È¸¿ø°¡ÀÔÀ¸·Î °¡±â...
	function join(temp)
	{
		window.opener.location.href = temp + "/index.php?type=join_ready";
		self.close();
	}

	function PrintEmbed(EmbID) 
	{ 
		document.write(document.getElementById(EmbID).value); 
	}

// -->