function autoBlur(){
  if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") 
  document.body.focus(); 
} 
  document.onfocusin=autoBlur; 

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}



function flash_load(set1,size1,size2,FlashVars){
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='"+size1+"' height='"+size2+"'>");
document.write("<param name='movie' value='../scripts/"+set1+"'>");
document.write("<param name='quality' value='high'>");
document.write("<param name='FlashVars' value='"+FlashVars+"' >");
document.write("<param name='bgcolor' value='#000000' >");
document.write("<param name='wmode' value='transparent'>");
document.write("<embed src='../scripts/"+ set1+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+size1+"' height='"+size2+"'></embed></object>");
//document.write("<embed src='../scripts/"+ set1+"?"+FlashVars+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+size1+"' height='"+size2+"'></embed></object>");
} 




function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}


function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_jumpMenu(URL)
{
	if(URL!="")
	{
		//window.open(URL);
		document.location = URL;
	}
	else
	{
		alert("ÀÎÅÍ³ÝÁÖ¼Ò°¡ ¾ø½À´Ï´Ù.");
	}
}





/* ½ºÅ©·Ñ¹Ù µû¶ó´Ù´Ï´Â Å¾*/ 
function setVariables() {
imgwidth=17;
imgheight=51;
if (navigator.appName == "Netscape") {
horz=".left";
vert=".top";
docStyle="document.";
styleDoc="";
innerW="window.innerWidth";
innerH="window.innerHeight";
offsetX="window.pageXOffset";
offsetY="window.pageYOffset";
}
else {
horz=".pixelLeft";
vert=".pixelTop";
docStyle="";
styleDoc=".style";
innerW="990";
innerH="document.body.clientHeight-400";
offsetX="document.body.scrollLeft";
offsetY="document.body.scrollTop";
   }
}
function checkLocation() {
objectXY="branding";
var availableX=eval(innerW);
var availableY=eval(innerH);
var currentX=eval(offsetX);
var currentY=eval(offsetY);
x=availableX-(imgwidth+30);
y=availableY-(imgheight+20)+currentY;
evalMove();
setTimeout("checkLocation()",10);
}
function evalMove() {
eval(docStyle + objectXY + styleDoc + horz + "=" + x);
eval(docStyle + objectXY + styleDoc + vert + "=" + y);
}



//¸¶¿ì½º Å¬¸¯½Ã ¿­¸®´Â ÇÏÀ§¸Þ´º
function moveMenu(Menu) { 
	document.all.left01.style.display = "none"
	document.all.left02.style.display = "none"
	document.all.left03.style.display = "none"
	document.all.left04.style.display = "none"
	document.all.left05.style.display = "none"
	document.all.left06.style.display = "none"
	document.all.left07.style.display = "none"
	if (document.all) { 
		thisMenu = eval("document.all." + Menu + ".style") 
		if (thisMenu.display == "block") { 
			thisMenu.display = "none" 
		}else { 
			thisMenu.display = "block" 
		} 
		return false 
	} else { 
		return true 
	} 
} 







var printpp


function bp() {
  printpp = document.body.innerHTML;
  document.body.inne´ºHTML = print_this.innerHTML;
}


function ap() {
  document.body.innerHTML = printpp; 
}


function pp() {
  window.print();
}


window.onbeforeprint = bp;
window.onafterprint = ap;







//»óÅÂ¹Ù¿¡ °æ·Î°¡ ³ªÅ¸³ªÁö ¾Ê°Ô ÇÏ±â À§ÇØ¼­ ¸µÅ© ¼³Á¤ ½ÃÀÛ

function about_path(str){ //¿¬±¸¿ø¼Ò°³
	document.location.href='../ft_about/about' + str + '.asp';
}


function customer_path(str){ //°í°´¼­ºñ½º
	document.location.href='../ft_customer/customer' + str + '.asp';
}

function busi_path(str){  //¾÷¹«¾È³»
	document.location.href='../ft_business/business' + str + '.asp';
}


function banner_path(str){
	document.location.href='../ft_banner/banner' + str + '.asp';
}


function apply_path(str){
	document.location.href='../ft_apply/apply' + str + '.asp';
}

function support_path(str){
	document.location.href='../ft_support/support' + str + '.asp#01';
}


//»óÅÂ¹Ù¿¡ °æ·Î°¡ ³ªÅ¸³ªÁö ¾Ê°Ô ÇÏ±â À§ÇØ¼­ ¸µÅ© ¼³Á¤ ³¡



