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 ''; 
} 




/****************************************************
 ÇÃ·¡½Ã Ãâ·Â ÇÔ¼ö 
 ¾ÆÀÌµð, URL, Æø, ³ôÀÌ¸¸ ÀÔ·Â¹Þ¾Æ¼­ Ãâ·Â
*****************************************************/
function FlashCommon( id, ObjUri, vWidth, vHeight ) {

	var str = "";
	str  = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + vWidth + '" height="' + vHeight + ' id="' + id + '" align="middle">';
	str += '<param name="movie" value="' + ObjUri + '">';
	str += '<param name="quality" value="high">';
	str += '<param name="wmode" value="transparent">';
	str += '<param name="bgcolor" value="#ffffff">';
	str += '<embed src="' + ObjUri + '" quality="high" wmode="transparent" bgcolor="#ffffff" width="' + vWidth + '" height="' + vHeight + '" id="' + id + '" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
	str += '</object>';

	document.writeln(str);
}



/****************************************************
¸µÅ©½Ã ÀÌ¹ÌÁö Å×µÎ¸® »èÁ¦
*****************************************************/
 function bluring(){ 
  if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
 } 
 document.onfocusin=bluring; 





/****************************************************
¸Þ´º¸µÅ©
*****************************************************/

function menu(tm,sm) { 

//--------------------------------------------------------[ ÇÁ·ÎÁ§Æ®]

	if(tm == "1") {
		if(sm == "1")
			location.href = "/tt/site/ttboard.cgi?db=building";   
		else if(sm == "2")
			location.href = "/tt/site/ttboard.cgi?db=bridge";   
		else if(sm == "3")
			location.href = "/tt/site/ttboard.cgi?db=landscape";   

		else if(sm == "4")
			location.href = "/tt/site/ttboard.cgi?db=broadcasting";   
		else if(sm == "5")
			location.href = "/tt/site/ttboard.cgi?db=awards";   

		

	}



//--------------------------------------------------------[SANDING]

	else if(tm == "2") {

		if(sm == "1")
			location.href = "/tt/site/ttboard.cgi?db=products02";  
		else if(sm == "2")
			location.href = "/tt/site/ttboard.cgi?db=products01";  

	}


//--------------------------------------------------------[INSTALL]

	else if(tm == "3") {

		if(sm == "1")
			location.href = "/html/design_lab.html";   
		else if(sm == "2")
			location.href = "/tt/site/ttboard.cgi?db=video";  
		else if(sm == "3")
			location.href = "/tt/site/ttboard.cgi?db=simulation";  
	}






//--------------------------------------------------------[Import]

	else if(tm == "4") {

		if(sm == "1")
			location.href = "/html/message.html";   
		else if(sm == "2")
			location.href = "/html/overview.html";  
		else if(sm == "3")
			location.href = "/html/vision.html";  
		else if(sm == "4")
			location.href = "/html/history.html";  
		else if(sm == "5")
			location.href = "/html/organization.html";  
		else if(sm == "6")
			location.href = "/html/global.html";  
		else if(sm == "7")
			location.href = "/html/ci.html";  
		else if(sm == "8")
			location.href = "/html/contact_us.html";    
	}


//--------------------------------------------------------[Drawing]

	else if(tm == "5") {

		if(sm == "1")
			location.href = "/tt/site/ttboard.cgi?db=news";

	}


//--------------------------------------------------------[community]

	else if(tm == "6") {

		if(sm == "1")
			location.href = "/lightway_main.html";  
		else if(sm == "2")
			location.href = "/html/sitemap.html";  
		else if(sm == "3")
			location.href = "/lightway_main_eng.html";  
		else if(sm == "4")
			location.href = "#";  
		else if(sm == "5")
			location.href = "#";  
	}




}




