//javascript:NaviLink('10');
root = "";
Link00 ="main.html";//HOME
	Link01 = "about.html";					//About PKC
	Link02 = "why.html";	//Why Laminating?
	Link03 = "pro.html";				//products
	Link04 = "proline.html";	//Production Line
	Link05 = "support.html";	//Support
	Link06 = "contact.html";	//Contact Us
	Link07 = "qa.html";				//Q&A

//*************//
Link20 = "";	//
	Link21 = "http://www.pkcco.com";	//English
	Link22 = "http://pkcco.koreasme.com/jp";	//Japanese

function NaviLink(name, win) {
	//alert(win);
	menuName= eval("Link"+name);	
	if (name == "") {
	/*}else if(name =="62"){
		//alert("ÁØºñÁßÀÔ´Ï´Ù.");
		window.open("/jsp/tour/temp_service.jsp","","width=400,height=400") ;
	//}else if(name =="15"){
		window.open(menuName,"","width=800,height=551") ;
	}else if(name =="23"){		
		window.open(menuName,"","width=800,height=600") ;*/
	}else {
		if (win == null) {
			document.location.href = root+menuName;
		/*}  else if (win == "parent") {
			parent.location.href= menuName;
			//document.location.href = menuName;*/
		}  else {
			window.open(root+menuName, win);			
		}
	}
}


//¹öÆ°Å×µÎ¸® ¾ø¾Ö±â
function bluring(){ 
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
} 
//document.onfocusin=bluring; 

//centerÁ¤·Ä ÆË¾÷
function cwin(w,h,idx,url) {
 if (screen.width < 1025){
  LeftPosition=0;
  TopPosition=0;
 } else {
  LeftPosition=(screen.width)?(screen.width-w)/2:100;
  TopPosition=(screen.height)?(screen.height-h)/2:100;
 }
 window.open(url, idx, "width="+w+",height="+h+",top="+TopPosition+",left="+LeftPosition+", scrollbars=no");
}

//·¹ÀÌ¾î
function hiddn_layer(layer_name){
if (layer_name == '') return;
eval(layer_name+".style.display='none'")
}

function show_layer(layer_name){
if (layer_name == '') return;
eval(layer_name+".style.display='block'")
}

//
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);
