function faq_ans(num){
	max=document.getElementById("faq").getElementsByTagName("a").length;

	for(i=1;i<=max;i++){
		document.getElementById("ans"+i).style.display = "none";
		document.getElementById("ques"+i).style.color = "#666666";
		document.getElementById("ques"+i).style.fontWeight = "normal";
	}
	document.getElementById("ans"+num).style.display = "block";
	document.getElementById("ques"+num).style.color = "#00788a";
	document.getElementById("ques"+num).style.fontWeight = "bold";
}

function lay_open()	{	
	document.getElementById("lay_hangtag").style.display = "block";
}
function lay_close()	{	
	document.getElementById("lay_hangtag").style.display = "none";
}

function lay_search_open()	{
	for(i=1;i<=4;i++) {
		if(i==1) {
			document.getElementById("sTab_"+i).src = "/images/text/stab_search0"+i+"_on.gif";
		} else {
			document.getElementById("sTab_"+i).src = "/images/text/stab_search0"+i+"_off.gif";
		}
	}
	document.getElementById("all_popup").style.display = "block";
	$(".popupLayer").css("height",$(document).height() + "px");
	$(".popupLayer > .back").css("height",$(document).height() + "px");
	getSearch(1);
}
function lay_search_close()	{	
	document.getElementById("all_popup").style.display = "none";
}

function idxFlash(pSwfUrl,xmlPath,itemXmlPath,fontPath,swfPath,introSkip, mainPath){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='Gnb' width='100%' height='100%' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<param name='FlashVars' value='xmlPath="+ xmlPath+"&introSkip="+introSkip+"&itemXmlPath="+itemXmlPath+"&fontPath="+fontPath+"&swfPath="+swfPath+"&mainPath="+mainPath+"' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='xmlPath="+ xmlPath+"&introSkip="+introSkip+"&itemXmlPath="+itemXmlPath+"&fontPath="+fontPath+"&swfPath="+swfPath+"&mainPath="+mainPath+"' quality='high' wmode='transparent' width='100%' height='100%' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>"); 
} 

function ecoFlash(pSwfUrl,wd,hg){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];
	 
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='player' width='"+wd+"' height='"+hg+"' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='FlashVars' value='swfPath=/flash/eco-fiber/ecofriendly_intro.swf&xmlPath=/flash/eco-fiber/xml/ecoDataXml.xml' />");
	document.write("<param name='play' value='true' />");
	document.write("<param name='loop' value='true' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='swfPath=/flash/eco-fiber/ecofriendly_intro.swf&xmlPath=/flash/eco-fiber/xml/ecoDataXml.xml' name='player' quality='high' play='true' loop='true' wmode='transparent' width='"+wd+"' height='"+hg+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");  
}
function ecognbFlash(pSwfUrl,xmlPath,selectedMenu){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='Gnb' width='240px' height='640px' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<param name='FlashVars' value='xmlPath="+ xmlPath+"&selectedMenu="+selectedMenu+"' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='xmlPath="+ xmlPath+"&selectedMenu="+selectedMenu+"' quality='high' wmode='transparent' width='240px' height='640px' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>"); 
} 

function supergnbFlash(pSwfUrl,xmlPath,selectedMenu){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='Gnb' width='430px' height='640px' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<param name='FlashVars' value='xmlPath="+ xmlPath+"&selectedMenu="+selectedMenu+"' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='xmlPath="+ xmlPath+"&selectedMenu="+selectedMenu+"' quality='high' wmode='transparent' width='430px' height='640px' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>"); 
} 
function superFlash(pSwfUrl,wd,hg){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];
	 
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='player' width='"+wd+"' height='"+hg+"' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='FlashVars' value='xmlPath=/flash/super-fiber/xml/dataXml.xml' />");
	document.write("<param name='play' value='true' />");
	document.write("<param name='loop' value='true' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='xmlPath=/flash/super-fiber/xml/dataXml.xml' name='player' quality='high' play='true' loop='true' wmode='transparent' width='"+wd+"' height='"+hg+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");  
}

function gnbFlash(pSwfUrl,xmlPath,fontPath,selectedMenu){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='Gnb' width='100%' height='280px' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='bgcolor' value='#ffffff' />");
	document.write("<param name='FlashVars' value='xmlPath="+ xmlPath+"&fontPath="+fontPath+"&selectedMenu="+selectedMenu+"' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='xmlPath="+ xmlPath+"&fontPath="+fontPath+"&selectedMenu="+selectedMenu+"' quality='high' wmode='transparent' width='100%' height='280px' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>"); 
} 

function lnbFlash(pSwfUrl,xmlPath,fontPath,selectedMenu){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='"+flashID+"' width='160px' height='300px' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='FlashVars' value='xmlPath="+ xmlPath+"&fontPath="+fontPath+"&selectedMenu="+selectedMenu+"' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='xmlPath="+ xmlPath+"&fontPath="+fontPath+"&selectedMenu="+selectedMenu+"' quality='high' wmode='transparent' width='160px' height='300px' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>"); 
} 

