function CustomerWindow(StrMenu)
{
	var Customer_URL= "";
	var fullURL = "";
	
	if (StrMenu=="question") {
		Customer_URL ="/customer/question/exMailQuestion.asp";
	} else if (StrMenu=="question_notmember")	{
		Customer_URL ="/customer/question/exMailQuestion.asp?notmember=true";
	
	} else if (StrMenu=="myask")	{
		Customer_URL ="/customer/myask/myask_list.asp";
	
	} else if (StrMenu=="policy")	{
		Customer_URL ="/customer/policy.asp";
	
	} else if (StrMenu=="faq")	{
		Customer_URL ="/customer/faq/exSelfFAQS.asp";
	
	} else if (StrMenu=="policy_jce")	{
		Customer_URL ="/customer/JCe_policy.asp";
	
	} else if (StrMenu=="cash")	{
		Customer_URL ="/customer/cash.asp";
	
	} else if (StrMenu=="protection")	{
		Customer_URL ="/customer/protection_aeronauts.asp";
	
	} else if (StrMenu=="individual")	{
		Customer_URL ="/customer/protection_individual.asp";
	
	} else if (StrMenu=="young")	{
		Customer_URL ="/customer/protection_young.asp";
	
	}

	if (Customer_URL.substring(0,7) =="http://")	{
		fullURL = Customer_URL;
	} else {
		fullURL = HELP_SERVER+Customer_URL;
	}
	openCenter(fullURL, "HelpWindow", 857, 600, "toolbar=no,menubar=no,location=no,directories=no,scrollbars=yes,status=yes");
}


function openCenter(url, target, width, height, option) {

	LeftPosition = (screen.availWidth) ? (screen.availWidth-width)/2 : 0;
	TopPosition = (screen.availHeight) ? (screen.availHeight-height)/2 : 0;

	if (option != "") {
		option = option + "," + option
	}
	window.open(url, target,"width=" + width + ",height=" + height + ",top="+TopPosition+",left="+LeftPosition+option);
}




function goCard(userIDIndex) {
	openCenter("http://gx-cont.joycity.com/weblevels/levels.do?uidx="+userIDIndex, "_popcard", 515, 570, "toolbar=no,menubar=no,location=no,directories=no,scrollbars=yes,status=yes")
}

function goEpointList(userIDIndex) {
	openCenter("http://gx-cont.joycity.com/weblevels/epointlogs.do?uidx="+userIDIndex, "_popepoint", 515, 570, "toolbar=no,menubar=no,location=no,directories=no,scrollbars=yes,status=yes")
}

function goAttend() {
	openCenter("http://gx-cont.joycity.com/attend/attend.do", "_popattend", 360, 330, "toolbar=no,menubar=no,location=no,directories=no,scrollbars=yes,status=yes")
}

function goAvatar() {
	openCenter("http://gx-cont.joycity.com/weblevels/avatar.do", "_popcard", 518, 590, "toolbar=no,menubar=no,location=no,directories=no,scrollbars=yes,status=yes")
}
