//=====================================================================
// File Name   : flash_links.js
// Description : SERIWorld common - ÇÃ·¡½¬¸Þ´º ¸µÅ©
// Created     : 2008.01.04.fri
// Author      : KIM Kyeongmee
// Last Update : 
//=====================================================================



// 1Â÷¸Þ´º
function oneDepth(odn)
{
	if(odn == "01")
	{
		go('/03/wldKetL.html');
	}
	
	if(odn == "02")
	{
		go('/01/wldContL.html?mn=B&mncd=0101');
	}
	
	if(odn == "03")
	{
		go('/01/wldIssueL.html?mn=B&mncd=0203');
	}
	
	if(odn == "04")
	{
		go('/01/wldSurvL.html');
		//alert('International Affairs');
	}
	
	if(odn == "05")
	{
		go('/05/wldColumnL.html');
	}
	
	if(odn == "06")
	{
		go('/04/wldBookL.html?mn=E&natcd=ZZ&mncd=0301');
	}
	if(odn == "07")
	{
		go('/sq/wldQMain.html');
	}		
}
function twoDepth01(tdn)
{
	if(tdn == "01")
	{
		go('/03/wldKetL.html');
	}
	
	if(tdn == "02")
	{
		go('/01/wldSurvL.html?mn=A&mncd=0302');
	}
	
	if(tdn == "03")
	{
		go('/01/wldContL.html?mn=A&mncd=0301');
	}

	if(tdn == "04")
	{
		go('/10/wldSeasonRptL.html?sort=C&sectno=1&cont_type=C');
	}
}

function twoDepth02(tdn)
{
	if(tdn == "01")
	{
		go('/01/wldContL.html?mn=B&mncd=0101');
	}
	
	if(tdn == "02")
	{
		go('/01/wldContL.html?mn=B&mncd=0201');
	}
	
	if(tdn == "03")
	{
		go('/01/wldCeoL.html?mn=C&mncd=0103');
	}
}

function twoDepth03(tdn)
{
	if(tdn == "01")
	{
		go('/01/wldissueL.html?mn=B&mncd=0203');
	}
	
}

function twoDepth04(tdn)
{
	if(tdn == "01")
	{
		go('/01/wldSurvL.html');
	}
	
	if(tdn == "02")
	{
		go('/01/wldContL.html?mn=E&natcd=&mncd=0305');
		
	}
}

function twoDepth05(tdn)
{
	if(tdn == "01")
	{
		go('/06/wldNewsL.html?mn=D&mncd=0406');
	}
	
	if(tdn == "02")
	{
		go('/06/wldStatsL.html');
		//underConstruct();
	}
	
	if(tdn == "03")
	{
		go('/company/wldProfile.html');
		//underConstruct();
	}
}
function twoDepth06(tdn)
{
	if(tdn == "01")
	{
		go('/05/wldColumnL.html?mn=F&mncd=0101');
	}
	
	if(tdn == "02")
	{
		go('/05/wldColumnL.html?mn=F&mncd=0102');
	}

	if(tdn == "03")
	{
		go('/05/wldColumnL.html?mn=F&mncd=0103');
	}
	
	if(tdn == "04")
	{
		go('/05/wldColumnL.html?mn=F&mncd=0104');
	}
}
function twoDepth07(tdn)
{
	if(tdn == "01")
	{
		go('/sq/wldQMain.html');
	}
}



function underConstruct()
{
	alert('ÁØºñÁßÀÔ´Ï´Ù');	
}


function go(j_url)
{
	if(j_url != ''){
		location.href = j_url;
	}else{
		alert('under construction!');
	}
}
