//flash
function flash_contents(file,width,height){
document.writeln("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' WIDTH='"+width+"' HEIGHT='"+height+"' id='contents' ALIGN=''>");
document.writeln("<PARAM NAME=movie value='"+file+"' />");
document.writeln("<PARAM NAME=quality VALUE=high>");
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>");
document.writeln("<PARAM NAME=wmode VALUE=transparent> ");
document.writeln("<PARAM NAME=menu VALUE=false> ");
document.writeln("<embed src='"+file+"' quality='high' bgcolor='#FFFFFF' width='"+width+"' height='"+height+"' name='contents' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</OBJECT>");
}

  


function gohome() { 
	self.location.href="/main.html";
}

function sitemap() { 
	self.location.href="/sitemap.html";
}

function mail() { 
	self.location.href="mailto:";
}

function menu(tm,sm) { 

//--------------------------------------------------------[È¸»ç¼Ò°³]

	if(tm == "1") {
		if(sm == "1")
			location.href = "../../company.html";   // ÀÎ»ç¸»
		else if(sm == "2")
			location.href = "../../history.html";    //È¸»ç¿¬Çõ
		else if(sm == "3")
			location.href = "../../organization_chart.html";    //Á¶Á÷µµ
		else if(sm == "4")
			location.href = "/html/sub_01_04.html";    //Ã£¾Æ¿À½Ã´Â±æ
		else 
			location.href = "#";

	}

//--------------------------------------------------------[Á¦Ç°¼Ò°³]

	else if(tm == "2") {
		if(sm == "1")
			location.href = "/product/wide_lcd.html";   //wide lcd
		else if(sm == "2")
			location.href = "/product/lcdtv.html";    //lcd tv
		else if(sm == "3")
			location.href = "/product/lcd.html";    //lcd
		else if(sm == "4")
			location.href = "/product/crt.html";    //crt
		else if(sm == "5")
			location.href = "/product/special.html";    //Æ¯¼ö
		else 
			location.href = "#";

	}

//--------------------------------------------------------[ÀÚ·á½Ç]

	else if(tm == "3") {
		if(sm == "1")
			location.href = "/board/board.php?bid=4";     //µå¶óÀÌºê´Ù¿î·Îµå
		else if(sm == "2") 
			location.href = "/board/board.php?bid=4";    //
		else 
			location.href = "#";
	}

//--------------------------------------------------------[Àü±¹a/sÁ¢¼ö]

	else if(tm == "4") {
		if(sm == "1")
			location.href = "/ascenter.html";   //°í°´¸¸Á·¼¾ÅÍ
		else if(sm == "2")
			location.href = "/ascenter.html";   //asÁ¢¼ö½ÅÃ»
		else if(sm == "3")
			location.href = "/ascenter.html#3";   //asÁ¢¼ö½ÅÃ»
		else if(sm == "4")
			location.href = "/ascenter.html#4";   //asÁ¢¼ö½ÅÃ»
		else if(sm == "5")
			location.href = "/ascenter.html#5";   //asÁ¢¼ö½ÅÃ»
		else 
			location.href = "#";

	}

 //--------------------------------------------------------[Ä¿¹Â´ÏÆ¼]
	else if(tm == "5") {
		if(sm == "1")
			location.href = "/board/board.php?bid=1";     //°øÁö»çÇ×
		else if(sm == "2")
			location.href = "/board/board.php?bid=2";     //Áú¹®´äº¯
		else if(sm == "3")
			location.href = "/board/board.php?bid=3";     //ÀÚÁÖ¹¯´ÂÁú¹®
		else if(sm == "4")
			location.href = "/board/board.php?bid=9";     //´º½º¸®ºä
		else if(sm == "5")
			location.href = "/board/board.php?bid=8";     //ÀÌº¥Æ®°Ô½ÃÆÇ
		else 
			location.href = "#";

	}

//--------------------------------------------------------[¼îÇÎ¸ô]

	else if(tm == "6") {
		if(sm == "1")
		location.href = "/";  	//: /mall/
		//window.open("/mall/","","toolbar=1, location=1, menubar=1, resizable=1, scrollbars=1, status=1, width=1024, height=768,top=0,left=0");    //¾¾Áö¿¥
		else if(sm == "2") 
			location.href = "#";    //
		else 
			location.href = "#";
	}
}



