// JavaScript Document
function f_GoMenu(code) {
	switch (code) {
		// À§µå»õ¼Ò½Ä
		case 100 :
			location.href = "index.php";
			break;
		case 110 :			
			location.href = "index.php";
			break;
		case 120 :			
			location.href = "index.php";
			break;
			
		// À§µå¼Ò°³
		case 200 :
			location.href = "index.php?op=user";
			break;
		case 210 :
			location.href = "index.php?op=myaccount";
			break;
		case 220 :
			location.href = "index.php?op=register";
			break;




		
		//°ÔÀÓ°¡ÀÌµå
		case 300 :
			location.href = "index.php?op=rates";
			break;
		case 301 :
			location.href = "";
			break;
		case 302 :
			location.href = "";
			break;
		case 303 :
			location.href = "";
			break;
		case 304 :
			location.href = "";
			break;
		case 305 :
			location.href = "";
			break;
		case 306 :
			location.href = "";
			break;
		case 307 :
			location.href = "";
			break;
		case 310 :
			location.href = "index.php?op=dedicated";
			break;
		case 320 :
			location.href = "index.php?op=status";
			break;
		case 330 :
			location.href = "index.php?op=statistics";
			break;
			
		//ÀÚ·á½Ç
		case 400 :
			location.href = "index.php?op=rankings";
			break;
		case 410 :
			location.href = "index.php?op=rankings";
			break;
		case 420 :
			location.href = "index.php?op=rankings";
			break;			
		case 430 :
			location.href = "index.php?op=search";
			break;
			
		case 500 :
			location.href = "index.php?op=downloads";
			break;
		case 510 :
			location.href = "index.php?op=Others";
			break;

//ÇÁ¸®¹Ì¾öÁ¸
		case 600 :
			location.href = "index.php?op=forum";
			break;
		case 620 :
			location.href = "index.php?op=admins";
			break;
		case 610 :
			location.href = "index.php?op=faq";
			break;
		
//°í°´Áö¿ø
		case 700 :
			location.href = "index.php?op=forum";
			break;
		case 710 :
			location.href = "support/ask.asp";
			break;
		case 720 :
			location.href = "support/report_list.asp";
			break;
	

//membership
		case 900 :
			location.href = "index.php?op=myaccount";
			break;
		case 901 :
			location.href = "index.php?op=myaccount";
			break;
		case 910 :
			location.href = "index.php?op=myaccount";
			break;
		case 920 :
			location.href = "index.php?op=myaccount";
			break;
		case 930 :
			location.href = "index.php?op=myaccount";
			break;						
//		case 940 :
//			location.href = "index.php?op=myaccount";
//			break;							
//		case 950 :
//			location.href = "index.php?op=myaccount";
//			break;		
								


//±âÅ¸
		case 980 :
			location.href = "index.php?op=myaccount";
			break;
		case 999 :
			location.href = "index.php?op=myaccount";
			break;
		
		default :
			location.href = "index.php";
	}
}


function f_OpenWindow(strUrl, strWinName, strFeature) {
	window.open(strUrl, strWinName, strFeature);
}

helpBox = new QuickHelper('event');
helpBox.setWidth(270);
helpBox.setBackgroundOpacity('80');
helpBox.setBorderWidth(1);
helpBox.setCursor('default');