<!--


/////////////Navigation Controll//////////////

function fsPreLoadNavIMG() {
	gNavList = new Array();
	var xRes = fsPreLoadNavIMG.arguments;
	var xNum = xRes.length;
	var j = gNavList.length;
	for(var i=0; i<xNum; i++){
		gNavList[j] = new Image;
		gNavList[j++].src = xRes[i];
	}
}

//Image File Swap
function fsSwapNavImg(xFileNum,xName) {
	if(navigator.appVersion.charAt(0)>=3){
		Img0 = new Image();
		if(xFileNum == 0){
			Img0.src= gLastNavImg;
			gLastNavImg = "";
			document.images[xName].src=Img0.src;
		}else{
			gLastNavImg = document.images[xName].src
			Img0.src= gNavList[xFileNum-1].src;
		}
		document.images[xName].src=Img0.src;
	}
}


//Drow Header Data
function fsDrowHeader(xType){
	document.write('<img src="/images/navi/header_top.jpg" width="198" height="25" alt=""><br>');
	document.write('<a href="/main.html"><img src="/images/navi/header_rogo.gif" width="198" height="46" alt="DANDY" name="top" border="0"></a>');

	if (xType == "newrelease"){
		document.write('<img src="/images/navi/btn_01_1.jpg" width="89" height="46" alt="NewRelease">');
	}else{
		document.write('<a href="/title/newrelease.html" onmouseover="fsSwapNavImg(2,\'newrelease\');" onmouseout="fsSwapNavImg(0,\'newrelease\');"><img src="/images/navi/btn_01_0.jpg" width="89" height="46" alt="NewRelease" name="newrelease" border="0"></a>');}
	
	if (xType == "all"){
		document.write('<img src="/images/navi/btn_02_1.jpg" width="81" height="46" alt="AllTitle">');
	}else{
		document.write('<a href="/title/index.php" onmouseover="fsSwapNavImg(3,\'AllTitle\');" onmouseout="fsSwapNavImg(0,\'AllTitle\');"><img src="/images/navi/btn_02_0.jpg" width="81" height="46" alt="AllTitle" name="AllTitle" border="0"></a>');
	}
	
	if (xType == "plan"){
		document.write('<img src="/images/navi/btn_03_1.jpg" width="84" height="46" alt="Plan">');
	}else{
		document.write('<a href="/collection/index.php" onmouseover="fsSwapNavImg(4,\'Plan\');" onmouseout="fsSwapNavImg(0,\'Plan\');"><img src="/images/navi/btn_03_0.jpg" width="84" height="46" alt="Plan" name="Plan" border="0"></a>');
	}

	if (xType == "bbs"){
		document.write('<img src="/images/navi/btn_04_1.jpg" width="76" height="46" alt="BBS">');
	}else{
		document.write('<a href="/bbs/yybbs.cgi" onmouseover="fsSwapNavImg(5,\'BBS\');" onmouseout="fsSwapNavImg(0,\'BBS\');"><img src="/images/navi/btn_04_0.jpg" width="76" height="46" alt="BBS" name="BBS" border="0"></a>');
	}

	if (xType == "outline"){
		document.write('<img src="/images/navi/btn_05_1.jpg" width="76" height="46" alt="outline"></a>');
	}else{
		document.write('<a href="/outline/index.html" onmouseover="fsSwapNavImg(6,\'outline\');" onmouseout="fsSwapNavImg(0,\'outline\');"><img src="/images/navi/btn_05_0.jpg" width="76" height="46" alt="outline" border="0" name="outline"></a>');}

	if (xType == "recruit"){
		document.write('<img src="/images/navi/btn_06_1.jpg" width="82" height="46" alt="Recruit">');
	}else{
		document.write('<a href="/recruit/index.html" onmouseover="fsSwapNavImg(7,\'Recruit\');" onmouseout="fsSwapNavImg(0,\'Recruit\');"><img src="/images/navi/btn_06_0.jpg" width="82" height="46" alt="Recruit" name="Recruit" border="0"></a>');
	}

	if (xType == "link"){
		document.write('<img src="/images/navi/btn_07_1.jpg" width="83" height="46" alt="Link">');
	}else{
		document.write('<a href="/link/index.html" onmouseover="fsSwapNavImg(8,\'Link\');" onmouseout="fsSwapNavImg(0,\'Link\');"><img src="/images/navi/btn_07_0.jpg" width="83" height="46" alt="Link" name="Link" border="0"></a>');
	}
}





//Drow Header Data
function fsDrowFooter(xType){
	document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%" class="footH">');
	document.write('<tr>');
	document.write('<td>');
	document.write('<a href="mailto:info@choi-waru.com" onmouseover="fsSwapNavImg(9,\'mail\');" onmouseout="fsSwapNavImg(0,\'mail\');"><img src="/images/navi/footer_btn_3_0.gif" width="93" height="13" alt="Contact us" name="mail" border="0"></a>');
	document.write('</td>');
	document.write('<td align="right" valign="bottom">');
	document.write('<img src="/images/navi/footer_copy.gif" width="321" height="10" alt="Copyright 2006 HIROSUM Entertainment.ltd.co.All Right Reserved">');
	document.write('</td>');
	document.write('</tr>');
	document.write('</table>');
}

//Header Image Preload

fsPreLoadNavIMG(
	'/images/navi/header_rogo_1.gif',
	'/images/navi/btn_01_1.jpg',
	'/images/navi/btn_02_1.jpg',
	'/images/navi/btn_03_1.jpg',
	'/images/navi/btn_04_1.jpg',
	'/images/navi/btn_05_1.jpg',
	'/images/navi/btn_06_1.jpg',
	'/images/navi/btn_07_1.jpg',
	'/images/navi/footer_btn_3_1.gif'
);

//-->
