function openIndex() {
	location.href = newBaseURLForHeader + "/index.htm" ;
}
function openMember(strOption) {
	if (strOption == 'alreadyLogin') {
		location.href = newBaseURLForHeader + "/member/memberFunctionList.htm" ;
	} else {
		location.href = newBaseURLForHeader + "/member/memberLogin.htm" ;
	}
}
function openPreferentialList() {
	location.href = newBaseURLForHeader + "/preferential/preferentialList.htm" ;
}
function openWirelessArea() {
	location.href = newBaseURLForHeader + "/product/category_wireless.htm" ;
}
function openMediaArea() {
	location.href = newBaseURLForHeader + "/product/category_media.htm" ;
}
function openPDAArea() {
	location.href = newBaseURLForHeader + "/product/category_pda.htm" ;
}
function openSmartPhoneArea() {
	location.href = newBaseURLForHeader + "/product/category_smartPhone.htm" ;
}
function openServiceArea() {
	location.href = newBaseURLForHeader + "/service/category_service.htm" ;
}
function openPushEmail() {
	location.href = newBaseURLForHeader + "/service/service_pushEmail.htm" ;
}
function openProductList() {
	location.href = newBaseURLForHeader + "/product/productList.htm" ;
}
function openServiceList() {
	location.href = newBaseURLForHeader + "/service/serviceList.htm" ;
}
function openFAQ() {
	location.href = newBaseURLForHeader + "/faq/questionList.htm" ;
}
function openContact() {
	location.href = newBaseURLForHeader + "/service.htm" ;
}
function goPurchase(intPriceID) {
	submitURL = newBaseURLForHeader + "/member/memberLogin.htm" ;
	MyCAMEOForm.intPriceID.value = intPriceID ;
	MyCAMEOForm.action = submitURL ;
	MyCAMEOForm.submit() ;
}
function openPurchase() {
	location.href = newSSLBaseURLForHeader + "/member/purchase.htm" ;
}
function openPrivacy() {
	location.href = newBaseURLForHeader + "/privacy.htm" ;
}
function openContactUs() {
	location.href = newBaseURLForHeader + "/contactUs.htm" ;
}
function openLogout() {
	location.href = newBaseURLForHeader + "/member/memberLogout.htm" ;
}
function openLoginPannel() {
	MyCAMEOForm.optMenu.options[0].selected = true ;
	Layer1.style.visibility = "visible" ;
}
function checkLoginField() {
	MyCAMEOForm.action = newBaseURLForHeader + "/member/checkMember.htm" ;
	if (MyCAMEOForm.strUserAccount.value == "") {
		alert("請輸入帳號！") ;
		MyCAMEOForm.strUserAccount.focus() ;
		return false ;
	} else if (MyCAMEOForm.strUserPassword.value == "") {
		alert("請輸入密碼！") ;
		MyCAMEOForm.strUserPassword.focus() ;
		return false ;
	}
	return true ;
}
function openInputAccountWindow(strPurpose) {
	openURL = "/website/inputUserAccount.htm?strPurpose=" + strPurpose ;
	intWidth = 400 ;
	intHeight = 125 ;
	x = (screen.width - intWidth) / 2 ;
	y = (screen.height - intHeight) / 2 ;	

	strFeature = "scrollbars=yes,resizable=yes,width=" + intWidth + ",height=" + intHeight + ",top=" + y + ",left=" + x ;	
	window.open(openURL, "inputUserAccount", strFeature);
}
function openWirelessEnginePage() {
	openURL = "/website/service/service_engine.htm?strFromLocation=productList#benchmark" ;
	location.href = openURL ;
}
function openRegister() {
	//location.href = newBaseURLForHeader + "/member/userBasicInfo.htm?forEngineTrial=true" ;
	location.href = newSSLBaseURLForHeader + "/member/userBasicInfo.htm?forEngineTrial=true" ;
}
