<!--

// ¸ð¹ÙÀÏ±¸ºÐ ---------------------------------------------------------------------------------------------
/*
var userAgent = navigator.userAgent.toLowerCase();

var mobilePhones = new Array('iphone','ipod','ipad','android','blackberry','windows ce','nokia','webos','opera mini','sonyericsson','opera mobi','iemobile');

for(var i=0;i<mobilePhones.length;i++)
{
    if(userAgent.indexOf(mobilePhones[i]) != -1)
	{
		device = 'mobile';
	}
}

if (device == 'mobile')
{
	if (userAgent.indexOf('iphone') == -1 && userAgent.indexOf('ipad') == -1 && userAgent.indexOf('ipod') == -1){
		apple = false;
	}
	else{
		apple = true;
	}
}
*/

var device, apple, apple_pad = "";
var userAgent = navigator.userAgent.toLowerCase();

if(/mobile/.test(userAgent))	device='mobile';

if (userAgent.indexOf('iphone') == -1 && userAgent.indexOf('ipad') == -1 && userAgent.indexOf('ipod') == -1){
	apple = false;
	apple_pad = false;
}
else{
	apple = true;

	if (userAgent.indexOf('ipad') == -1)
	{
		apple_pad = false;
	}
	else
	{
		apple_pad = true;
	}
}
// ---------------------------------------------------------------------------------------------------------

// ÇÃ·¡½¬ ½ÇÇà : script_flash(ÇÃ·¡½¬±¸ºÐ, ÇÃ·¡½¬ÆÄÀÏ°æ·Î, °¡·Î, ¼¼·Î, ´ëÃ¼ÀÌ¹ÌÁö°æ·Î)
function script_flash(f_type, f_file, w_size, h_size, img){

	if (device == "mobile")
	{
		if (f_type == "m_slide")
		{
			document.write('<table width="151" height="193" cellpadding="0" cellspacing="0" border="0">');
			document.write('<tr><td width="151" height="31"><a href="/company/company03.asp"><img src="/image/'+img+'/sm1.gif" border="0" alt="" /></a></td></tr>');
			document.write('<tr><td height="31"><a href="/company/company05.asp"><img src="/image/'+img+'/sm2.gif" border="0" alt="" /></a></td></tr>');
			document.write('<tr><td height="31"><a href="/company/company04_07.asp"><img src="/image/'+img+'/sm4.gif" border="0" alt="" /></a></td></tr>');
			document.write('<tr><td height="100"></td></tr></table>');
		}
		else if (f_type == "m_slide2")
		{
			document.write('<table width="151" height="78" cellpadding="0" cellspacing="0" border="0">');
			document.write('<tr><td width="71" height="26"><a href="/company/company06.asp"><img src="/image/'+img+'/em1.gif" border="0" alt="" /></a></td>');
			document.write('<td width="81" rowspan="3"><img src="/image/'+img+'/em.gif" border="0" alt="" /></td></tr>');
			document.write('<tr><td height="26"><a href="/customer/cust/write.asp"><img src="/image/'+img+'/em2.gif" border="0" alt="" /></a></td></tr>');
			document.write('<tr><td height="26"><a href="/customer/cust/customer.asp"><img src="/image/'+img+'/em3.gif" border="0" alt="" /></a></td></tr></table>');
		}
		else if (f_type == "adGallery")
		{
			if (apple){
				document.write('<a href="/customer/cf/list.asp?num=183"><img src="/image/adGallery.jpg" border="0" alt="±¤°í°¶·¯¸®" /></a>');
			}
			else{
				script_flash_run(f_type, f_file, w_size, h_size, img);
			}
		}
		else if (f_type == "mainVisual")
		{
			if (apple){
				document.write('<img src="'+ img + '" border=0 alt="" />');
			}
			else{
				script_flash_run(f_type, f_file, w_size, h_size, img);
			}
		}
		else if (f_type == "mainBanner")
		{
			if (apple){
				document.write('<img src="'+ img + '" border=0 alt="" />');
			}
			else{
				script_flash_run(f_type, f_file, w_size, h_size, img);
			}
		}
		else
		{
			document.write('<img src="'+ img + '" border=0 alt="" />');
		}
	}
	else
	{
		script_flash_run(f_type, f_file, w_size, h_size, img);
	}
}

// ÇÃ·¡½¬ ½ÇÇà
function script_flash_run(f_type, f_file, w_size, h_size, img){
	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="'+w_size+'" height="'+h_size+'" id="" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="'+f_file+'" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="bgcolor" value="#ffffff" />');
	document.write('<param name="menu" value="false" />');
	document.write('<embed src="'+f_file+'" quality="high" bgcolor="#ffffff" width="'+w_size+'" height="'+h_size+'" name="" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}

// ÇÃ·¡½¬ ½ÇÇà ½ºÅ©¸³Æ® (Åõ¸í)
function script_flash_tran(f_file, w_size, h_size){

	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="'+w_size+'" height="'+h_size+'" id="" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="'+f_file+'" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="WMode" value="Transparent">');
	document.write('<param name="menu" value="false" />');
	document.write('<embed src="'+f_file+'" quality="high" bgcolor="#ffffff" width="'+w_size+'" height="'+h_size+'" name="" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}

// ÇÃ·¡½¬ ½ÇÇà ½ºÅ©¸³Æ® (ÀüÃ¼È­¸é)
function script_flash_full(f_file){

	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="100%" height="100%" id="" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="'+f_file+'" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="bgcolor" value="#ffffff" />');
	document.write('<param name="menu" value="false" />');
	document.write('<embed src="'+f_file+'" quality="high" bgcolor="#ffffff" width="100%" height="100%" name="" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}

// µ¿¿µ»ó ½ÇÇà ½ºÅ©¸³Æ®
function script_movie(f_file, w_size, h_size, start){

	document.write('<object ID="MMPlayer1" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" align="middle" width="'+w_size+'" height="'+h_size+'" viewastext>');
	document.write('<param name="TransparentAtStart" value="1">');
	document.write('<param name="transparentAtStop" value="1">');
	document.write('<param name="AnimationAtStart" value="0">');
	document.write('<param name="AutoRewind" value="1">');
	document.write('<param name="AutoSize" value="0">');
	document.write('<param name="ShowDisplay" value="0">');
	document.write('<param name="ShowStatusBar" value="0">');
	document.write('<param name="ShowControls" value="1">');
	document.write('<param name="ShowPositionControls" value="0">');
	document.write('<param name="AllowChangeDisplaySize" value="1">');
	document.write('<param name="EnableContextMenu" value="1">');
	document.write('<param name="DisplaySize" value="1">');
	document.write('<param name="AutoStart" value="'+start+'">');
	document.write('<param name="FileName" value="'+f_file+'">');
	document.write('</object>');

}

// À½¼ºÆÄÀÏ ½ÇÇà ½ºÅ©¸³Æ®
function script_radio(f_file, w_size, h_size, start){

	document.write('<Embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/mediaplayer/download/default.asp" FileName="'+f_file+'" width="'+w_size+'" height="'+h_size+'" SHOWCONTROLS="1" SHOWSTATUSBAR="1" ShowPositionControls="0" AUTOSTART="'+start+'" PlayCount="1"></Embed>');

}
//-->
