<!--
/* //ÀÌ¹ÌÁö »çÀÌÁî ÆË¾÷ */
function CaricaFoto(img){ 
        foto1= new Image(); 
        foto1.src=(img); 
        Controlla(img); 
} 

function Controlla(img){ 
        if((foto1.width!=0)&&(foto1.height!=0)){ 
               viewFoto(img); 
        } 
        else{ 
                funzione="Controlla('"+img+"')"; 
                intervallo=setTimeout(funzione,20); 
        } 
} 
function viewFoto(img){ 
        foto1= new Image(); 
        foto1.src=(img); 
        largh=foto1.width; 
        altez=foto1.height; 
        stringa="scrollbars=yes,width="+largh+",height="+altez+",left="+10+",top="+10+",resizable="+1; 
        image_view = window.open("","image_view",stringa); 
        image_view.document.open(); 
        image_view.document.write("<html><head><title>¿øº»ÀÌ¹ÌÁöº¸±â</title></head>"); 
        image_view.document.write("<body leftmargin=0 marginwidth=0 topmargin=0 marginheight=0>"); 
        image_view.document.write("<img src="+img+" style=cursor:hand onclick='self.close()'>"); 
        image_view.document.write("</body></html>"); 
        image_view.document.close(); 
} 
/* //ÀÌ¹ÌÁö ·Ñ¿À¹ö  */
function bt(id,after){ 
eval(id+'.filters.blendTrans.stop();'); 
eval(id+'.filters.blendTrans.Apply();'); 
eval(id+'.src="'+after+'";'); 
eval(id+'.filters.blendTrans.Play();'); 
}

/* // °¶·¯¸®ÀÌ¹ÌÁöÈ¿°ú */
function callme(image) {
img.filters[0].Apply();
img.src=image;
img.filters[0].Play();
}


/* //»õÃ¢¿­±â */
function load(theURL,winName,features) {
window.open(theURL,winName,features); 
} 

/* //Å¾À¸·Î */
function GoTop() {
			window.scrollTo(0,0);
		}

/* // */
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;


/* //select style */
function setSelectBox(selName)
{
	sel = eval("document.all."+selName);

	borderColor = sel.bordercolor;
	selWidth = parseInt(sel.width);
	bgColor = sel.bgcolor;
	rectLeft = selWidth-2;
	spanWidth = selWidth;
	
	//span tag
	header  = "<span style='position:relative;margin-right:0px;";
	header += "width:"+spanWidth+";height:19px;border:1px solid "+borderColor+";background-color:"+bgColor+";'>\n";
	header += "<span style='position: absolute;left:0px;top:-1px;";
	header += "width:"+selWidth+";height:20px;clip:rect(2,"+rectLeft+",18,2);'>\n";
	
	footer = "</span></span>";

	sel.style.backgroundColor = bgColor;
	sel.style.width = selWidth;

	sel.outerHTML = header+sel.outerHTML+footer;

}


/* 
/////////////////////////////////¸ÞÀÎ ´º½º·¹ÀÌ¾î Á¦¾î/////////////////////////////////
// BASIC SCRIPT
*/
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


/* // LAYER SHOW HIDE */
function cu(stat){
	if (stat == 1){ 
		document.all.cu1.style.display = "block"; 
		document.all.cu2.style.display = "none";  
	} else if (stat == 2){  
		document.all.cu1.style.display = "none"; 
		document.all.cu2.style.display = "block"; 
	} else if (stat == 3){  
		document.all.cu1.style.display = "none"; 
		document.all.cu2.style.display = "none"; 
	} 
}
/* 
/////////////////////////////////¸ÞÀÎ ´º½º·¹ÀÌ¾î Á¦¾î/////////////////////////////////
*/

function GETCooKIE(sName)
{
	var aCookie = document.cookie.split("; ");
	for (var i=0; i < aCookie.length; i++)
	{
		var aCrumb = aCookie[i].split("=");
		if (sName == aCrumb[0])
		{
			return unescape(aCrumb[1]);
		}
	}
  return null;
}