function menu02(tm,sm) { 

//--------------------------------------------------------[info]

	if(tm == "1") {
		if(sm == "1")
			location.href = "/new/sanding/sanding_info01.html";   
		else if(sm == "2")
			location.href = "/new/sanding/sanding_info02.html";   
		else if(sm == "3")
			location.href = "/new/sanding/sanding_info03.html";   
		else if(sm == "4")
			location.href = "/new/sanding/sanding_info04.html";   
	}



//--------------------------------------------------------[process]

	else if(tm == "2") {

		if(sm == "1")
			location.href = "/new/sanding/sanding_process01.html";  
		else if(sm == "2")
			location.href = "/new/sanding/sanding_process02.html"; 
		else if(sm == "2")
			location.href = "/new/sanding/sanding_process03.html"; 
		else if(sm == "2")
			location.href = "/new/sanding/sanding_process04.html"; 
		else if(sm == "2")
			location.href = "/new/sanding/sanding_process05.html"; 
		else if(sm == "2")
			location.href = "/new/sanding/sanding_process06.html"; 
		else if(sm == "2")
			location.href = "/new/sanding/sanding_process07.html"; 
		else if(sm == "2")
			location.href = "/new/sanding/sanding_process08.html"; 
	}


}




function menu03(tm,sm) { 

//--------------------------------------------------------[info]

	if(tm == "1") {
		if(sm == "1")
			location.href = "/new/sanding/new_floor01.html";   
		else if(sm == "2")
			location.href = "/new/sanding/new_floor02.html";   
		else if(sm == "3")
			location.href = "/new/sanding/new_floor03.html";   
		else if(sm == "4")
			location.href = "/new/sanding/new_floor04.html";  
		else if(sm == "5")
			location.href = "/new/sanding/new_floor05.html";  
	}



//--------------------------------------------------------[repair]

	else if(tm == "2") {

		if(sm == "1")
			location.href = "/new/sanding/floor_repair01.html";  
		else if(sm == "2")
			location.href = "/new/sanding/floor_repair02.html";  
		else if(sm == "3")
			location.href = "/new/sanding/floor_repair03.html";  
		else if(sm == "4")
			location.href = "/new/sanding/floor_repair04.html";  
	}


}



/****************************************************
¸Þ´º¸µÅ©
*****************************************************/
function catalogue_pop()  {
 cw=screen.availWidth; // È­¸é ³Êºñ
 ch=screen.availHeight; // È­¸é ³ôÀÌ

 sw=400;// ¶ç¿ï Ã¢ÀÇ ³Êºñ
 sh=400;// ¶ç¿ï Ã¢ÀÇ ³ôÀÌ

 ml=(cw-sw)/2;// °¡¿îµ¥ ¶ç¿ì±âÀ§ÇÑ Ã¢ÀÇ xÀ§Ä¡
 mt=(ch-sh)/2;// °¡¿îµ¥ ¶ç¿ì±âÀ§ÇÑ Ã¢ÀÇ yÀ§Ä¡

  NewWindow=window.open('/html/catalogue.html','model','width='+sw+',height='+sh+',top='+mt+',left='+ml+',toobar=no,scrollbars=auto,menubar=no,status=no ,directories=no,');
}



/****************************************************
¸Þ´º¸µÅ©
*****************************************************/
function poll_pop()  {
 cw=screen.availWidth; // È­¸é ³Êºñ
 ch=screen.availHeight; // È­¸é ³ôÀÌ

 sw=620;// ¶ç¿ï Ã¢ÀÇ ³Êºñ
 sh=600;// ¶ç¿ï Ã¢ÀÇ ³ôÀÌ

 ml=(cw-sw)/2;// °¡¿îµ¥ ¶ç¿ì±âÀ§ÇÑ Ã¢ÀÇ xÀ§Ä¡
 mt=(ch-sh)/2;// °¡¿îµ¥ ¶ç¿ì±âÀ§ÇÑ Ã¢ÀÇ yÀ§Ä¡

  NewWindow=window.open('/tt/site/ttboard.cgi?act=write&db=poll','model','width='+sw+',height='+sh+',top='+mt+',left='+ml+',toobar=no,scrollbars=yes,menubar=no,status=no ,directories=no,');
}




