/* * * * * * * * * ** * * * * * * * * * * * * * * * * *
  staron europe JAVA SCRIPT
* * * * * * * * * * * * * * * * * * * * * * * * * * * */

// Flash code
function embed(myWidth,myHight,myFile) {
document.write('<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="'+myWidth+'" height="'+myHight+'">');
document.write('<param name="movie" value="'+myFile+'">');
document.write('<param name="wmode" value="transparent">');

//document.write('<param name="quality" value="high">');
document.write('<param name="menu" value="false">');
document.write('<embed src="'+myFile+'" width="'+myWidth+'" height="'+myHight+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" menu="false"></embed></object>');}


// Flash Bug Patch
function iePatchIt(flashID) {
	document.write(flashID.innerHTML);flashID.id="";
}

function WriteEmbed(emb_id){ 
    document.write(document.getElementById(emb_id).value);
}

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=6,0,29,0" ';
 flash_tag +='WIDTH="'+c+'" HEIGHT="'+d+'" >';
 flash_tag +='<param name="movie" value="'+e+'">';
 flash_tag +='<param name="quality" value="high">';
 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);
}





// about 메뉴 오버하면 하위메뉴 나오기
	function twoDepthOver ( id )
	{
	
	
		bt("sub_menu_A01","/en/images/leftmenu/leftmenu_aboutus_intro.gif")
	  bt("sub_menu_A02","/en/images/leftmenu/leftmenu_about_staron_sub01.gif")
		bt("sub_menu_A03","/en/images/leftmenu/leftmenu_about_staron_sub01.gif")
		bt("sub_menu_A04","/en/images/leftmenu/leftmenu_aboutus_staronvision.gif")
		bt("sub_menu_A05","/en/images/leftmenu/leftmenu_about_vision_sub01.gif")
		bt("sub_menu_A06","/en/images/leftmenu/leftmenu_about_vision_sub02.gif")
		bt("sub_menu_A07","/en/images/leftmenu/leftmenu_aboutus_distributors.gif")
		bt("sub_menu_A08","/en/images/leftmenu/leftmenu_about_distributors_sub01.gif")
		bt("sub_menu_A09","/en/images/leftmenu/leftmenu_about_distributors_sub02.gif")
		bt("sub_menu_A10","/en/images/leftmenu/leftmenu_aboutus_warehouse.gif")
		bt("sub_menu_A11","/en/images/leftmenu/leftmenu_about_warehouse_sub01.gif")
		bt("sub_menu_A12","/en/images/leftmenu/leftmenu_about_warehouse_sub02.gif")
		
		
		if ( id == "sub_menu_A01" )
		{
		bt ( "sub_menu_A01","/en/images/leftmenu/leftmenu_aboutus_intro_o.gif" );
		
		}
		if ( id == "sub_menu_A02" )
		{
		bt ( "sub_menu_A02","/en/images/leftmenu/leftmenu_about_staron_sub01_o.gif" );
		}
		if ( id == "sub_menu_A03" )
		{
		bt ( "sub_menu_A03","/en/images/leftmenu/leftmenu_about_staron_sub01_o.gif" );
		}
		if ( id == "sub_menu_A04" )
		{
		bt ( "sub_menu_A04","/en/images/leftmenu/leftmenu_aboutus_staronvision_o.gif" );
		}
		if ( id == "sub_menu_A05" )
		{
		bt ( "sub_menu_A05","/en/images/leftmenu/leftmenu_about_vision_sub01_o.gif" );
		}
		if ( id == "sub_menu_A06" )
		{
		bt ( "sub_menu_A06","/en/images/leftmenu/leftmenu_about_vision_sub02_o.gif" );
		}
			if ( id == "sub_menu_A07" )
		{
		bt ( "sub_menu_A07","/en/images/leftmenu/leftmenu_aboutus_distributors_o.gif" );
		}
		
		if ( id == "sub_menu_A08" )
		{
		bt ( "sub_menu_A08","/en/images/leftmenu/leftmenu_about_distributors_sub01_o.gif" );
		 threeDepthView ( "westeurope" );
		}
		if ( id == "sub_menu_A09" )
		{
		  bt ( "sub_menu_A09","/en/images/leftmenu/leftmenu_about_distributors_sub02_o.gif" );
			threeDepthView ( "easteurope" );
		}
		if ( id == "sub_menu_A10" )
		{
		  bt ( "sub_menu_A10","/en/images/leftmenu/leftmenu_aboutus_warehouse_o.gif" );
		}
		if ( id == "sub_menu_A11" )
		{
		  bt ( "sub_menu_A11","/en/images/leftmenu/leftmenu_about_warehouse_sub01_o.gif" );
		}
		if ( id == "sub_menu_A12" )
		{
		  bt ( "sub_menu_A12","/en/images/leftmenu/leftmenu_about_warehouse_sub02_o.gif" );
		}
	
	}
	
	function threeDepthView ( id )			// 마우스 오버시 3Depth 나타냄
	{
		document.getElementById("westeurope").style.display	= "none";
		document.getElementById("easteurope").style.display		= "none";


		if ( id == "westeurope" )	document.getElementById("westeurope").style.display= "block";
		if ( id == "easteurope" )			document.getElementById("easteurope").style.display		= "block";
	}



//팝업띄우기

<!--

function pop( name , image) {
	window.open("/common/pop.jsp?name="+name+"&image="+image,"winName1","left=100,top=100,width=253,height=280,scrollbars=no,resizable=no")
}
function pop_2( name , image) {
	window.open("/common/pop_2.jsp?name="+name+"&image="+image,"winName2","left=100,top=100,width=326,height=384,scrollbars=no,resizable=no")
}
function pop_jpg( name , image) {
	window.open("/common/pop_jpg.jsp?name="+name+"&image="+image,"winName3","left=100,top=100,width=253,height=270,scrollbars=no,resizable=no")
}
function pop_asia( name , image) {
	window.open("/common/pop_asia.jsp?name="+name+"&image="+image,"winName3","left=100,top=100,width=253,height=270,scrollbars=no,resizable=no")
}
function pop_press( name , image) {
	window.open("/common/pop_press.jsp?name="+name+"&image="+image,"winName3","left=100,top=100,width=253,height=290,scrollbars=no,resizable=no")
}
function pop_us( name , image) {
	window.open("/common/pop_us.jsp?name="+name+"&image="+image,"winName3","left=100,top=100,width=253,height=290,scrollbars=no,resizable=no")
}
function pop_china( name , image) {
	window.open("/common/pop_china.jsp?name="+name+"&image="+image,"winName3","left=100,top=100,width=253,height=290,scrollbars=no,resizable=no")
}
function pop_kor( name , image) {
	window.open("/common/pop_kor.jsp?name="+name+"&image="+image,"winName3","left=100,top=100,width=253,height=290,scrollbars=no,resizable=no")
}
function pop_mideast( name , image) {
	window.open("/common/pop_mideast.jsp?name="+name+"&image="+image,"winName3","left=100,top=100,width=253,height=290,scrollbars=no,resizable=no")
}
//-->