function NoePopUpSys(html, cokname, no)
{
	var check_cookie = GETCooKIE(cokname);
	if(check_cookie== null || parseInt(check_cookie) == 0 )
	{
	   switch (parseInt(no))
	   {
   	     case 1 :  
			    notice_pop = window.open(html, 'pop1', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no, copyhistory=no, width=369, height=415,top=0,left=0'); 
		        if (notice_pop == null) { alert("Å¾³×ºñ¿¡¼­ ±ä±Þ°øÁö ÆË¾÷ÀÌ ÀÖ½À´Ï´Ù.\nÆË¾÷ Â÷´ÜÀ» Çã¿ëÇØ ÁÖ¼¼¿ä"); }
				break;
		 case 2 :  
			    notice_pop = window.open(html, 'pop2', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no, copyhistory=no, width=369, height=415,top=0,left=371'); 
		        if (notice_pop == null) { alert("Å¾³×ºñ¿¡¼­ ±ä±Þ°øÁö ÆË¾÷ÀÌ ÀÖ½À´Ï´Ù.\nÆË¾÷ Â÷´ÜÀ» Çã¿ëÇØ ÁÖ¼¼¿ä"); }
				break;
		 case 3 :  
			    notice_pop = window.open(html, 'pop3', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no, copyhistory=no, width=433, height=420,top=0,left=0'); 
		        if (notice_pop == null) { alert("Å¾³×ºñ¿¡¼­ ±ä±Þ°øÁö ÆË¾÷ÀÌ ÀÖ½À´Ï´Ù.\nÆË¾÷ Â÷´ÜÀ» Çã¿ëÇØ ÁÖ¼¼¿ä"); }
				break;
		 case 4 :  
			    notice_pop = window.open(html, '', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no, copyhistory=no, width=371, height=482,top=0,left=434'); 
		        if (notice_pop == null) { alert("Å¾³×ºñ¿¡¼­ ±ä±Þ°øÁö ÆË¾÷ÀÌ ÀÖ½À´Ï´Ù.\nÆË¾÷ Â÷´ÜÀ» Çã¿ëÇØ ÁÖ¼¼¿ä"); }
				break;
		 case 5 :  
			    notice_pop = window.open(html, '', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no, copyhistory=no, width=433, height=382,top=0,left=434'); 
		        if (notice_pop == null) { alert("Å¾³×ºñ¿¡¼­ ±ä±Þ°øÁö ÆË¾÷ÀÌ ÀÖ½À´Ï´Ù.\nÆË¾÷ Â÷´ÜÀ» Çã¿ëÇØ ÁÖ¼¼¿ä"); }
				break;
		 case 6 :  
			    notice_pop = window.open(html, '', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no, copyhistory=no, width=433, height=399,top=0,left=100'); 
		        if (notice_pop == null) { alert("Å¾³×ºñ¿¡¼­ ±ä±Þ°øÁö ÆË¾÷ÀÌ ÀÖ½À´Ï´Ù.\nÆË¾÷ Â÷´ÜÀ» Çã¿ëÇØ ÁÖ¼¼¿ä"); }
				break;
		 case 7 :  
			    notice_pop = window.open(html, '', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no, copyhistory=no, width=450, height=520,top=0,left=150'); 
		        if (notice_pop == null) { alert("Å¾³×ºñ¿¡¼­ ±ä±Þ°øÁö ÆË¾÷ÀÌ ÀÖ½À´Ï´Ù.\nÆË¾÷ Â÷´ÜÀ» Çã¿ëÇØ ÁÖ¼¼¿ä"); }
				break;
		 case 8 :  
			    notice_pop = window.open(html, '', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes, resizable=no, copyhistory=no, width=443, height=600,top=0,left=0'); 
		        if (notice_pop == null) { alert("Å¾³×ºñ¿¡¼­ ±ä±Þ°øÁö ÆË¾÷ÀÌ ÀÖ½À´Ï´Ù.\nÆË¾÷ Â÷´ÜÀ» Çã¿ëÇØ ÁÖ¼¼¿ä"); }
				break;
		 case 9 :  
			    notice_pop = window.open(html, '', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes, resizable=no, copyhistory=no, width=455, height=600,top=0,left=300'); 
		        if (notice_pop == null) { alert("Å¾³×ºñ¿¡¼­ ±ä±Þ°øÁö ÆË¾÷ÀÌ ÀÖ½À´Ï´Ù.\nÆË¾÷ Â÷´ÜÀ» Çã¿ëÇØ ÁÖ¼¼¿ä"); }
				break;
		 case 10 :  
			    notice_pop = window.open(html, '', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no, copyhistory=no, width=380, height=400,top=0,left=150'); 
		        if (notice_pop == null) { alert("Å¾³×ºñ¿¡¼­ ±ä±Þ°øÁö ÆË¾÷ÀÌ ÀÖ½À´Ï´Ù.\nÆË¾÷ Â÷´ÜÀ» Çã¿ëÇØ ÁÖ¼¼¿ä"); }
				break;
		 case 11 :  
			    notice_pop = window.open(html, '', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no, copyhistory=no, width=369, height=542,top=0,left=0'); 
		        if (notice_pop == null) { alert("Å¾³×ºñ¿¡¼­ ±ä±Þ°øÁö ÆË¾÷ÀÌ ÀÖ½À´Ï´Ù.\nÆË¾÷ Â÷´ÜÀ» Çã¿ëÇØ ÁÖ¼¼¿ä"); }
				break;
		 case 12 :  
			    notice_pop = window.open(html, '', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no, copyhistory=no, width=369, height=475,top=0,left=360'); 
		        if (notice_pop == null) { alert("Å¾³×ºñ¿¡¼­ ±ä±Þ°øÁö ÆË¾÷ÀÌ ÀÖ½À´Ï´Ù.\nÆË¾÷ Â÷´ÜÀ» Çã¿ëÇØ ÁÖ¼¼¿ä"); }
				break;



	   }
	
	}
	else
	{ return false; }
}

//ÀåÂøÁ¡_as
function as(t){
    if (t == 1) { 
	document.all.as1.style.display = "block" ; 
    document.all.as2.style.display = "none" ; 
		
    }

    else if (t == 2) {   
	document.all.as1.style.display = "none" ; 
    document.all.as2.style.display = "block" ; 	
	
    }
}

//-->
