
//ÇÃ·¡½Ã¸¦ »ðÀÔÇÏ´Â ½ºÅ©¸³Æ®.
function flash(c,d,e) {
 var flash_tag = "";
 flash_tag = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
 flash_tag +='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ';
 flash_tag +='WIDTH="'+c+'" HEIGHT="'+d+'" >';
 flash_tag +='<param name="movie" value="'+e+'">';
 flash_tag +='<param name="quality" value="high">';
 flash_tag +='<param name="wmode" value="transparent">';
 flash_tag +='<embed src="'+e+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
 flash_tag +='type="application/x-shockwave-flash"  WIDTH="'+c+'" HEIGHT="'+d+'"></embed></object>'

 document.write(flash_tag);

}


//png¸¦ Åõ¸íÇÏ°Ô ÇÏ´Â ½ºÅ©¸³Æ®
function setPng24(obj) { 
  obj.width=obj.height=1; 
  obj.className=obj.className.replace(/\bpng24\b/i,''); 
  obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');" 
  obj.src='';  
  return ''; 
}






function playflash(file,width,height,bgcolor,quality,name){
        document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+width+'" height="'+height+'" id="'+name+'">');  
        document.write('<param name="movie" value="'+file+'" />');
        document.write('<param name="quality" value="'+quality+'" />');
        document.write('<param name="wmode" value="transparent" />'); 
        document.write('<param name="bgcolor" value="'+bgcolor+'" />');
        document.write('<embed src="'+file+'" quality="'+quality+'" wmode="transparent" bgcolor="'+bgcolor+'" width="'+width+'" height="'+height+'" name="'+name+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
        document.write('</object>')

}
function bluring(){ 
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
} 
document.onfocusin=bluring; 



function menu1(menu_bar){

	if(menu_bar==1){
		location.href="../product/info.php";
	}
	if(menu_bar==2){
		location.href="../product/history.php";
	}
	if(menu_bar==3){
		location.href="../product/use.php";
	}
	if(menu_bar==4){
		location.href="../product/efficacy.php";
	}
	if(menu_bar==5){
		location.href="../product/technology.php";
	}
	if(menu_bar==6){
		location.href="../product/how.php";
	}
	if(menu_bar==7){
		location.href="../product/permission.php";
	}
}

function menu2(menu_bar){

	if(menu_bar==1){
		location.href="../fda/overview.php";
	}	
	if(menu_bar==2){
		location.href="../fda/clearance.php";
	}	
	if(menu_bar==3){
		location.href="../fda/abstract.php";
	}	
}

function menu3(menu_bar){

	if(menu_bar==1){
		location.href="../press/international.php";
	}
	if(menu_bar==2){
		location.href="../press/domestic.php";
	}
}

function menu4(menu_bar){

	if(menu_bar==1){
		location.href="../llc/llc.php";
	}
	if(menu_bar==2){
		location.href="../llc/process.php";
	}
	if(menu_bar==3){
		location.href="../llc/country.php";
	}
}

function menu5(menu_bar){

	if(menu_bar==1){
		location.href="../board/list.php?id=notice";
	}
	if(menu_bar==2){
		location.href="../board/list.php?id=news_event";
	}	
	if(menu_bar==3){
		location.href="../board/faq.php";
	}		
	if(menu_bar==4){
		location.href="../board/list.php?id=qna";
	}	
	if(menu_bar==5){
		location.href="../board/list.php?id=class";
	}	
}





function menu6(menu_bar){

	if(menu_bar==1){
		location.href="../buy/show.php";
	}	
	if(menu_bar==2){
		location.href="../goods/view.php?goodsno=1";
	}
	if(menu_bar==3){		
		location.href="../member/myinfo.php";
	}
	if(menu_bar==4){
		location.href="../buy/terms.php";
	}
	if(menu_bar==5){
		location.href="../buy/privacy.php";
	}
	if(menu_bar==6){
		location.href="../buy/info.php";
	}
	if(menu_bar==7){
		location.href="../member/myinfo.php";
	}
	if(menu_bar==8){
		location.href="../mypage/orderlist.php";
	}
}	


function menu7(menu_bar){

	if(menu_bar==1){		
		location.href="../member/register.php";
	}
	if(menu_bar==2){
		location.href="../member/login.php";
	}	
	if(menu_bar==3){
		location.href="../sitemap/find.php";
	}
	if(menu_bar==4){
		location.href="../member/myinfo.php";
	}	
	if(menu_bar==5){
		location.href="../member/logout.php";
	}	
	if(menu_bar==6){
		location.href="../member/findid.php";
	}
}

function menu8(menu_bar){   // 
	if(menu_bar==1){
		location.href="../sitemap/sitemap.php";
	}
}

function menu9(menu_bar){

	if(menu_bar==1){
		location.href="../index.php";
	}
}


function menu10(menu_bar){

	if(menu_bar==1){
		location.href="../sitemap/privacy.php";
	}
}

