////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Navigation :: ¹ÚÁöÈ£
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Àý´ë°æ·Î ¸í½Ã ~
var BASEURL = "";

// ¸ÞÀÎ¸Þ´º ³×ºñ°ÔÀÌ¼Ç
function gotoUrl(num,snum) {
	var url="";
	switch(num) {
		case 0:
			url = BASEURL+"/"; //È¨
			break;
		case 1: //¹Ì´ÏÈ¨ÇÇ
			switch(snum) {
			default:
				url = BASEURL+"/?_module=hompy";
				menuShowReset();
				break;
			case 1:
				js_NotLogin();
				//url = BASEURL+"/?_module=hompy&_do=kingca";
				break;
			case 2:
				js_NotLogin();
				//url = BASEURL+"/?_module=hompy&_do=queenca";
				break;
			case 3:
				js_NotLogin();
				//url = BASEURL+"/?_module=hompy&_do=new";
				break;
			case 4:
				js_NotLogin();
				//url = BASEURL+"/?_module=hompy&_do=new";
				break;
			case 5:
				js_NotLogin();
				//url = BASEURL+"/?_module=hompy&_do=happyDay";
				break;
			case 6:
				js_NotLogin();
				//url = BASEURL+"/?_module=hompy&_do=searchFriend";
				break;
			}
			break;
		case 2: //·¯ºê
			switch(snum) {			
			default:
				url = BASEURL+"/?_module=meeting";
				menuShowReset();
				break;	
			case 1:
				js_NotLogin();
				//url = BASEURL+"/?_module=meeting&_do=booking";
				break;
			case 2:
				js_NotLogin();
				//url = BASEURL+"/?_module=meeting&_do=vod";
				break;
			case 3:
				js_NotLogin();
				//url = BASEURL+"/?_module=meeting&_do=qna";
				break;
			case 4:
				js_NotLogin();
				//url = BASEURL+"/?_module=meeting&_do=lightning";
				break;
			case 5:
				js_NotLogin();
				//url = BASEURL+"/?_module=meeting&_do=introduce";
				break;
			case 6:
				js_NotLogin();
				//url = BASEURL+"/?_module=meeting&_do=marriage";
				break;
			}
			break;
		case 3: //¶óÀÌºêÃ¤ÆÃ
			switch(snum) {
			default:
				url = BASEURL+"/?_module=chatting";
				menuShowReset();
				break;
			case 1:
				js_NotLogin();
				//url = BASEURL+"/?_module=chatting&_do=livechat";
				break;
			case 2:
				js_NotLogin();
				//fn_ikmgr_custom( 'msg' );
				break;
			case 3:
				js_NotLogin();
				//fn_ikmgr_custom( 'sms' );
				break;
			case 4:
				js_NotLogin();
				//fn_ikmgr_custom( 'propose' );
				break;
			case 5:
				js_NotLogin();
				//fn_ikmgr_custom( 'hello' );
				break;
			case 6:
				js_NotLogin();
				//url = BASEURL+"/?_module=chatting&_do=vod";
				break;
			case 7:
				js_NotLogin();
				//url = BASEURL+"/?_module=chatting&_do=fox";
				break;				
            case 8:
				js_NotLogin();
                //window.open( BASEURL+"/?_module=cp&_do=kingca", "kingca_1click" );
                break;
			}
			break;		
		case 4: // ¹«ºñÆÃ
			switch(snum) {
			default:
				url = BASEURL+"/?_module=movieting&mnu=smnu_MR0100";
				break;
			case 1:
				js_NotLogin();
				//url = BASEURL+"/?_module=movieting&_do=request&mnu=smnu_MR0100";
				break;
			case 2:
				js_NotLogin();
				//url = BASEURL+"/?_module=movieting&_do=couple&mnu=smnu_MR0201";
				break;
			case 3:
				js_NotLogin();
				//url = BASEURL+"/?_module=movieting&_do=send&mnu=smnu_MR0300";
				break;
			case 4:
				js_NotLogin();
				//url = BASEURL+"/?_module=movieting&_do=receive&mnu=smnu_MR0400";
				break;
			case 5:
				js_NotLogin();
				//url = BASEURL+"/?_module=movieting&_do=list&mnu=smnu_MR0500";
				break;
			case 6:
				js_NotLogin();
				//url = BASEURL+"/?_module=movieting&_do=faq&mnu=smnu_MR0602";
				break;			
			}
			break;	
		case 5: //·©Å·
			switch(snum) {
			default:
				url = BASEURL+"/?_module=ranking";
				menuShowReset();
				break;
			case 1:
				js_NotLogin();
				//url = BASEURL+"/?_module=ranking&_do=weekly";
				break;
			case 2:
				js_NotLogin();
				//url = BASEURL+"/?_module=ranking&_do=honor";
				break;
			case 3:
				js_NotLogin();
				//url = BASEURL+"/?_module=ranking&_do=photo";
				break;
			case 4:
				js_NotLogin();
				//url = BASEURL+"/?_module=ranking&_do=chronicle";
				break;		
			}
			break;	
		case 6://¸ðµ¨Â¯
			switch(snum) {
			default:
				url = BASEURL+"/?_module=modelzzang";
				menuShowReset();
				break;
			case 1:
				js_NotLogin();
				//url = BASEURL+"/?_module=modelzzang&_do=face";
				break;
			case 2:
				js_NotLogin();
				//url = BASEURL+"/?_module=modelzzang&_do=body";
				break;
			case 3:
				js_NotLogin();
				//url = BASEURL+"/?_module=modelzzang&_do=swim";
				break;
			case 4:
				js_NotLogin();
				//url = BASEURL+"/?_module=modelzzang&_do=best5"
				alert( "ÇöÀç 5´ë ¸ðµ¨Â¯ ÅõÇ¥°¡ ÁøÇàÁßÀÔ´Ï´Ù." );
				break;
			case 5:
				js_NotLogin();
				//url = BASEURL+"/?_module=modelzzang&_do=interview";
				alert( "5´ë¸ðµ¨Â¯ Åõ·á ¿Ï·áÈÄ È®ÀÎ °¡´ÉÇÕ´Ï´Ù." );
				break;		
			}
			break;	
		case 7://ÆÃ½ÃÆ¼Á¸
			switch(snum) {
			default:
				url = BASEURL+"/?_module=community";
				menuShowReset();
				break;
			case 1:
				js_NotLogin();
				//url = BASEURL+"/?_module=community&_do=ucc";
				break;
			case 2:
				js_NotLogin();
				//url = BASEURL+"/?_module=community&_do=list&cc_key=11";
				break;
			case 3:
				js_NotLogin();
				//url = BASEURL+"/?_module=community&_do=list&cc_key=12";
				break;
			case 4:
				js_NotLogin();
				//url = BASEURL+"/?_module=community&_do=list&cc_key=13";
				break;				
			case 5:
				js_NotLogin();
				//url = BASEURL+"/?_module=community&_do=list&cc_key=14";
				break;
			case 6:
				js_NotLogin();
				//url = BASEURL+"/?_module=community&_do=list&cc_key=15";
				break;
			case 7:
				js_NotLogin();
				//url = BASEURL+"/?_module=community&_do=list&cc_key=16";
				break;	
			case 8:
				js_NotLogin();
				//url = BASEURL+"/?_module=community&_do=list&cc_key=Áø½ÇÅäÅ©";
				break;	
			case 9:
				js_NotLogin();
				//url = BASEURL+"/?_module=community&_do=list&cc_key=17";
				break;	
			}
			break;	
		case 8://¾ÆÀÌÅÛ½ÃÆ¼
			switch(snum) {
			default:
				url = BASEURL+"/?_module=itemshop";
				menuShowReset();
				break;
			case 1:
				js_NotLogin();
				//url = BASEURL+"/?_module=itemshop&_do=palace";
				break;
			case 2:
				js_NotLogin();
				//url = BASEURL+"/?_module=itemshop&_do=meeting";
				break;
			case 3:
				js_NotLogin();
				//url = BASEURL+"/?_module=itemshop&_do=meeting";
				break;
			case 4:
				js_NotLogin();
				//url = BASEURL+"/?_module=itemshop&_do=notice.list";
				break;
			case 5:
				js_NotLogin();
				//url = BASEURL+"/?_module=itemshop&_do=guide";
				break;
			case 6:
				js_NotLogin();
				//url = BASEURL+"/?_module=bead&_do=charge.free";
				break;			
			}
			break;	
		case 9://¸¶ÀÌÆäÀÌÁö
			switch(snum) {
			default:
				url = BASEURL+"/?_module=mypage";
				menuShowReset();
				break;
			case 1:
				js_NotLogin();
				//url = BASEURL+"/?_module=mypage";
				break;
			case 2:
				js_NotLogin();
				//url = BASEURL+"/?_module=mypage&_do=propose&mnu=smnu_MM0201";
				break;
			case 3:
				js_NotLogin();
				//url = BASEURL+"/?_module=mypage&_do=friend&mnu=smnu_MM0300";
				break;
			case 4:
				js_NotLogin();
				//url = BASEURL+"/?_module=mypage&_do=myfan&mnu=smnu_MM0400";
				break;
			case 5:
				js_NotLogin();
				//url = BASEURL+"/?_module=mypage&_do=setting&mnu=smnu_MM0600";
				break;
			case 6:
				js_NotLogin();
				//url = BASEURL+"/?_module=mypage&_do=account&mnu=smnu_MM0800";
				break;			
			}
			break;	
		case 10://ÀÌº¥Æ®
			switch(snum) {
			default:
				url = BASEURL+"/?_module=event";
				menuShowReset();
				break;
			case 1:
				js_NotLogin();
				//url = BASEURL+"/?_module=event";
				break;
			case 2:
				js_NotLogin();
				//url = BASEURL+"/?_module=event&_do=list";
				break;
			case 3:
				js_NotLogin();
				//popupWindow( "/?_module=helpdesk&_do=qna.mail&qna_type=6", "qnamail", 400, 600 );
			}
			break;	
		//CP¸Þ´º
		case 21://°ÔÀÓ
			url = BASEURL+"/?_module=game&_do=main2";
			break;
		case 22://À½¾Ç
			url = BASEURL+"/?_module=music";
			break;
		case 23://¿µÈ­
			url = BASEURL+"/?_module=movie";
			break;
		case 24://ÀÚ·á½Ç
			url = BASEURL+"/?_module=wawadisk";
			break;	
		case 25://¿©¿ì¾ß
			url = BASEURL+"/?_module=woman";
			break;	
		case 26://¿£ÅÙÃ÷
			url = BASEURL+"/?_module=entents";
			menuShowReset();
			break;			
		case 27://¼ºÀÎ
			url = BASEURL+"/?_module=adult";
			break;
		//TOP¸Þ´º	
		case 31://°í°´¼¾ÅÍ
			url = BASEURL+"/?_module=helpdesk&_do=guide";
			menuShowReset();
			break;	
		case 32://±¸½½ÃæÀü
			url = BASEURL+"?_module=bead&_do=charge";	// ?_module=bead&_do=charge ÀÌ°Ô ¸Â´Â °Ì´Ï´Ù.
			break;	
		case 33://È¸¿ø°¡ÀÔ
			url = BASEURL+"/?_module=sign";
			break;	
		case 34://·Î±×ÀÎ
			url = BASEURL+"/?_module=auth&_do=logon";
			break;	
		case 35://·Î±×¾Æ¿ô
			url = BASEURL+"/?_module=auth&_do=logout";
			break;	
		case 50://½ÃÀÛÆäÀÌÁö·Î
			setPage();
			break;	
		case 36://Á¤º¸¼öÁ¤
			js_GotoHompy(mem_no,'PROFILE', 'basic');
			break;	
	}
	if(url != "") {
		top.location.href=url;
	}
}
//½ÃÀÛÆäÀÌÁö
function setPage()
{
	setStartPage.style.behavior='url(#default#homepage)';
	setStartPagesetHomePage( document.domain );	
}

function flashValueMenu(url,mVar,sVar,aVar,lVar, gVar, fVar, tVar, width,height) { 

	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="'+width+'" height="'+height+'">');
	//document.write('<param name=movie value="'+url+'?mVar='+mVar+'&sVar='+sVar+'&aVar='+aVar+'&lVar='+lVar+'"');
	document.write('<param name=movie value="'+url+'?mVar='+mVar+'&sVar='+sVar+'&aVar='+aVar+'&lVar='+lVar+'&gVar='+gVar+'&fVar='+fVar+'&tVar='+tVar+'"');
	document.write('<param name=menu value="false">');
	document.write('<param name=scale value=noscale> ');
	document.write('<PARAM NAME=wmode VALUE="transparent">');
	document.write('<param name=quality value=high>');
	//document.write('<embed src="'+url+'?mVar='+mVar+'&sVar='+sVar+'&aVar='+aVar+'&lVar='+lVar+'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'">');
	document.write('<embed src="'+url+'?mVar='+mVar+'&sVar='+sVar+'&aVar='+aVar+'&lVar='+lVar+'&gVar='+gVar+'&fVar='+fVar+'&tVar='+tVar+'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'">');
	document.write('</embed> ');
	document.write('</object>');

}
