
// 20060719 wed flash 
// mval flash full url, width, height
function disp_swf(mval, wid, hei)
{
	var flash_url = 
		"<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='" + wid + "' height='" + hei + "'>" +
		"<param name='movie' value='" + mval + "'><embed src='" + mval + "' quality='high'  pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='" + wid + "' height='" + hei + "'></embed></object>";
		
		document.write(flash_url);
}

/****** ﾇﾃｷ｡ｽｬｸｵﾅｩ ｸｵﾅｩ **************************************************************/

//go home
function goHome() {location.href = "/index.html";}

function downloadActiveX() 
{
    window.location.replace ("/ViewerOCX.exe");
    setTimeout ("window.close()", 1000);
}

//1 depth
function oneDepth(odn)
{	
	if(odn == "01"){
		location.href = "/doc/01/ECListL01.html?t_code=01";
	}
	
	if(odn == "02"){
		location.href = "/doc/01/ECListL01.html?t_code=02";
	}
	
	if(odn == "03"){
		location.href = "/doc/01/ECListL01.html?t_code=03";
	}
	
	if(odn == "04"){
		location.href = "/doc/01/ECListL01.html?t_code=04";
	}
}

//Economy
function twoDepth01(tdn)
{
	if(tdn == "01"){
		location.href = "/doc/01/ECListL01.html?t_code=0101";
	}

	if(tdn == "02"){
		location.href = "/doc/01/ECListL01.html?t_code=0109";
	}

	if(tdn == "03"){
		location.href = "/doc/01/ECListL01.html?t_code=0102";
	}

	if(tdn == "04"){
		location.href = "/doc/01/ECListL01.html?t_code=0104";
	}

	if(tdn == "05"){
		location.href = "/doc/01/ECListL01.html?t_code=0106";
	}

	if(tdn == "06"){
		location.href = "/doc/01/ECView.html?t_code=0104&g_menu=010402&Sub_code=010402";
	}

	if(tdn == "07"){
		location.href = "/doc/01/ECListL01.html?t_code=0110";
	}
}

//Management
function twoDepth02( tdn)
{
	if(tdn == "01")
	{
		location.href = "/doc/01/ECListL01.html?t_code=0201";
	}

	if(tdn == "02")
	{
		location.href = "/doc/01/ECListL01.html?t_code=0202";
	}
}

//Industry
function twoDepth03( tdn)
{		
	if(tdn == "01")
	{
		location.href = "/doc/01/ECListL01.html?t_code=0301";
	}

	if(tdn == "02")
	{
		location.href = "/doc/01/ECListL01.html?t_code=0302";
	}

	if(tdn == "03")
	{
		location.href = "/doc/01/ECListL01.html?t_code=0303";
	}

	if(tdn == "04")
	{
		location.href = "/doc/01/ECListL01.html?t_code=0304";
	}

	if(tdn == "05")
	{
		location.href = "/doc/01/ECListL01.html?t_code=0305";
	}

	if(tdn == "06")
	{
		location.href = "/doc/03/INDnews06.html?t_code=0306";
	}
}

//Trend
function twoDepth04( tdn)
{
	if(tdn == "01")
	{
		location.href = "/doc/04/TRListL.html";
	}

	if(tdn == "02")
	{
		location.href = "/doc/01/ECListL01.html?t_code=0402";
	}

	if(tdn == "03")
	{
		location.href = "/doc/04/CAList04.html";
	}
}



