// =================================================
// flash ActiveX
// =================================================
function flash(strFile, width, height, wmode) {
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0' width='" + width + "' height='" + height + "'>");
	document.write("<param name='allowScriptAccess' value='sameDomain'>");
	document.write("<param name='movie' value='" + strFile + "'>");
	document.write("<param name='quality' value='high'>");
	document.write("<param name='menu' value='false'>");
	document.write("<param name='scale' value='nosclae'>");
	document.write("<param name='wmode' value='" + wmode + "'>");	
	document.write("<embed src='" + strFile + "' quality='high'  width='" + width + "' height='" + height + "' allowScriptAccess='sameDomain' quality='high' menu='false' scale='nosclae' wmode='" + wmode + "' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>");
	document.write("</object>");
}
function flashCM(obcode){
    document.write(obcode);
}


// ================================================= 
// Mouse rollover
// =================================================

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

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_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; ia.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

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&&id.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

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
// =================================================
function open_layer(id) {
	id.style.visibility="visible";
}
function close_layer(id) {
	id.style.visibility="hidden"; 
}


// ================================================= 
// Window open
// =================================================
function   OpenWindow(Filename, Title, Width, Height)
{
        var property = 'toolbar=no,status=no,width='+Width+',height='+Height+',directories=no,scrollbars=no,location=no,resizable=no,menubar=no' ;
        win = window.open(Filename, Title, property );
}




// ================================================= 
// faq
// =================================================

              function showBox(i,seq)
              {
                if(document.getElementById("answer"+i).style.display == "none")
                {
                  document.getElementById("answer"+i).style.display = "block";
                }
                else
                {
                  document.getElementById("answer"+i).style.display = "none";
                }
              }






// ¸Þ´ºÀÌµ¿
function goMenu(val){

	if (val == "A")	// 
		document.location.href="/renewal/gvtour/gvtour_01.asp";
	else if (val == "A01")
		document.location.href="/renewal/gvtour/gvtour_01.asp";
	else if (val == "A02")
		document.location.href="/renewal/gvtour/gvtour_02.asp";
	else if (val == "A03")
		document.location.href="/renewal/gvtour/gvtour_03.asp";
	else if (val == "A04")
		document.location.href="/renewal/gvtour/gvtour_04.asp";
		

	else if (val == "B")		//
		document.location.href="/renewal/product/product_01.asp?category=Ç®¼ÂÆ®";
	else if (val == "B01")
		document.location.href="/renewal/product/product_01.asp?category=Ç®¼ÂÆ®";
	else if (val == "B02")
		document.location.href="/renewal/product/product_02.asp?category=µå¶óÀÌ¹ö";
	else if (val == "B03")
		document.location.href="/renewal/product/product_03.asp?category=¿ìµå";
	else if (val == "B04")
		document.location.href="/renewal/product/product_04.asp?category=À¯Æ¿¸®Æ¼";
	else if (val == "B05")
		document.location.href="/renewal/product/product_05.asp?category=¾ÆÀÌ¾ð";
	else if (val == "B06")
		document.location.href="/renewal/product/product_06.asp?category=¿þÁö";
	else if (val == "B07")
		document.location.href="/renewal/product/product_07.asp?category=ÆÛÅÍ";
	else if (val == "B08")
		document.location.href="/renewal/product/product_08.asp?category=°¡¹æ";
	else if (val == "B09")
		document.location.href="/renewal/product/product_09.asp?category=¾Ç¼¼»ç¸®";									
	

	else if (val == "C")		//
		document.location.href="/renewal/fitting/fitting_01.asp";
	else if (val == "C01")
		document.location.href="/renewal/fitting/fitting_01.asp";
	else if (val == "C02")
		document.location.href="/renewal/fitting/fitting_02.asp";
	else if (val == "C03")
		document.location.href="/renewal/fitting/fitting_03.asp";
	else if (val == "C04")
		document.location.href="/renewal/fitting/fitting_04.asp";
	else if (val == "C05")
		document.location.href="/renewal/fitting/fitting_05.asp";
	
		
	else if (val == "D")		// 
		document.location.href="/renewal/pr/pr_01.asp";
	else if (val == "D01")
		document.location.href="/renewal/pr/pr_01.asp";
	else if (val == "D02")
		document.location.href="/renewal/pr/pr_02.asp";


	
	
	else if (val == "E")		// 
		document.location.href="/renewal/custom/custom_01.asp";
	else if (val == "E01")
		document.location.href="/renewal/custom/custom_01.asp";
	else if (val == "E02")
		document.location.href="/renewal/custom/custom_02.asp";
	else if (val == "E03")
		document.location.href="/renewal/custom/custom_03.asp";
	else if (val == "E04")
		document.location.href="/renewal/custom/custom_04.asp";
	else if (val == "E05")
		document.location.href="/renewal/custom/custom_05.asp";						
		
		

	else if (val == "F")		// 
		document.location.href="";
		
		


}
//-->