function ContFlash(pSwfUrl, wd, hg){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='"+flashID+"' width='"+wd+"' height='"+hg+"' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' quality='high' wmode='transparent' width='"+wd+"' height='"+hg+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>"); 
}

function HistoryFlash(pSwfUrl,xmlPath){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='"+flashID+"' width='920px' height='640px' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='FlashVars' value='xmlPath="+ xmlPath+"' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='xmlPath="+ xmlPath+"' quality='high' wmode='transparent' width='920px' height='640px' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>"); 
} 

function EbookFlash(pSwfUrl,xmlPath){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='"+flashID+"' width='920px' height='669px' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='FlashVars' value='xmlPath="+ xmlPath+"' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='xmlPath="+ xmlPath+"' quality='high' wmode='transparent' width='920px' height='669px' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>"); 
} 

function playerFlash(pSwfUrl, wd, hg, fv){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='playerF' name='playerF' width='"+wd+"' height='"+hg+"' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='play' value='true' />");
	document.write("<param name='loop' value='true' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<param name='FlashVars' value='videoPath=" + fv + "' />");
	document.write("<embed src='"+pSwfUrl+"' quality='high' play='true' loop='true' wmode='transparent' id='playerF' name='playerF' width='"+wd+"' height='"+hg+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");  
}

function videoFlash(pSwfUrl,videoPath,wd,hg){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];
	 
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='player' width='"+wd+"' height='"+hg+"' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='FlashVars' value='videoPath="+videoPath+"' />");
	document.write("<param name='play' value='true' />");
	document.write("<param name='loop' value='true' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='videoPath="+ videoPath+"' name='player' quality='high' play='true' loop='true' wmode='transparent' width='"+wd+"' height='"+hg+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");  
}
function PeopleFlash(pSwfUrl,xmlPath){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='"+flashID+"' width='760px' height='600px' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='FlashVars' value='xmlPath="+ xmlPath+"' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='xmlPath="+ xmlPath+"' quality='high' wmode='transparent' width='760px' height='600px' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>"); 
} 

function PeopleMNFlash(pSwfUrl,xmlPath,selectedMenu){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='Gnb' width='380px' height='95px' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<param name='FlashVars' value='xmlPath="+ xmlPath+"&selectedMenu="+selectedMenu+"' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='xmlPath="+ xmlPath+"&selectedMenu="+selectedMenu+"' quality='high' wmode='transparent' width='380px' height='95px' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>"); 
} 

function cybertourFlash(pSwfUrl,wd,hg){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];
	 
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='VirtualTour_cs5' width='"+wd+"' height='"+hg+"' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='FlashVars' value='fontPath=/flash/cybertour/Font.swf&imgPath=/flash/cybertour/imgs/' />");
	document.write("<param name='play' value='true' />");
	document.write("<param name='loop' value='true' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='fontPath=/flash/cybertour/Font.swf&imgPath=/flash/cybertour/imgs/' name='VirtualTour_cs5' quality='high' play='true' loop='true' wmode='transparent' width='"+wd+"' height='"+hg+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");  
}

function labFieldFlash(pSwfUrl,imgPath){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='"+flashID+"' width='760px' height='370px' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='FlashVars' value='imgPath="+ imgPath+"' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' FlashVars='imgPath="+ imgPath+"' quality='high' wmode='transparent' width='760px' height='370px' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>"); 
}

function LifeFlash(pSwfUrl,xmlPath,fontPath,swfPath){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='Gnb' width='100%' height='768px' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='wmode' value='window' />");
	document.write("<param name='FlashVars' value='xmlPath="+ xmlPath+"&fontPath="+fontPath+"&swfPath="+swfPath+"' />"); 
	document.write("<embed src='"+pSwfUrl+"' FlashVars='xmlPath="+ xmlPath+"&fontPath="+fontPath+"&swfPath="+swfPath+"' quality='high' wmode='window' width='100%' height='768px' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>"); 
} 

function setPlayer1(){
	var flash_obj = document.getElementsByName("player");
	flash_obj[0].initVideo("/flash/product/p2_poly.flv");
	document.getElementById("thumb1").className = "thumb_on"; 
	document.getElementById("thumb2").className = "thumb_img"; 
	document.getElementById("thumb3").className = "thumb_img"; 
	//resetPlayer();
	
}
function setPlayer2(){
	var flash_obj = document.getElementsByName("player");
	flash_obj[0].initVideo("/flash/product/p3_SF.flv");
	document.getElementById("thumb1").className = "thumb_img"; 
	document.getElementById("thumb2").className = "thumb_on"; 
	document.getElementById("thumb3").className = "thumb_img"; 
	//resetPlayer();
}
function setPlayer3(){
	var flash_obj = document.getElementsByName("player");
	flash_obj[0].initVideo("/flash/product/p1_FY.flv");
	document.getElementById("thumb1").className = "thumb_img"; 
	document.getElementById("thumb2").className = "thumb_img"; 
	document.getElementById("thumb3").className = "thumb_on"; 
	//resetPlayer();
}

function resetPlayer(){
	var flash_obj = document.getElementsByName("player");
	flash_obj[0].initVideo("/flash/product/p1_FY.flv");
}

function quickFlash(pSwfUrl){	
	var pathArr = pSwfUrl.split("/");
	var flashID = pathArr[pathArr.length-1].split(".")[0];

	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' id='"+flashID+"' width='160px' height='189px' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+pSwfUrl+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='"+pSwfUrl+"' quality='high' wmode='transparent' width='160px' height='189px' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>"); 
}

function gnbOn(){
	document.getElementById("gnb_area").style.position = "relative";
	document.getElementById("gnb_area").style.zIndex = "50";
	document.getElementById("wrap").style.position = "relative";
	document.getElementById("wrap").style.zIndex = "10";
	document.getElementById("lnb_area").style.position = "relative";
	document.getElementById("lnb_area").style.zIndex = "10";
}

function gnbOff(){
	document.getElementById("wrap").style.position = "relative";
	document.getElementById("wrap").style.zIndex = "50";
	document.getElementById("lnb_area").style.position = "relative";
	document.getElementById("lnb_area").style.zIndex = "50";
	document.getElementById("gnb_area").style.position = "relative";
	document.getElementById("gnb_area").style.zIndex = "10";
}

function dtxtview(num){
	max=document.getElementById("tab").getElementsByTagName("a").length;

	for(i=1;i<=max;i++){
		document.getElementById("dtabv"+i).style.display = "none";
	}
	document.getElementById("dtabv"+num).style.display = "block";
}

function duty_co(num){
	max=document.getElementById("duty").getElementsByTagName("a").length;

	for(i=1;i<=max;i++){
		document.getElementById("duty_cot"+i).style.display = "none";		
	    document.getElementById("duty_tit"+i).src = document.getElementById("duty_tit"+i).src.replace("_on.gif", "_off.gif");
	    document.getElementById("p_img"+i).src = document.getElementById("p_img"+i).src.replace("/images/icon/arrow_up_on.gif","/images/icon/arrow_dw_off.gif");
	}
	document.getElementById("duty_cot"+num).style.display = "block";
	
    document.getElementById("duty_tit"+num).src = document.getElementById("duty_tit"+num).src.replace("_off.gif", "_on.gif");
    document.getElementById("p_img"+num).src = document.getElementById("p_img"+num).src.replace("/images/icon/arrow_dw_off.gif","/images/icon/arrow_up_on.gif");
}

// rollover Img
var selectedOverImg = '';
function imgOn(param) {
	var obj;
	if (typeof param == "string" ){
		obj = document.getElementById(param);
	} else {
		obj = param;
	}
	if(obj.src.search(/\_over/gi) >= 0)selectedOverImg = obj.src;
	obj.src = obj.src.replace("_off.gif", "_on.gif");
}
function imgOff(param) {
	var obj;
	if (typeof param == "string" ){
		obj = document.getElementById(param);
	} else {
		obj = param;
	}
	if(obj.src != selectedOverImg)obj.src = obj.src.replace("_on.gif", "_off.gif")
}

// »çÁøÀ¸·Îº¸´Â 11³â»ç
function viewHistory(){
	window.open("/company/pop_history.asp","h11","width=920,height=640");
}

// ºê·£µå ½ºÅä¸®
function viewBrandStory(){
	window.open("/prcenter/brand_story.asp","bs","width=917,height=670");
}

// °øÀå °¡»óÅõ¾î
function viewVirtualTour(){
	window.open("/cybertour/index.asp","ct","width=920,height=640");
}

// Ä£È¯°æ ÈÞºñ½º
function viewEco(){
	window.open("http://www.huvis.com/eco-fiber/index.asp","ec","width=920,height=640");
}

// ½´ÆÛ ¼¶À¯
function viewSuper(){
	window.open("http://www.huvis.com/super-fiber/index.asp","su","width=920,height=640");
}
function pageMove() {
	window.location.href = "/super-fiber/index.asp";
}

// °³ÀÎÁ¤º¸ Ãë±Þ¹æÄ§
function privacy(){
	window.open('http://www.huvis.com/customer/privacy.asp','cpr','width=500,height=635');
}

// »ýÈ°¼ÓÀÇ ÈÞºñ½º
function huvisInLife(){
	window.open('/prcenter/life_huvis.asp','lh','width=1155px,height=780px,scrollbars=yes,resizable=yes');
}

// Äü¸Þ´º
function viewQuick_1() {
	viewEco();
}
function viewQuick_2() {
	viewSuper();
}


/* ±¸ ¿µ¹®»çÀÌÆ®¸¦ À§ÇÑ ÇÔ¼ö */
/***************************
* Flash_VarCode_InPage
****************************/
var depth1 = "";
var depth2 = "";
var depth3 = "";

function setDepthVar(firvar, secvar, thrvar) {
	depth1 = firvar;
	depth2 = secvar;
	depth3 = thrvar;
}

function setDepth(dep1, dep2, dep3, login) {
	depth1 = dep1;
	depth2 = dep2;
	depth3 = dep3;
}