// Cult Aquarium
function twoDepth06(tdn)
{
	if(tdn == "01")
	{
	location.href = "/doc/01/ECListL01.html?t_code=0601";
	}

	if(tdn == "02")
	{
	location.href = "/doc/01/ECListL01.html?t_code=0602";
	}

	if(tdn == "03")
	{
	location.href = "/doc/06/CAList02.html";
	}

	if(tdn == "04")
	{
	location.href = "/doc/06/CAList06.html";
	}

 	if(tdn == "05")
	{
	location.href = "/doc/06/CAList0605.html";
	}
 
}
//Publication
function twoDepth08(tdn)
{
if(tdn == "01")
{
location.href = "/doc/08/PubDCL.html?g_menu=0801";
}

if(tdn == "02")
{
location.href = "/doc/08/PubDCL.html?g_menu=0802";
}

if(tdn == "03")
{
location.href = "/doc/08/PubDCL.html?g_menu=0803";
}

if(tdn == "04")
{
location.href = "/doc/08/PubDL.html?g_menu=0804";
}

if(tdn == "05")
{
location.href = "/doc/08/TRListL.html";
}

if(tdn == "06")
{
location.href = "/doc/08/PubBDL.html";
}

if(tdn == "07")
{
location.href = "/doc/08/PubDL.html?g_menu=0807";
}
if(tdn == "08")
{
location.href = "/doc/08/PubDL.html?g_menu=0808";
}
}

// About Seri
function twoDepth09( tdn)
{
if(tdn == "01")
{
location.href = "/doc/09/SeriVision.html";
}

if(tdn == "02")
{
location.href = "/doc/09/SeriHistory.html";
}

if(tdn == "03")
{
location.href = "/doc/09/SeriMessage.html";
}
if(tdn == "04")
{
location.href = "/doc/09/SeriIntroidx.html";
}
if(tdn == "05")
{
location.href = "/doc/09/SeriConsult.html";
}

if(tdn == "06")
{
location.href = "/doc/09/SeriPressR.html";
}

if(tdn == "07")
{
location.href = "/doc/09/SeriRecruit.html";
}

if(tdn == "08")
{
location.href = "/doc/09/SeriContact.html";
}

if(tdn == "09")
{
location.href = "/doc/08/PubL.html";
}

}

// My Cruise
function myDepth( mdn)
{
if(mdn == "01")
{
location.href = "/doc/12/MyPageL.html";
}

if(mdn == "02")
{
location.href = "/doc/11/ccRegM.html";
}

if(mdn == "03")
{
location.href = "/doc/12/MyChgPwd.html";
}

if(mdn == "04")
{
location.href = "/doc/12/MyNoUser.html";
}
}


// Publication
function twoDepth08(pdn)
{
if(pdn == "01")
{
location.href = "/doc/08/PubDCL.html?g_menu=0801";
}

if(pdn == "02")
{
location.href = "/doc/08/PubDCL.html?g_menu=0802";
}

if(pdn == "03")
{
location.href = "/doc/08/PubDCL.html?g_menu=0803";
}

if(pdn == "04")
{
location.href = "/doc/08/PubDCL.html?g_menu=0804";
}

if(pdn == "05")
{
location.href = "/doc/08/TRListL.html";
}

if(pdn == "06")
{
location.href = "/doc/08/PubBDL.html";
}

if(pdn == "07")
{
location.href = "/doc/08/PubDL.html?g_menu=0807";
}

if(pdn == "08")
{
location.href = "/doc/08/PubDL.html?g_menu=0808";
}
}


// Hot Topic
function topicDepth( tdn)
{
if(tdn == "01")
{
location.href = "/doc/05/HTFTA.html";
}

if(tdn == "02")
{
location.href = "/doc/05/HTSamsung050201.html";
}

if(tdn == "03")
{
location.href = "/doc/01/ECListL01.html?t_code=050301";
}

if(tdn == "04")
{
location.href = "/doc/01/ECListL01.html?t_code=050402&Sub_code=050402";
}
}

function power_search(str)
{
	if (str.length==0) {
		alert ('キーワードを入力してください。'); 
		return;
	}
	document.srchF.action="/doc/etc/SearchR.html";
	document.srchF.keyword.value=str;
	document.srchF.submit();
}

function goDetail()
{
location.href = "/doc/etc/SearchI.html";
} 
