

function home() {  //È¨
	this.window.location.href="/index.jsp";
}

function login() {
	window.name="main";
	var returnURL = location.href.substring(location.href.substring(7).indexOf('/')+7);
	window.open("/jsp/common/pop_COLogin.jsp?returnURL="+escape(returnURL), "", "width=417,height=280");
}

function logout(){
	//var returnURL = location.href.substring(location.href.substring(7).indexOf('/')+7);
	
	if (TridConfirm("·Î±×¾Æ¿ô", "·Î±×¾Æ¿ô ÇÏ½Ã°Ú½À´Ï±î?", 417, 220)) {
		if (opener != null) {
			this.window.location.href = "/servlet/trid.user.USLogoutEE?bPop=1";
		}
		else {
			//this.window.location.href = "/servlet/trid.user.USLogoutEE?returnURL="+returnURL;
			this.window.location.href = "/servlet/trid.user.USLogoutEE";
		}
	}
}

function join() {
	this.window.location.href = "/servlet/trid.user.regist.USAgreeIF1?pageNum=5";
}

function join2() {
	this.window.location.href = "/servlet/trid.user.regist.USAgreeIF1";
}

function find() {
	this.window.location.href = "/servlet/trid.myPage.find.MPFindIdIF";
}

function find2() {
	this.window.location.href = "/servlet/trid.myPage.find2.MPFindIdIF";
}

function goWorld() {
	this.window.location.href = "/servlet/trid.c2town.HttpGameClientApi?data=login";
	//http://zzang.c2town.com/servlet/trid.c2town.HttpGameClientApi?data=login
}

function charge() {
	alert("Ä³½ÃÃæÀü!");
}


function sub01_01() {
	this.window.location.href="/servlet/trid.board.svc.BDSvcLF?bbsId=1&pageNum=0&subNum=0";
}



function sub02_01() {  //
	//popMessageWnd("pop_up À¸·Î html ÆÄÀÏ ¸¸µé °Í");
	this.window.location.href="/jsp/resourcemall/RMMainHF.jsp";
}

function sub02_02() {  //
	//popMessageWnd("ÁØºñÁßÀÔ´Ï´Ù.");
	this.window.location.href="/servlet/trid.board.svc.BDSvcLF?bbsId=7&pageNum=1&subNum=1";
}

function sub02_03() {  //
	//popMessageWnd("ÁØºñÁßÀÔ´Ï´Ù.");
	this.window.location.href="/servlet/trid.board.svc.BDSvcLF?bbsId=8&pageNum=1&subNum=2";
}

function sub02_04() {  //
	//popMessageWnd("ÁØºñÁßÀÔ´Ï´Ù.");
	this.window.location.href="/servlet/trid.board.svc.BDSvcLF?bbsId=9&pageNum=1&subNum=3";
}

function sub02_05() {  //
	//popMessageWnd("ÁØºñÁßÀÔ´Ï´Ù.");
	this.window.location.href="/servlet/trid.board.svc.BDSvcLF?bbsId=10&pageNum=1&subNum=4";
}



function sub03_01() {  //
	this.window.location.href="/servlet/trid.board.svc.BDSvcLF?bbsId=2&pageNum=2&subNum=0";
}

function sub03_02() {  //
	this.window.location.href="/servlet/trid.community.event.CMEventLF?pageNum=2&subNum=1";
}

function sub03_03() {  //
	this.window.location.href="/servlet/trid.board.svc.BDSvcLF?bbsId=3&pageNum=2&subNum=2";
}


function sub04_01() {  //FAQ
	this.window.location.href="/servlet/trid.help.faq.HPFaqLF?pageNum=3&subNum=0";
}

function sub04_02() {  //
	this.window.location.href="/jsp/help/system/HPSystemHF.jsp?pageNum=3&subNum=2";
	//window.open("http://wiki.tri-d.com");
}

function sub04_03() {  //
	//popMessageWnd("ÁØºñÁßÀÔ´Ï´Ù.");
	//this.window.location.href="/jsp/help/system/HPSystemHF.jsp?pageNum=3&subNum=2";
	this.window.location.href="/servlet/trid.help.ask.HPAskLF?pageNum=3&subNum=3";
}

function sub04_04() {  //
	//this.window.location.href="/servlet/trid.help.ask.HPAskLF?pageNum=3&subNum=3";
}

// footer ***************************************************
function agreement01_use() {
	this.window.location.href = "/jsp/footer/FOServiceRuleHF.jsp";
}

function agreement02_cash() {
	this.window.location.href = "/jsp/footer/FOCashRuleHF.jsp";
}

function agreement03_personal() {
	this.window.location.href = "/jsp/footer/FOPrivacyRuleHF.jsp";
}

function agreement04_young() {
	this.window.location.href = "/jsp/footer/FOTeenagerRuleHF.jsp";
}

function agreement05_cp() {
	this.window.location.href = "/jsp/footer/FOContactAboutHF.jsp";
}




function guide_01() {  //
	this.window.location.href="";
}

function guide_02() {  //
	this.window.location.href="";
}
function guide_03() {  //
	this.window.location.href="";
}
function guide_04() {  //
	this.window.location.href="";
}

function pop_guide() {  //
	
	window.open("/jsp/guide/pop_GDGuideHF.jsp","popGuide","width=450, height=400");
}

function wiki() {  //
	
	window.open("http://wiki.tri-d.com");
}
