var cur_Dir = "";
var curDir = self.location.href;
var myDir = curDir.split("/",6);
//alert(myDir[3]);

var cur_pos = myDir[5].split(".",1);
var cur_pos2 = cur_pos[0].split("_",1);
var cur_pos3 = cur_pos2[0].split("0",2);
//alert(cur_pos3[0] + ' ±×¸®°í ' + cur_pos3[1]);
//alert(myDir[4])
var oDN = "0";	//One Depth
var tDN = "0";	//Two Depth

if(myDir[4] == "company") {
	oDN = "1";
	if(cur_pos3[0] == "profile") {
		tDN = "1";
	} else if(cur_pos3[0] == "message") {
		tDN = "2";
	} else if(cur_pos3[0] == "chart") {
		tDN = "3";
	} else if(cur_pos3[0] == "network") {
		tDN = "4";
	} else if(cur_pos3[0] == "team") {
		tDN = "5";
	} else if(cur_pos3[0] == "history") {
		tDN = "6";
	}
} else if(myDir[4] == "business") {
	oDN = "2";
	if(cur_pos3[0] == "snapshot") {
		tDN = "1";
	} else if(cur_pos3[0] == "pb") {
		tDN = "2";
	} else if(cur_pos3[0] == "service") {
		tDN = "3";
	} else if(cur_pos3[0] == "trust") {
		tDN = "4";
	}
} else if(myDir[4] == "investor") {
	oDN = "3";
	if(cur_pos3[0] == "information") {
		tDN = "1";
	} else if(cur_pos3[0] == "financial") {
		tDN = "2";
	}
} else if(myDir[4] == "research") {
	oDN = "4";
	if(cur_pos3[0] == "daily") {
		tDN = "1";
	} else if(cur_pos3[0] == "company") {
		tDN = "2";
	} else if(cur_pos3[0] == "sector") {
		tDN = "3";
	} else if(cur_pos3[0] == "market") {
		tDN = "4";
	} else if(cur_pos3[0] == "newsletter") {
		tDN = "5";
	}
} else if(myDir[4] == "guide") {
	oDN = "5";
	if(cur_pos3[0] == "stock") {
		tDN = "1";
	} else if(cur_pos3[0] == "fund") {
		tDN = "2";
	} else if(cur_pos3[0] == "link") {
		tDN = "3";
	}
}

document.write('<div id="GNB_Area" style="background:url(/images/eng/' + myDir[4] + '/menu/top_gnb.gif) left top no-repeat;">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="970" height="120">');
document.write('<param name="allowScriptAccess" value="always" />');
document.write('<param name="movie" value="/common/flash/navigation_eng.swf?dm=' + oDN + '&amp;ds=' + tDN + '" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="/common/flash/navigation.swf_eng?dm=' + oDN + '&amp;ds=' + tDN + '" width="970" height="120" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>');
document.write('</object>');
document.write('</div>')