// ActiveX ġ Start //

function flashMovie(fid,src,wid,hei,fvs,wmd) {
  this.fPrint = '';
  this.Id = document.getElementById(fid);
  this.Src = src;
  if(wid == 0){
    this.Width = '100%';
  }
  else{
    this.Width = wid;
  }
  if(hei == 0){
    this.Height = '100%';
  }
  else{
    this.Height = hei;
  }
  this.FlashVars = (fvs != undefined)? fvs :'';
  this.Wmod = (wmd != undefined)? wmd :'';
  if(isObject(Id)) {
    fPrint = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"';
    fPrint += ' width="'+Width+'"';
    fPrint += ' height="'+Height+'">';
    fPrint += '<param name="allowScriptAccess" value="always">';
    fPrint += '<param name="movie" value="'+Src+'">';
    fPrint += '<param name="menu" value="false" />';
    fPrint += '<param name="quality" value="high">';
    fPrint += (FlashVars != null) ? '<param name="FlashVars" value="'+FlashVars+'">' : '';
    fPrint += (Wmod != null) ? '<param name="wmode" value="'+Wmod+'">' : '';
    fPrint += '<embed';
    fPrint += fPrint + ' src="'+Src+'"';
    fPrint += (FlashVars != null) ? ' FlashVars="'+FlashVars+'"' : '';
    fPrint += (Wmod != null) ? ' wmode="'+Wmod+'"' : '';
    fPrint += ' quality="high"';
    fPrint += ' allowScriptAccess="always"';
    fPrint += ' pluginspage="http://www.macromedia.com/go/getflashplayer"';
    fPrint += ' type="application/x-shockwave-flash"';
    fPrint += ' width="'+Width+'"';
    fPrint += ' height="'+Height+'"';
    fPrint += '></embed>';
    fPrint += '</object>';
    Id.innerHTML = fPrint;
  }
}

function isObject(a) {
    return (a && typeof a == 'object');
}

// ActiveX ġ End //



// ÷ ޴ ũ start //

//޴01 MOVIE
u1 ="/Movie/LineUp/main.asp";
u11 ="/Movie/LineUp/main.asp";
u12 ="/Movie/Market&News/MarketnewsList.asp";
u13 ="/Movie/ContactUs/ContactUs.asp";

//޴02 FINANCIAL HIGHLIGHTS
u2 ="/Financial/FinancialSummary.asp";
u21 ="/Financial/FinancialSummary.asp";
u22 ="/Financial/FinancialIndex.asp";
u23 ="/Financial/Structure.asp";

//޴03 COMPANY
u3 ="sub0301.html";
u31 ="sub0301.html";
u32 ="sub0302.html";
u33 ="sub0303.html";
u34 ="sub0304.html";
u35 ="sub0305.html";
u36 ="sub0306.html";
u37 ="sub0307.html";
u38 ="sub0308.html";
u39 ="sub0309.html";

//ڽ ΰ
u9 ="http://www.showbox.co.kr";

function link(){
	var url = "";
	var depth = arguments.length;
	try {
		if(depth==0) return;
		else if(depth==1) url = eval("u"+arguments[0]);
		else if(depth==2) url = eval("u"+arguments[0]+arguments[1]);
		else if(depth==3) url = eval("u"+arguments[0]+arguments[1]+arguments[2]);
		location.href = url;
	}catch(e) { alert("غԴϴ."); }
}


function changeTb2(trName, isOpen) {

	var a;

	//a = eval("document.all."+trName);

	a = eval("document.getElementById('"+trName+"')");
	//a = eval("document.getElementById(\""+trName+"\")");
	
	if(isOpen == "open") {
		a.style.display = 'block';
	}
	else {
		a.style.display = 'none';
	}

}

// ÷ ޴ ũ end //