/*==============================================================================================
   HTML Parsing Blocks. The following vars contain HTML code to be inserted in the Register
   Today HTML pages based on the business logic, e.g., whether the registration is for a company
   or individual, whether an old serial number is needed, whether State/Region/Province is 
   required, etc.

   (C) Copyright 2000 by Autodesk, Inc.  All rights reserved.
  ==============================================================================================*/

/////////////////////////////////////////////
// LOCALIZATION RESOURCES HERE:
/////////////////////////////////////////////

/////////////////////////////////////////////
// Product Language: NOTE TO LOCALIZATION: The list below was inserted on 29 Jan 2001 and it was up to date at that point.
// You may use the codes detailed below if you are sure that these have not changed (they generally don抰 change), otherwise, 
// please check these before inserting the language code.
/////////////////////////////////////////////
//
//English - US and International:  (en-us)
//German:  (de)
//French:   (fr)
//Italian:   (it)
//Spanish:   (es)
//Czech:   (cs)             
//Hungarian:   (hu)
//Polish:   (pl)
//Russian:   (ru)
//Japanese:   (ja)
//Korean:   (ko)
//Traditional Chinese (Taiwan) :   (zh-tw)
//Simplified Chinese (PRC) :   (zh-cn)
//
/////////////////////////////////////////////

var xmsgProductLanguage=	"zh-cn";

/////////////////////////////////////////////
// Software Information RESOURCES HERE:
/////////////////////////////////////////////
var xmsgProduct = "产品: ";
var xmsgsernum = "序列号: ";
var xmsgOsernum = "旧序列号: ";
var xmsgOldSerialNum = "旧序列号*:";
var xmsgNewSernum1 = "新序列号";
var xmsgNewSernum2 = "新序列号*";
var xmsgRequestCode = "申请号: ";
var xmsgRegAuthCode = "授权号: ";
var xmsgApplicationKey=	"授权申请号: ";

/////////////////////////////////////////////
// Primary Rolodex RESOURCES HERE:
/////////////////////////////////////////////
var xmsgSalutation = "称呼";
var xmsgFirstname = "姓氏*";
var xmsgFirstname2 = "姓氏";
var xmsgLastname = "名字*";
var xmsgLastname2 = "名字";
var xmsgCompanyName = "公司名称*";
var xmsgCompanyName2 = "公司名称";
var xmsgPhone = "电话号码*";
var xmsgPhone2 = "电话号码";
var xmsgFax = "传真号码";
var xmsgEmail = "电子邮件";
var xmsgAddress = "地址*";
var xmsgAddress2 = "地址";
var xmsgCity = "城市*";
var xmsgCity2 = "城市";
var xmsgSRP = "州/地区/省";
var xmsgStText = "州";
var xmsgPrText = "省";
var xmsgRegText = "地区";
var xmsgZipCode = "邮政编码";
var xmsgPostCode = "邮政编码";
var xmsgCountry = "国家和地区";
var xmsgDealer = "经销商名称";
var xmsgAppUsageQ1 = "软件的主要用途";
var xmsgAppUsageQ2 = "选择所有应用*";
var xmsgAppUsage = "软件的主要应用";

///////////////////////////////////////////////
// Salutation RESOURCES HERE:
///////////////////////////////////////////////
var xmsgADM = "Adm.";
var xmsgARCH = "Arch.";
var xmsgARQ = "Arq.";
var xmsgARQA = "Arqa.";
var xmsgAVV = "Avv.";
var xmsgCA = "Ca.";
var xmsgCAPT = "Capt.";
var xmsgCOL = "Col.";
var xmsgCOMM = "Comm.";
var xmsgDHR = "Dhr.";
var xmsgDOTT = "Dott.";
var xmsgDOTTSSA = "Dott.ssa";
var xmsgDR = "Dr.";
var xmsgDRA = "Dra.";
var xmsgDRS = "Drs.";
var xmsgENG = "Eng.";
var xmsgENGA = "Enga.";
var xmsgFR = "Fr.";
var xmsgFRAU = "Frau";
var xmsgGEN = "Gen.";
var xmsgGEOM = "Geom.";
var xmsgHERR = "Herr";
var xmsgHERRN = "Herrn";
var xmsgING = "Ing.";
var xmsgIR = "Ir.";
var xmsgLIC = "Lic.";
var xmsgLT = "Lt.";
var xmsgM = "M.";
var xmsgME = "Me.";
var xmsgMEVR = "Mevr.";
var xmsgMISS = "Miss";
var xmsgMLLE = "Mlle";
var xmsgMME = "Mme";
var xmsgMR = "Mr.";
var xmsgMRS = "Mrs.";
var xmsgMS = "Ms.";
var xmsgNR = "Nr.";
var xmsgOFFCR = "Officer";
var xmsgPAN = "Pan";
var xmsgPANI = "Pani";
var xmsgPE = "Pe.";
var xmsgPI = "Pi.";
var xmsgPM = "Pm.";
var xmsgPROF = "Prof.";
var xmsgPROFRE = "Prof.re";
var xmsgPROFSSA = "Prof.ssa";
var xmsgPROFA = "Profa.";
var xmsgSIG = "Sig.";
var xmsgSIGRA = "Sig.ra";
var xmsgSIR = "Sir";
var xmsgSR = "Sr.";
var xmsgSRA = "Sra.";
var xmsgSRTA = "Srta.";

///////////////////////////////////////////////
// Button RESOURCES HERE:
///////////////////////////////////////////////
var xmsgBack = "上一步";
var xmsgCancel = "取消";
var xmsgExit = "退出";
var xmsgFinish = "完成";
var xmsgNext = "下一步";
var xmsgPrint = "打印";
var xmsgNo = "否";
var xmsgYes = "是";
var xmsgRegister= "注册";
var xmsgAuthorize= "授权";


///////////////////////////////////////////////
// Registration User Prompt RESOURCES HERE:
///////////////////////////////////////////////
var xmsgPleaseSelect = "请选择 ";
var xmsgPleaseSelect2 = "请选择一个选项并单击“下一步”。";
var xmsgSelectCountry = "选择国家或地区:";
var xmsgInformation = "信息";
var xmsgCompanyInfo = "公司信息";
var xmsgContactInfo = "联系信息";
var xmsgSoftwareInfo = "软件信息";
var xmsgConfirmInfo = "确认信息";
var xmsgConfirmInfoTxt = "请确认下面输入的信息并单击“下一步”。";
var xmsgCountryHdr = "注册";
var xmsgCountryRegTo = "本产品注册给:";
var xmsgCountryComp = "公司";
var xmsgCountryIndiv = "个人";
var xmsgCountryUpgrade = "是否是升级版？";
var xmsgCountryUpgDetail = "（如果注册的是升级版，将会提示输入旧序列号）";
var xmsgConnectHdr = "连接";
var xmsgConnectTxt = "如果尚未连接到 Internet，请立即连接。连接后单击“下一步”。";
var xmsgTryAgain = "重试";
var xmsgReEnterOld = "重输入旧序列号";
var xmsgNewSernum3 = "请输入新序列号并单击“下一步”。";
var xmsgNewSernum4 = "试用版软件安装时使用了序列号 (000-00000000)，此序列号无法注册。\
			如果购买一份本软件，您会得到一个新序列号。必须使用此序列号进行授权，\
			使产品可以投入使用。";
var xmsgNewSernum5 = "新序列号*";
var xmsgNewSernum6 = "确认新序列号*";
var xmsgNewSernum7 = "提供给本次注册的新序列号无效。请选择一个选项并单击“下一步”。";
var xmsgNewSernum8 = "重输入新序列号";
var xmsgUseOtherMethod = "使用另一种注册方法";
var xmsgContactAutodesk = "与 Autodesk 联系";
var xmsgContactOptions = "联络方式显示如下:";

var xmsgPuchaseInfo1 = "购买信息";
var xmsgPuchaseInfo2 = "您已经选择联机购买。下列屏幕:";
var xmsgPuchaseInfo3 = "收集必要的信息";
var xmsgPuchaseInfo4 = "将此信息存储在计算机上以便注册时使用";
var xmsgPuchaseInfo5 = "允许确认过程的每一步";
var xmsgPuchaseInfo6 = "确认软件购买和授权";
var xmsgPuchaseInfo7 = "请单击“下一步”继续；如果不需要继续，可单击“取消”。";

var xmsgRegTitle = "注册 Autodesk 产品";
var xmsgRegTitleBuy = "联机购买 Autodesk 产品";
var xmsgRegInfo = "注册信息";
var xmsgRegInfo2 = "注册方法";
var xmsgRegInfo3 = "请选择一种注册方法并单击“下一步”。";
var xmsgRegmethod1=		"通过 Internet 直接连接";
var xmsgRegmethod2 = "传真申请";
var xmsgRegmethod3 = "电子邮件申请";
var xmsgRegmethod4 = "邮件申请";
var xmsgRegmethod5 = "邮件注册";
var xmsgRegmethod6 = "单击下面的“打印”，并将此表格邮寄给:";
var xmsgRegmethod7 = "传真注册";
var xmsgRegmethod8 = "单击下面的“打印”，并将此表格传真给:";
var xmsgRegmethod9 = "电子邮件注册";
var xmsgRegmethod10 = "1) 选择整个信息 (Ctrl-A)，复制 (Ctrl-C)，然后将其粘贴到电子邮件中。";
var xmsgRegmethod11 = "2) 将电子邮件发送到: ";
var xmsgRegmethod12 = "如果通过电子邮件进行注册，您将会在四个工作日内收到来自 Autodesk 的响应。您也可以与 Autodesk 联系。";
var xmsgRegmethod13 = "创建电子邮件";
var xmsgRegAuthInfo = "注册和授权";
var xmsgRegAuthInfo1 = "授权";
var xmsgRegAuthInfo2 = "注册和授权 (获取授权号)";
var xmsgRegAuthInfo3 = "输入授权号 (拥有授权号)"; 
var xmsgRegAuthInfo4 = "授权号";
var xmsgRegAuthInfo5 = "请选择国家或地区、输入授权号，并单击“下一步”。";
var xmsgRegAuthInfo6 = "授权确认";	
var xmsgRegAuthInfo7 = "感谢您进行注册 - 您的产品现在已经得到授权。请记录序列号和授权号。如果需要保存这一页，\
			请单击“打印”。";
var xmsgRegAuthInfo8 = "注册确认";		
var xmsgRegAuthInfo9 = "感谢您注册 Autodesk 产品。这将帮助我们为您提供更好的服务。";
var xmsgRegAuthInfo10=		"您的注册信息保存在 ";		
var xmsgRegErrorHdr = "注册错误";
var xmsgRegErrorSystem = "发生临时系统问题。请选择一个选项并单击“下一步”。";
var xmsgRegErrorOnline = "本次注册不能联机完成。请与 Autodesk 联系。";
var xmsgRegErrorPrevReg = "此序列号已经注册，注册过程不能联机完成。请与 Autodesk 联系。";
var xmsgRegErrorMaxAuth = "您已经超出了本产品所允许的授权数目。请与 Autodesk 联系。";
var xmsgRegErrorInvalidOld = "提供给本次注册的旧序列号无效。请选择一个选项并单击“下一步”。";
var xmsgRegErrorData = "提供的注册信息存在问题。请选择一个选项并单击“下一步”。";
var xmsgRegErrorNetwork = '尝试注册的产品是一个网络授权的产品，必须进行网络安装。必须删除该软件，\
			然后选择“网络”进行网络安装。请参见“安装手册”的网络安装部分。';
var xmsgRegNoResponse = '发生临时系统问题，无法进行联机授权。请选择一个选项并单击“下一步”。';
var xmsgRegErrorAuthEntry = '输入的授权号存在问题。请选择一个选项并单击“下一步”。';
var xmsgRegErrorAuth = "授权号存在问题。请选择一个选项并单击“下一步”。";
var xmsgRegConnError = "连接错误";
var xmsgRegConnErrorTxt = "Internet 连接存在问题。请选择一个选项并单击“下一步”。";
var xmsgRegPurchError1 = "购买错误";
var xmsgRegPurchError2 = "此购买事务没有联机完成。请选择一个选项并单击“下一步”。";
var xmsgRegPurchError3=		"使用另一种购买方法";
var xmsgRegPurchError4 = "发生临时系统问题，无法进行联机购买。请选择一个选项并单击“下一步”。";
var xmsgRegPurchError5=		'感谢您选择购买 Autodesk 软件，但现在还不能\
							 进行联机购买。<p>要继续购买，请选择下列两个选项\
							 之一:<br>(选择下面的选项将打开一个新的浏览器窗口)';

var xmsgPurchTransErrHdr=	"购买事务发生错误";
var xmsgPurchTransError1=	"需要一个新的序列号来完成您的购买 - 没有新序列号。<br>请与 Autodesk 联系。";
var xmsgPurchTransError2=	"与您的服务器确认序列号时发生错误。<br>请与 Autodesk 联系。";
var xmsgAuthErrHdr=			"授权错误";
var xmsgThankForPurchase=	"感谢您购买 Autodesk 软件";
var xmsgAuthError1=			"发生临时问题，不能授权。 \
							请选择一个选项并单击“下一步”。";
var xmsgRentalInfo=			"如果您选择租用产品，租用期从您的授权开始。";
var xmsgRegLaterInfo=		"要立即注册，请单击“注册”。如果您希望以后再注册，请在产品中选择“帮助”-\
							 “联机购买”，然后选择“授权”。";
var xmsgAuthorizeNow=		"立即授权";
var xmsgAuthorizeLater=		"以后授权";
var xmsgPurchOtherProdInfo=	"如果您要购买其它产品，请运行该软件并选择“帮助”-“联机购买”。";
var xmsgPurchAdditionalProdInfo=	"如果您要购买更多的产品，可以在任何时候单击\
									 “帮助”-“联机购买”来进行购买。";
var xmsgRegAndAuthInfo=		"您的产品已注册且已授权。";
var xmsgRegButNotAuthInfo=	"您的产品已注册，但尚未授权。";
var xmsgRegisteredInfo=		"您的产品已注册。";
var xmsgNotRegOrAuthInfo=	"您的软件尚未注册和授权。";
var xmsgToAuthorizeInfo=	"要立即授权，请选择“授权”。"
var xmsgRegAndActiveRentalInfo=	"您的产品已注册，现在开始计算您购买的租用期。";
var xmsgAuthNowOrLaterInfo=	"如果您希望以后再注册，请选择“帮助”-“联机购买”，然后选择“授权”。";
var xmsgRemindRentalInfo=	"当租用到期时，您会得到提示。"
var xmsgPurchHdr=			"购买确认";
var xmsgRentalPurchHdr=		"租用";

var xmsgAuthResellerInfo=	"<a href=http://www.autodesk.com/supp/asc/northam/usa/usfindpd.htm target=_blank>\
				已授权的经销商</a> (http://www.autodesk.com/supp/asc/northam/usa/usfindpd.htm)<br>\
							 请与本地经销商联系，完成您的购买。";

/////////////////////////////////////////////
// Online Store Default URL HERE:
/////////////////////////////////////////////
var xmsgOnlineStoreDefaultURL=	"http://www.autodesk.com/estore/usa/index.htm";
var xmsgOnlineStoreURL=			"";
var xmsgOnlineStoreInfo=		"";

function SetOnlineStoreURLInfo() {
	xmsgOnlineStoreInfo=	"<a href=" + xmsgOnlineStoreURL + " target=_blank>网上商店</a> (" + xmsgOnlineStoreURL + ")<br>\
							 在 Autodesk 联机商店完成购买。如果您在联机商店中\
							 找不到您需要的产品，请与授权经销商联系。";
}

	//	Australia
var xmsgOnlineStoreURLAU=		"http://www.modusmedia-asia.com/autodeskau";
	//	Belgium
var xmsgOnlineStoreURLBE=		"http://estore.autodesk.com/dr/v2/ec_MAIN.Entry?SP=10007&amp;SID=25938&amp;CID=0&amp;CUR=56";
	//	Canada
var xmsgOnlineStoreURLCA=		"http://www.autodesk.com/estore/canada/index.htm";
	//	France
var xmsgOnlineStoreURLFR=		"http://estore.autodesk.com/v2.0-img/operations/autodkfr/desc/index.html";
	//	Germany
var xmsgOnlineStoreURLDE=		"http://estore.autodesk.com/v2.0-img/operations/autodkde/desc/";
	//	Hong Kong
var xmsgOnlineStoreURLHK=		"http://www.modusmedia-asia.com/autodeskhk";
	//	Ireland
var xmsgOnlineStoreURLIE=		"http://estore.autodesk.com/v2.0-img/operations/autodkir/desc/";
	//	Italy
var xmsgOnlineStoreURLIT=		"http://estore.autodesk.com/dr/v2/ec_MAIN.Entry?SP=10007&amp;SID=25831&amp;CID=0&amp;CUR=380";
	//	Japan
var xmsgOnlineStoreURLJP=		"http://www.modusmedia-asia.com/autodesk";
	//	Korea
var xmsgOnlineStoreURLKR=		"http://www.modusmedia-asia.com/autodesk";
	//	Netherlands
var xmsgOnlineStoreURLNL=		"http://www.digitalriver.com/v20/plsql/ec_MAIN.Entry?SP=10007&amp;SID=25937&amp;CID=0&amp;CUR=528";
	//	New Zealand
var	xmsgOnlineStoreURLNZ=		"http://www.modusmedia-asia.com/autodesknz";
	//	Singapore
var xmsgOnlineStoreURLSG=		"http://www.modusmedia-asia.com/autodesksg";
	//	Sweden
var xmsgOnlineStoreURLSE=		"http://estore.autodesk.com/dr/v2/ec_MAIN.Entry?SP=10007&amp;SID=25931&amp;CID=0&amp;CUR=752";
	//	Taiwan
var xmsgOnlineStoreURLTW=		"http://www.modusmedia-asia.com/autodesktw";
	//	UK
var xmsgOnlineStoreURLGB=		"http://estore.autodesk.com/v2.0-img/operations/autodkuk/desc/";

/////////////////////////////////////////////
// Single User Network RESOURCES HERE:
/////////////////////////////////////////////
var xmsgRegSunData1 = "注册数据已保存";
var xmsgRegSunData2 = "客户端展开所需的注册数据已经保存在 ";
var xmsgRegSunData3 = "提供给本次升级注册的旧序列号无效。请与管理员联系。";
var xmsgRegSunData4 = "本软件必须以有效的旧序列号重新安装。";
var xmsgRegSunData5 = "单用户网络安装";
var xmsgRegSunData6 = "为了完成单用户网络服务器安装，需要输入某些注册信息。随后的对话框将:";
var xmsgRegSunData7 = "收集必要的信息。";
var xmsgRegSunData8 = "如果升级时需要，可输入旧序列号。";
var xmsgRegSunData9 = "在服务器上存储此信息，以便展开到所有的客户端安装。";
var xmsgRegSunData10 = "此软件将用以下信息注册。单击“下一步”继续。";

/////////////////////////////////////////////
// Voluntary RESOURCES HERE:
/////////////////////////////////////////////
var xmsgRegVol1 = "产品注册";
var xmsgRegVol2 = "请选择下列选项之一并单击“下一步”:";
var xmsgRegVol3 = "现在注册 - 选择此选项开始联机注册";
var xmsgRegVol4 = "以后注册 - 选择此选项试用此软件";
var xmsgRegVol5 = "不再显示此消息";
var xmsgRegVol6 = "(如果希望以后再注册，可以在“帮助”-“关于”对话框中选择注册选项。)";

/////////////////////////////////////////////
// Japan RESOURCES HERE:
/////////////////////////////////////////////
var xmsgCustIDMainTitle = "Customer Identification";
var xmsgCustIDTitle1 = "Customer ID";
var xmsgCustIDText2 = "Enter your Customer ID and telephone number below. If you do not have a Customer ID, leave both fields blank. Click Next to continue.";
var xmsgCustIDTitle2 = "Telephone Number";
var xmsgCustIDTelEx4 = "(example: 03-111-1234)";
var xmsgRegCustIDTel = "The Customer ID and telephone number that you entered do not match. Please select an option and click Next.";
var xmsgPhoneNoAst = "Phone Number";
var xmsgKatakana = "Katakana company name*";
var xmsgKatakana2 = "Katakana company name";
var xmsgDepartment = "Department name*";
var xmsgDepartment2 = "Department name";

/////////////////////////////////////////////
// Autodesk Contact RESOURCES HERE:
/////////////////////////////////////////////
var xmsgFormWebHdr = "Web";
var xmsgFormWebData = "https://register.autodesk.com";
var xmsgFormWebData2=	'*(授权号可从经销商或 \
			<a href=https://register.autodesk.com target="_blank">https://register.autodesk.com</a> 获取)';
var xmsgFormEmailHdr = "电子邮件";
var xmsgFormEmailData = "";
var xmsgFormFaxHdr = "传真";
var xmsgFormFaxHdrLocal = "传真本地办公室";
var xmsgFormFaxHdrReg = "传真注册";
var xmsgFormFaxData = "";
var xmsgFormFaxDataRegister = "";
var xmsgFormCallHdr = "电话";
var xmsgFormCallData = "";
var xmsgFormMailHdr = "邮件";
var xmsgFormMailHdrLocal = "邮件本地办公室";
var xmsgFormMailHdrReg = "邮件注册";
var xmsgFormMailData = "";
var xmsgFormMailDataRegister = "";
var xmsgFormPurchHdr = "购买软件";
var xmsgFormPurchData = "http://www.autodesk.com/purchase/usa/index.htm";

var xmsgFormEmailDataUS = "authcodes@autodesk.com";
var xmsgFormFaxDataUS = "800-225-6490 或 415-507-4690";
var xmsgFormCallDataUS = "415-507-4690 或 800-551-1490";			 
var xmsgFormMailDataUS = "产品注册<br>Autodesk Inc<br>111 McInnis Parkway<br>San Rafael, CA 94903";

var xmsgFormEmailDataEMA=	"authcodes.neu@autodesk.com";
var xmsgFormFaxDataEMA = "+41-32-723-9169";
var xmsgFormMailDataEMA = "Autodesk Development S.a.r.l.<br>Puits-Godets 6<br>Case postale 35<br>CH-2005 Neuchatel<br>Switzerland";

var xmsgFormEmailDataAPC = "prod.reg.chn@autodesk.com";
var xmsgFormFaxDataAPC = "010-6505-6858";
var xmsgFormMailDataAPC = "欧特克（中国）有限公司<br>北京市建国门外大街 1 号<br>国贸大厦 2 座 2911-2915 室<br>邮政编码: 100004";

/////////////////////////////////////////////
// Privacy Statement RESOURCES HERE:
/////////////////////////////////////////////

var xmsgPrivacy=       '您提供的信息将由 Autodesk 用来注册和/或发出您的授权号，及时向您通报我们的产品和服务，\
			以及确保您获得授权 Autodesk 用户的应有好处。Autodesk 不会将您的信息出售或以任何方式提供给 Autodesk \
			或授权业务伙伴之外的任何人。<br><br> \
			要更正或更新您的注册数据: 在美国、加拿大或拉丁美洲，请遵循\
			<a href=http://autodeskgs.custhelp.com/cgi-bin/autodeskgs/faq target="_blank">\
			http://autodeskgs.custhelp.com/cgi-bin/autodeskgs/faq</a>. \
			“地址变更”页面上包括的说明。\
			在欧洲、中东或非洲 (EMEA)，请向 <a href="mailto:authcodes.neu@autodesk.com">\
			authcodes.neu@autodesk.com</a> 发电子邮件，或向 +41-32-723-9169 发传真。\
			在亚太地区，请向 <a href="mailto:ap.register@autodesk.com"> \
			ap.register@autodesk.com</a> 或 <a href="mailto:japan.register@autodesk.com"> \
			japan.register@autodesk.com</a> (仅用于日本) 发电子邮件，或向 +65-4700728 发传真。\
			';

/////////////////////////////////////////////

//=======================================================================
// Header Insert Blocks
//=======================================================================

// Set Registration Info Header
var InsertRegInfo =     ' <br><p><b>'+xmsgRegInfo+'</b></p>\
			  <p>用<font color="red">红色</font>\
  			  和星号&nbsp(<font color="red">*</font>)&nbsp\
			  标记的字段是处理您的注册所必需的。请完成表单\
                          并单击“下一步”。</p>';

// Set Confirm Info Header
var InsertConfirmInfo = ' <br><p><b>'+xmsgConfirmInfo+'</b></p>\
			  <p>'+xmsgConfirmInfoTxt+'</p>';

// Set the Software Info Header
var InsertSoftwareBar = ' <b>'+xmsgSoftwareInfo+'</b>';

// Set the Primary Application Usage Header
var InsertAppUsageBar = '<b>'+xmsgAppUsageQ1+'</b><br>\
			 <font color="red">'+xmsgAppUsageQ2+'</font>';

//=======================================================================
// Serial Number & License Insert Blocks
//=======================================================================

// Set Product Confirm Field <CONFIRM>
var ProductConfirm = ' <tr>\
			  <td>'+xmsgProduct+'&nbsp;</td>\
			  <td valign="top" align="left"><font color="#848284">'+product+'</font></td>\
			</tr>';

// Set Serial Number Field <CONFIRM>
var sernumConfirm = ' <tr>\
			  <td>'+xmsgsernum+'&nbsp;</td>\
			  <td valign="top" align="left"><font color="#848284">'+sernum+'</font></td>\
			</tr>';

// Set Request Code <CONFIRM>
if (reqtype == "2") {
	var RC = '	<tr>\
				  <td>'+xmsgApplicationKey+'&nbsp;</td>\
				  <td valign="top" align="left"><font color="#848284">'+req+'</font></td>\
				</tr>';
} else {
	var RC = '	<tr>\
				  <td>'+xmsgRequestCode+'&nbsp;</td>\
				  <td valign="top" align="left"><font color="#848284">'+req+'</font></td>\
				</tr>';
}

// Set Authcode <CONFIRM>
var authConfirm = '<tr><td>'+xmsgRegAuthCode+'</td>\
					   <td valign="top" align="left"><font color="#848284">'+auth+'</font></td>\
				   </tr>';

// Set Old Serial Number <ENTER>
var UpgradeSerialBlock = '<p><font color="red">'+xmsgOldSerialNum+'</font><br>\
			  <input type="text" name="osernum" size="12" maxlength="12">&nbsp;(xxx-xxxxxxxx)</p>';

// Set Old Serial Number <ENTER - Red>
var UpgradeSerialBlockBlack = '<p><font color="red">'+xmsgOldSerialNum+'<font><br>\
			  <input type="text" name="osernum" size="12" maxlength="12">&nbsp;(xxx-xxxxxxxx)</p>';

// Set Old Serial Number Field <CONFIRM - Red>
var OSN = ' <tr>\
			  <td><font color="red">'+xmsgOldSerialNum+'&nbsp;</font></td>\
			  <td><font color="#848284">'+osernum+'</font></td>\
			</tr>';

// Set Old Serial Number Field <CONFIRM - Grey>
var OSNGrey = ' <tr>\
			  <td>'+xmsgOsernum+'&nbsp;</td>\
			  <td><font color="#848284">'+osernum+'</font></td>\
			</tr>';

// New Serial Number <ENTER>
var NewSerialBlock = '<p><font color="red">'+xmsgNewSernum5+'</font><br>\
			  <input type="text" name="nsernum" size="12" maxlength="12">&nbsp;(xxx-xxxxxxxx)</p>';

// New Serial Number <RE-ENTER>
var NewSerialBlock2 = '<p><font color="red">'+xmsgNewSernum6+'</font><br>\
			  <input type="text" name="nsernumconfirm" size="12" maxlength="12">&nbsp;(xxx-xxxxxxxx)</p>';

//=======================================================================
// Salutation Insert Blocks
//=======================================================================

var SalutationUS = '      <select name                          <option selected value="select">'+xmsgPleaseSelect+'</option>\
				<option value="ADM">'+xmsgADM +'</option>\
				<option value="CAPT">'+xmsgCAPT +'</option>\
				<option value="DR">'+xmsgDR +'</option>\
				<option value="DRA">'+xmsgDRA +'</option>\
				<option value="GEN">'+xmsgGEN +'</option>\
				<option value="ING">'+xmsgING +'</option>\
				<option value="LIC">'+xmsgLIC +'</option>\
				<option value="LT">'+xmsgLT +'</option>\
				<option value="M">'+xmsgM +'</option>\
				<option value="MISS">'+xmsgMISS +'</option>\
				<option value="MLLE">'+xmsgMLLE +'</option>\
				<option value="MME">'+xmsgMME +'</option>\
				<option value="MR">'+xmsgMR +'</option>\
				<option value="MRS">'+xmsgMRS +'</option>\
				<option value="MS">'+xmsgMS +'</option>\
				<option value="NR">'+xmsgNR+'</option>\
				<option value="OFFCR">'+xmsgOFFCR +'</option>\
				<option value="PROF">'+xmsgPROF +'</option>\
				<option value="SIR">'+xmsgSIR +'</option>\
				<option value="SR">'+xmsgSR +'</option>\
				<option value="SRA">'+xmsgSRA +'</option>\
				<option value="SRTA">'+xmsgSRTA+'</option>\
                        </select>';

var SalutationAPC = '      <select name                          <option selected value="select">'+xmsgPleaseSelect+'</option>\
				<option value="ADM">'+xmsgADM +'</option>\
				<option value="CAPT">'+xmsgCAPT +'</option>\
				<option value="COL">'+xmsgCOL +'</option>\
				<option value="COMM">'+xmsgCOMM +'</option>\
				<option value="DR">'+xmsgDR +'</option>\
				<option value="GEN">'+xmsgGEN +'</option>\
				<option value="ING">'+xmsgING +'</option>\
				<option value="LIC">'+xmsgLIC +'</option>\
				<option value="LT">'+xmsgLT +'</option>\
				<option value="MISS">'+xmsgMISS +'</option>\
				<option value="MR">'+xmsgMR +'</option>\
				<option value="MRS">'+xmsgMRS +'</option>\
				<option value="MS">'+xmsgMS +'</option>\
				<option value="NR">'+xmsgNR +'</option>\
				<option value="PROF">'+xmsgPROF +'</option>\
				<option value="SIR">'+xmsgSIR +'</option>\
				<option value="SR">'+xmsgSR +'</option>\
				<option value="SRA">'+xmsgSRA +'</option>\
				<option value="SRTA">'+xmsgSRTA +'</option>\
                        </select>';

var SalutationEMA = '      <select name                          <option selected value="select">'+xmsgPleaseSelect+'</option>\
				<option value="ARCH">'+xmsgARCH +'</option>\
				<option value="ARQ">'+xmsgARQ +'</option>\
				<option value="ARQA">'+xmsgARQA +'</option>\
				<option value="AVV">'+xmsgAVV +'</option>\
				<option value="CA">'+xmsgCA +'</option>\
				<option value="DHR">'+xmsgDHR +'</option>\
				<option value="DOTT">'+xmsgDOTT +'</option>\
				<option value="DOTT.SSA">'+xmsgDOTTSSA+'</option>\
				<option value="DR">'+xmsgDR +'</option>\
				<option value="DRA">'+xmsgDRA +'</option>\
				<option value="DRS">'+xmsgDRS +'</option>\
				<option value="ENG">'+xmsgENG +'</option>\
				<option value="ENGA">'+xmsgENGA +'</option>\
				<option value="FR">'+xmsgFR +'</option>\
				<option value="FRAU">'+xmsgFRAU +'</option>\
				<option value="GEOM">'+xmsgGEOM +'</option>\
				<option value="HERR">'+xmsgHERR +'</option>\
				<option value="HERRN">'+xmsgHERRN +'</option>\
				<option value="ING">'+xmsgING +'</option>\
				<option value="IR">'+xmsgIR +'</option>\
				<option value="LIC">'+xmsgLIC +'</option>\
				<option value="M">'+xmsgM +'</option>\
				<option value="ME">'+xmsgME +'</option>\
				<option value="MEVR">'+xmsgMEVR +'</option>\
				<option value="MISS">'+xmsgMISS +'</option>\
				<option value="MLLE">'+xmsgMLLE +'</option>\
				<option value="MME">'+xmsgMME +'</option>\
				<option value="MR">'+xmsgMR +'</option>\
				<option value="MRS">'+xmsgMRS +'</option>\
				<option value="MS">'+xmsgMS +'</option>\
				<option value="PAN">'+xmsgPAN +'</option>\
				<option value="PANI">'+xmsgPANI +'</option>\
				<option value="PE">'+xmsgPE +'</option>\
				<option value="PI">'+xmsgPI+'</option>\
				<option value="PM">'+xmsgPM +'</option>\
				<option value="PROF">'+xmsgPROF +'</option>\
				<option value="PROF.RE">'+xmsgPROFRE +'</option>\
				<option value="PROF.SSA">'+xmsgPROFSSA +'</option>\
				<option value="PROFA">'+xmsgPROFA +'</option>\
				<option value="SIG">'+xmsgSIG +'</option>\
				<option value="SIG.RA">'+xmsgSIGRA +'</option>\
				<option value="SIR">'+xmsgSIR +'</option>\
				<option value="SR">'+xmsgSR +'</option>\
				<option value="SRA">'+xmsgSRA +'</option>\
				<option value="SRTA">'+xmsgSRTA+'</option>\
                        </select>';


//=======================================================================
// Rolodex Insert Blocks
//=======================================================================

// Set the Company Name <ENTER> Text Block. Contains [Company Text, Company Field]
var InsertCompanyBlock = ' <b>'+xmsgCompanyInfo+'</b><br>\
						   <br><font color="red">'+xmsgCompanyName+'<br>\
						     <input type="text" name="comp" size="62" maxlength="40"></font>';

// Set the Contact Name <ENTER> Text Block [Salutation, First Name, Last Name]
var InsertNameBlock = ' <p><font color="red">'+xmsgFirstname+'<br>\
			   <input type="text" name="fname" size="62" maxlength="40"></font></p>\
			<p><font color="red">'+xmsgLastname+'<br>\
			   <input type="text" name="lname" size="62" maxlength="40"></font></p>';

//=======================================================================
// Register Info Insert Blocks
//=======================================================================

var RegInfoConfirm = xmsgRegAuthInfo10 + '<a href="' + reginfofolder + '" target="_blank">' + reginfofolder + '</a>';

//=======================================================================
// State, Region, and Province Information
//=======================================================================

// Set State Region Province field
var SRP =   xmsgSRP+'<br><font color="#848284">'+state+'</font><br>';

// Country State/Province Info
var ATStPrRegHTML = ' <br><select name						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="B">Burgenland </option>\
						<option value="K">K?rnten </option>\
						<option value="N*">Nieder?sterreich </option>\
						<option value="O*">Ober?sterreich </option>\
						<option value="S">Salzburg </option>\
						<option value="ST">Steiermark </option>\
						<option value="T">Tirol </option>\
						<option value="V">Vorarlberg </option>\
						<option value="W">Wien </option>\
						</select>';

var AUStPrRegHTML = '	<br><select name						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="ACT">Aust Capital Terr </option>\
						<option value="NSW">New South Wales </option>\
						<option value="NT">Northern Territory </option>\
						<option value="QLD">Queensland </option>\
						<option value="SA">South Australia </option>\
						<option value="TAS">Tasmania </option>\
						<option value="VIC">Victoria </option>\
						<option value="WA">Western Australia </option>\
						</select>';

var USStPrRegHTML = '	<br><select name="state" size="1">\
						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="AL">Alabama </option>\
						<option value="AK">Alaska </option>\
						<option value="AZ">Arizona </option>\
						<option value="AR">Arkansas </option>\
						<option value="CA">California </option>\
						<option value="CO">Colorado </option>\
						<option value="CT">Connecticut </option>\
						<option value="DE">Delaware </option>\
						<option value="DC">District of Columbia </option>\
						<option value="FL">Florida </option>\
						<option value="GA">Georgia </option>\
						<option value="HI">Hawaii </option>\
						<option value="ID">Idaho </option>\
						<option value="IL">Illinois </option>\
						<option value="IN">Indiana </option>\
						<option value="IA">Iowa </option>\
						<option value="KS">Kansas </option>\
						<option value="KY">Kentucky </option>\
						<option value="LA">Louisiana </option>\
						<option value="ME">Maine </option>\
						<option value="MD">Maryland </option>\
						<option value="MA">Massachusetts </option>\
						<option value="MI">Michigan </option>\
						<option value="MN">Minnesota </option>\
						<option value="MS">Mississippi </option>\
						<option value="MO">Missouri </option>\
						<option value="MT">Montana </option>\
						<option value="NE">Nebraska </option>\
						<option value="NV">Nevada </option>\
						<option value="NH">New Hampshire </option>\
						<option value="NJ">New Jersey </option>\
						<option value="NM">New Mexico </option>\
						<option value="NY">New York </option>\
						<option value="NC">North Carolina </option>\
						<option value="ND">North Dakota </option>\
						<option value="OH">Ohio </option>\
						<option value="OK">Oklahoma </option>\
						<option value="OR">Oregon </option>\
						<option value="PA">Pennsylvania </option>\
						<option value="RI">Rhode Island </option>\
						<option value="SC">South Carolina </option>\
						<option value="SD">South Dakota </option>\
						<option value="TN">Tennessee </option>\
						<option value="TX">Texas </option>\
						<option value="UT">Utah </option>\
						<option value="VT">Vermont </option>\
						<option value="VA">Virginia </option>\
						<option value="VI">Virgin Islands</option>\
						<option value="WA">Washington </option>\
						<option value="WV">West Virginia </option>\
						<option value="WI">Wisconsin </option>\
						<option value="WY">Wyoming </option>\
						<option value="AA">APOAmerica</option>\
						<option value="AE">APOEurope</option>\
						<option value="AP">APOPacific</option>\
						</select>';

var CAStPrRegHTML = '	<br><select name="state" size="1">\
						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="AB">Alberta </option>\
						<option value="BC">British Columbia </option>\
						<option value="MB">Manitoba </option>\
						<option value="NB">New Brunswick </option>\
						<option value="NF">Newfoundland </option>\
						<option value="NT">Northwest Territories </option>\
						<option value="NS">Nova Scotia </option>\
						<option value="NU">Nunavut </option>\
						<option value="ON">Ontario </option>\
						<option value="PE">Prince Edward Island </option>\
						<option value="QC">Quebec </option>\
						<option value="SK">Saskatchewan </option>\
						<option value="YT">Yukon </option>\
						<option value="ZZ">Outside province </option>\
						</select>';

var CHStPrRegHTML = ' <br><select name						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="AG">Aargau </option>\
						<option value="AI">Appenzell Innerrhoden </option>\
						<option value="AR">Appenzell Ausserrhoden </option>\
						<option value="BE">Bern </option>\
						<option value="BL">Basel-Landschaft </option>\
						<option value="BS">Basel-Stadt </option>\
						<option value="FR">Fribourg </option>\
						<option value="GE">Genève </option>\
						<option value="GL">Glarus </option>\
						<option value="GR">Graubüenden </option>\
						<option value="JU">Jura </option>\
						<option value="LU">Luzern </option>\
						<option value="NE">Neuchatel </option>\
						<option value="NW">Nidwalden </option>\
						<option value="OW">Obwalden </option>\
						<option value="SG">St.Gallen </option>\
						<option value="SH">Schaffhausen </option>\
						<option value="SO">Solothurn </option>\
						<option value="SZ">Schwyz </option>\
						<option value="TG">Thurgau </option>\
						<option value="TI">Ticino </option>\
						<option value="UR">Uri </option>\
						<option value="VD">Vaud </option>\
						<option value="VS">Valais </option>\
						<option value="ZG">Zug </option>\
						<option value="ZH">Zürich </option>\
						</select>';

var CNStPrRegHTML = ' <br><select name="state" size="1">\
						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="110">安徽</option>\
						<option value="010">北京</option>\
						<option value="150">福建</option>\
						<option value="260">甘肃</option>\
						<option value="190">广东</option>\
						<option value="210">广西</option>\
						<option value="220">贵州</option>\
						<option value="200">海南</option>\
						<option value="060">河北</option>\
						<option value="090">黑龙江</option>\
						<option value="180">河南</option>\
						<option value="170">湖北</option>\
						<option value="160">湖南</option>\
						<option value="100">江苏</option>\
						<option value="140">江西</option>\
						<option value="080">吉林</option>\
						<option value="070">辽宁</option>\
						<option value="040">内蒙古</option>\
						<option value="270">宁夏</option>\
						<option value="280">青海</option>\
						<option value="250">陕西</option>\
						<option value="120">山东</option>\
						<option value="020">上海</option>\
						<option value="050">山西</option>\
						<option value="230">四川</option>\
						<option value="030">天津</option>\
						<option value="290">新疆</option>\
						<option value="300">西藏</option>\
						<option value="240">云南</option>\
						<option value="130">浙江</option>\
						</select>';

var DEStPrRegHTML = ' <br><select name="state" size="1">\
						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="08">Baden-W黵ttemberg </option>\
						<option value="09">Bayern </option>\
						<option value="11">Berlin </option>\
						<option value="12">Brandenburg </option>\
						<option value="04">Bremen </option>\
						<option value="02">Hamburg </option>\
						<option value="06">Hessen </option>\
						<option value="13">Mecklenburg-Vorpommern </option>\
						<option value="03">Niedersachsen </option>\
						<option value="05">Nordrhein-Westfalen </option>\
						<option value="07">Rheinland-Pfalz </option>\
						<option value="10">Saarland </option>\
						<option value="14">Sachsen </option>\
						<option value="15">Sachsen-Anhalt</option>\
						<option value="01">Schleswig-Holstein </option>\
						<option value="16">Th黵ingen </option>\
						</select>';

var ESStPrRegHTML = ' <br><select name="state" size="1">\
						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="01">羖ava </option>\
						<option value="02">Albacete </option>\
						<option value="03">Alicante </option>\
						<option value="04">Almer韆 </option>\
						<option value="33">Asturias </option>\
						<option value="05">羦ila </option>\
						<option value="06">Badajoz </option>\
						<option value="07">Baleares </option>\
						<option value="08">Barcelona </option>\
						<option value="09">Burgos </option>\
						<option value="10">C醕eres </option>\
						<option value="11">C醖iz </option>\
						<option value="39">Cantabria </option>\
						<option value="12">Castell髇 </option>\
						<option value="13">CiudadReal </option>\
						<option value="14">C髍doba </option>\
						<option value="16">Cuenca </option>\
						<option value="17">Gerona </option>\
						<option value="18">Granada </option>\
						<option value="19">Guadalajara </option>\
						<option value="20">Guip鷝coa </option>\
						<option value="21">Huelva </option>\
						<option value="22">Huesca </option>\
						<option value="23">Ja閚 </option>\
						<option value="15">LaCoru馻 </option>\
						<option value="26">LaRioja </option>\
						<option value="35">LasPalmas </option>\
						<option value="24">Le髇 </option>\
						<option value="25">L閞ida </option>\
						<option value="27">Lugo </option>\
						<option value="28">Madrid </option>\
						<option value="29">M醠aga </option>\
						<option value="30">Murcia </option>\
						<option value="31">Navarra </option>\
						<option value="32">Orense </option>\
						<option value="34">Palencia </option>\
						<option value="36">Pontevedra </option>\
						<option value="37">Salamanca </option>\
						<option value="38">Santa Cruz de Tenerife </option>\
						<option value="40">Segovia </option>\
						<option value="41">Sevilla </option>\
						<option value="42">Soria </option>\
						<option value="43">Tarragona </option>\
						<option value="44">Teruel </option>\
						<option value="45">Toledo </option>\
						<option value="46">Valencia </option>\
						<option value="47">Valladolid </option>\
						<option value="48">Vizcaya </option>\
						<option value="49">Zamora </option>\
						<option value="50">Zaragoza </option>\
						</select>';

var HKStPrRegHTML = ' <br><select name						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="HK">Hong Kong Island </option>\
						<option value="KLN">Kowloon </option>\
						<option value="NT">New Territories </option>\
						</select>';

var IEStPrRegHTML = ' <br><select name						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="CK">Cork </option>\
						<option value="CL">Clare </option>\
						<option value="CW">Carlow </option>\
						<option value="DB">Dublin </option>\
						<option value="DG">Donegal </option>\
						<option value="GW">Galway </option>\
						<option value="KD">Kildare </option>\
						<option value="KK">Kilkenny </option>\
						<option value="KV">Cavan </option>\
						<option value="KY">Kerry </option>\
						<option value="LF">Longford </option>\
						<option value="LI">Limerick </option>\
						<option value="LM">Leitrim </option>\
						<option value="LS">Laois </option>\
						<option value="LT">Louth </option>\
						<option value="MH">Monaghan </option>\
						<option value="MT">Meath </option>\
						<option value="MY">Mayo </option>\
						<option value="OS">Offaly </option>\
						<option value="RC">Rosscommon </option>\
						<option value="SG">Sligo </option>\
						<option value="TP">Tipperary </option>\
						<option value="WF">Waterford </option>\
						<option value="WK">Wicklow </option>\
						<option value="WM">Westmeath </option>\
						<option value="WX">Wexford </option>\
						</select>';

var ITStPrRegHTML = ' <br><select name="state" size="1">\
						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="AG">Agrigento </option>\
						<option value="AL">Alessandria </option>\
						<option value="AN">Ancona </option>\
						<option value="AO">Aosta </option>\
						<option value="AR">Arezzo </option>\
						<option value="AP">Ascoli Piceno </option>\
						<option value="AT">Asti </option>\
						<option value="AV">Avellino </option>\
						<option value="BA">Bari </option>\
						<option value="BL">Belluno </option>\
						<option value="BN">Benevento </option>\
						<option value="BG">Bergamo </option>\
						<option value="BI">Biella </option>\
						<option value="BO">Bologna </option>\
						<option value="BZ">Bolzano </option>\
						<option value="BS">Brescia </option>\
						<option value="BR">Brindisi </option>\
						<option value="CA">Cagliari </option>\
						<option value="CL">Caltanissetta </option>\
						<option value="CB">Campobasso </option>\
						<option value="CE">Caserta </option>\
						<option value="CT">Catania </option>\
						<option value="CZ">Catanzaro </option>\
						<option value="CH">Chieti </option>\
						<option value="CO">Como </option>\
						<option value="CS">Cosenza </option>\
						<option value="CR">Cremona </option>\
						<option value="KR">Crotone </option>\
						<option value="CN">Cuneo </option>\
						<option value="EN">Enna </option>\
						<option value="FE">Ferrara </option>\
						<option value="FI">Firenze </option>\
						<option value="FG">Foggia </option>\
						<option value="FO">Forl?</option>\
						<option value="FR">Frosinone </option>\
						<option value="GE">Genova </option>\
						<option value="GO">Gorizia </option>\
						<option value="GR">Grosseto </option>\
						<option value="IM">Imperia </option>\
						<option value="IS">Isernia </option>\
						<option value="AQ">L`Aquila </option>\
						<option value="SP">LaSpezia </option>\
						<option value="LT">Latina </option>\
						<option value="LE">Lecce </option>\
						<option value="LC">Lecco </option>\
						<option value="LI">Livorno </option>\
						<option value="LO">Lodi </option>\
						<option value="LU">Lucca </option>\
						<option value="MC">Macerata </option>\
						<option value="MN">Mantova </option>\
						<option value="MS">Massa Carrara </option>\
						<option value="MT">Matera </option>\
						<option value="ME">Messina </option>\
						<option value="MI">Milano </option>\
						<option value="MO">Modena </option>\
						<option value="NA">Napoli </option>\
						<option value="NO">Novara </option>\
						<option value="NU">Nuoro </option>\
						<option value="OR">Oristano </option>\
						<option value="PD">Padova </option>\
						<option value="PA">Palermo </option>\
						<option value="PR">Parma </option>\
						<option value="PV">Pavia </option>\
						<option value="PG">Perugia </option>\
						<option value="PS">Pesaro e Urbino </option>\
						<option value="PE">Pescara </option>\
						<option value="PC">Piacenza </option>\
						<option value="PI">Pisa </option>\
						<option value="PT">Pistoia </option>\
						<option value="PN">Pordenone </option>\
						<option value="PZ">Potenza </option>\
						<option value="PO">Prato </option>\
						<option value="RG">Ragusa </option>\
						<option value="RA">Ravenna </option>\
						<option value="RC">Reggio Calabria </option>\
						<option value="RE">Reggio Emilia </option>\
						<option value="RI">Rieti </option>\
						<option value="RN">Rimini </option>\
						<option value="RM">Roma </option>\
						<option value="RO">Rovigo </option>\
						<option value="SA">Salerno </option>\
						<option value="SS">Sassari </option>\
						<option value="SV">Savona </option>\
						<option value="SI">Siena </option>\
						<option value="SR">Siracusa </option>\
						<option value="SO">Sondrio </option>\
						<option value="TA">Taranto </option>\
						<option value="TE">Teramo </option>\
						<option value="TR">Terni </option>\
						<option value="TP">Trapani </option>\
						<option value="TN">Trento </option>\
						<option value="TV">Treviso </option>\
						<option value="TS">Trieste </option>\
						<option value="TO">Torino </option>\
						<option value="UD">Udine </option>\
						<option value="VA">Varese </option>\
						<option value="VE">Venice </option>\
						<option value="VB">Verbano-Cusio-Ossola </option>\
						<option value="VC">Vercelli </option>\
						<option value="VR">Verona </option>\
						<option value="VV">Vibo Valentia </option>\
						<option value="VI">Vicenza </option>\
						<option value="VT">Viterbo </option>\
						</select>';


var JPStPrRegHTML = ' <br><select name						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="23">Aichi-ken </option>\
						<option value="05">Akita-ken </option>\
						<option value="02">Aomori-ken </option>\
						<option value="12">Chiba-ken </option>\
						<option value="38">Ehime-ken </option>\
						<option value="18">Fukui-ken </option>\
						<option value="40">Fukuoka-ken </option>\
						<option value="07">Fukushima-ken </option>\
						<option value="21">Gifu-ken </option>\
						<option value="10">Gunma-ken </option>\
						<option value="34">Hiroshima-ken </option>\
						<option value="01">Hokkaido </option>\
						<option value="28">Hyogo-ken </option>\
						<option value="08">Ibaragi-ken </option>\
						<option value="17">Ishikawa-ken </option>\
						<option value="03">Iwate-ken </option>\
						<option value="37">Kagawa-ken </option>\
						<option value="46">Kagoshima-ken </option>\
						<option value="14">Kanagawa-ken </option>\
						<option value="39">Kochi-ken </option>\
						<option value="43">Kumamoto-ken </option>\
						<option value="26">Kyoto-fu </option>\
						<option value="24">Mie-ken </option>\
						<option value="04">Miyagi-ken </option>\
						<option value="45">Miyazaki-ken </option>\
						<option value="42">Nagasaki-ken </option>\
						<option value="20">Nagano-ken </option>\
						<option value="29">Nara-ken </option>\
						<option value="15">Niigata-ken </option>\
						<option value="44">Oita-ken </option>\
						<option value="33">Okayama-ken </option>\
						<option value="47">Okinawa-ken </option>\
						<option value="27">Osaka-fu </option>\
						<option value="41">Saga-ken </option>\
						<option value="11">Saitama-ken </option>\
						<option value="25">Shiga-ken </option>\
						<option value="32">Shimane-ken </option>\
						<option value="22">Shizuoka-ken </option>\
						<option value="09">Tochigi-ken </option>\
						<option value="36">Tokushima-ken </option>\
						<option value="13">Tokyo-to </option>\
						<option value="31">Tottori-ken </option>\
						<option value="16">Toyama-ken </option>\
						<option value="30">Wakayama-ken </option>\
						<option value="06">Yamagata-ken </option>\
						<option value="35">Yamaguchi-ken </option>\
						<option value="19">Yamanashi-ken </option>\
						</select>';

var MXStPrRegHTML = ' <br><select name						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="AGS">Aguascalientes </option>\
						<option value="BCN">Baja CaliforniaN </option>\
						<option value="BCS">Baja CaliforniaS </option>\
						<option value="CMP">Campeche </option>\
						<option value="CHS">Chiapas </option>\
						<option value="CHI">Chihuahua </option>\
						<option value="COA">Coahuila </option>\
						<option value="COL">Colima </option>\
						<option value="DF">DistritoFederal </option>\
						<option value="DGO">Durango </option>\
						<option value="MEX">Estado de México </option>\
						<option value="GTO">Guanajuato </option>\
						<option value="GRO">Guerrero </option>\
						<option value="HGO">Hidalgo </option>\
						<option value="JAL">Jalisco </option>\
						<option value="MCH">Michoacán </option>\
						<option value="MOR">Morelos </option>\
						<option value="NL">NuevoLéon </option>\
						<option value="OAX">Oaxaca </option>\
						<option value="PUE">Puebla </option>\
						<option value="QRO">Querétaro </option>\
						<option value="QR">QuintanaRoo </option>\
						<option value="SLP">San Luis Potos* </option>\
						<option value="SIN">Sinaloa </option>\
						<option value="SON">Sonora </option>\
						<option value="TAB">Tabasco </option>\
						<option value="TMS">Tamaulipas </option>\
						<option value="TLX">Tlaxcala </option>\
						<option value="VER">Veracruz </option>\
						<option value="YUC">Yucatán </option>\
						<option value="ZAC">Zacatecas </option>\
						</select>';

var MYStPrRegHTML = ' <br><select name="state" size="1">\
						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="JOH">Johor </option>\
						<option value="KED">Kedah </option>\
						<option value="KEL">Kelantan </option>\
						<option value="KUL">KualaLumpur </option>\
						<option value="LAB">Labuan </option>\
						<option value="MEL">Melaka </option>\
						<option value="PAH">Pahang </option>\
						<option value="PEL">Perlis </option>\
						<option value="PER">Perak </option>\
						<option value="PIN">PulauPinang </option>\
						<option value="SAB">Sabah </option>\
						<option value="SAR">Sarawak </option>\
						<option value="SEL">Selangor </option>\
						<option value="SER">NegeriSembilan </option>\
						<option value="TRE">Terengganu </option>\
						</select>';

var PTStPrRegHTML = ' <br><select name						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="40">Alentejo </option>\
						<option value="50">Algarve </option>\
						<option value="24">Beira Interior </option>\
						<option value="15">Beira Litoral </option>\
						<option value="10">Entre Douro e Minho </option>\
						<option value="22">Estremadura e Ribatejo </option>\
						<option value="31">Lisboa e Setúbal </option>\
						<option value="70">Reg. Aut. da Madeira </option>\
						<option value="60">Reg. Aut. dos A?ores </option>\
						<option value="16">Trás-os-Montes e Alto Douro </option>\
						</select>';

var TWStPrRegHTML = ' <br><select name						<option value="select">'+xmsgPleaseSelect+'</option>\
						<option value="KSH">Kaoshung City </option>\
						<option value="TPE">Taipei City </option>\
						<option value="TWN">Taiwan Prov. </option>\
						</select>';


// Set the State Confirmation Field (Long Name)
var SRP =   xmsgSRP+'<br><font color="#848284">'+state+'</font><br>';

//=======================================================================
// Zip and Postal Code Information
//=======================================================================

var ZipHTML= ' <p>'+xmsgZipCode+'<br>\
			   <input type="text" name="zip" size="10" maxlength="10">\
			   </p>';

//Zip confirmation
var ZipHTMLConfirm= ' <p>'+xmsgZipCode+'<br>\
			   <font color="#848284">'+zip+'</font>\
			   </p>';

var PostHTML= ' <p>'+xmsgPostCode+'<br>\
				<input type="text" name="zip" size="10" maxlength="10">\
				</p>';

// Postal Confirmation
var PostHTMLConfirm= ' <p>'+xmsgPostCode+'<br>\
			   <font color="#848284">'+zip+'</font>\
  			   </p>';

var CanPostHTML= ' <p>'+xmsgPostCode+'<br>\
				   <input type="text" name="zip" size="3" maxlength="3">-\
				   <input type="text" name="zip" size="3" maxlength="3">\
				   </p>';

//=======================================================================
// Country Long Name Information
//=======================================================================

var CountryHTML = xmsgSelectCountry+'<br>\
				<select name="country" size="1">\
				<option selected value="select">'+xmsgPleaseSelect+'</option>\
				<option value="US">美国 </option>\
				<option value="AL">阿尔巴尼亚 </option>\
				<option value="DZ">阿尔及利亚 </option>\
				<option value="AS">美属萨摩亚群岛 </option>\
				<option value="AD">安道尔 </option>\
				<option value="AO">安哥拉 </option>\
				<option value="AI">安圭拉 </option>\
				<option value="AQ">南极洲 </option>\
				<option value="AG">安提瓜和巴布达 </option>\
				<option value="AR">阿根廷 </option>\
				<option value="AM">亚美尼亚 </option>\
				<option value="AW">阿鲁巴 </option>\
				<option value="AU">澳大利亚 </option>\
				<option value="AT">奥地利 </option>\
				<option value="AZ">阿塞拜疆 </option>\
				<option value="BS">巴哈马 </option>\
				<option value="BH">巴林 </option>\
				<option value="BD">孟加拉国 </option>\
				<option value="BB">巴巴多斯 </option>\
				<option value="BY">白俄罗斯 </option>\
				<option value="BE">比利时 </option>\
				<option value="BZ">伯利兹 </option>\
				<option value="BJ">贝宁 </option>\
				<option value="BM">百慕大 </option>\
				<option value="BT">不丹 </option>\
				<option value="BO">玻利维亚 </option>\
				<option value="BA">波斯尼亚和黑赛哥维那 </option>\
				<option value="BW">博茨瓦纳 </option>\
				<option value="BV">布韦岛 </option>\
				<option value="BR">巴西 </option>\
				<option value="IO">不列颠群岛 </option>\
				<option value="BN">文莱 </option>\
				<option value="BG">保加利亚 </option>\
				<option value="BF">布基纳法索 </option>\
				<option value="BI">布隆迪 </option>\
				<option value="KH">柬埔寨 </option>\
				<option value="CM">喀麦隆 </option>\
				<option value="CA">加拿大 </option>\
				<option value="CV">佛得角 </option>\
				<option value="KY">开曼群岛 </option>\
				<option value="CF">中非共和国 </option>\
				<option value="TD">乍得 </option>\
				<option value="CL">智利 </option>\
				<option value="CN">中国 </option>\
				<option value="CX">圣诞岛 (澳大利亚) </option>\
				<option value="CC">科科斯岛 </option>\
				<option value="CO">哥伦比亚 </option>\
				<option value="KM">科摩罗 </option>\
				<option value="CG">刚果 </option>\
				<option value="CK">库克群岛 (新西兰) </option>\
				<option value="CR">哥斯达黎加 </option>\
				<option value="CI">科特迪瓦 </option>\
				<option value="HR">克罗地亚 </option>\
				<option value="CY">塞浦路斯 </option>\
				<option value="CZ">捷克共和国 </option>\
				<option value="CD">刚果民主共和国 </option>\
				<option value="DK">丹麦 </option>\
				<option value="DJ">吉布提 </option>\
				<option value="DM">多米尼加 </option>\
				<option value="DO">多米尼加共和国 </option>\
				<option value="TP">东帝汶 </option>\
				<option value="EC">厄瓜多尔 </option>\
				<option value="EG">埃及 </option>\
				<option value="SV">萨尔瓦多 </option>\
				<option value="GQ">赤道几内亚 </option>\
				<option value="ER">厄立特里亚省 </option>\
				<option value="EE">爱沙尼亚 </option>\
				<option value="ET">埃塞俄比亚 </option>\
				<option value="FK">富克兰群岛 </option>\
				<option value="FO">法罗群岛 </option>\
				<option value="FJ">斐济 </option>\
				<option value="FI">芬兰 </option>\
				<option value="FR">法国 </option>\
				<option value="GF">法属圭亚那 </option>\
				<option value="PF">法属波利尼西亚 </option>\
				<option value="TF">法国南部 </option>\
				<option value="GA">加蓬 </option>\
				<option value="GM">冈比亚 </option>\
				<option value="GE">乔治亚 </option>\
				<option value="DE">德国 </option>\
				<option value="GH">加纳 </option>\
				<option value="GI">直布罗陀 </option>\
				<option value="GR">希腊 </option>\
				<option value="GL">格林兰 </option>\
				<option value="GD">格林纳达 </option>\
				<option value="GP">瓜德罗普 </option>\
				<option value="GU">关岛 </option>\
				<option value="GT">危地马拉 </option>\
				<option value="GN">几内亚 </option>\
				<option value="GW">几内亚比绍 </option>\
				<option value="GY">圭亚那 </option>\
				<option value="HT">海地 </option>\
				<option value="HM">赫德岛 </option>\
				<option value="HN">洪都拉斯 </option>\
				<option value="HK">香港 </option>\
				<option value="HU">匈牙利 </option>\
				<option value="IS">冰岛 </option>\
				<option value="IN">印度 </option>\
				<option value="ID">印度尼西亚 </option>\
				<option value="IE">爱尔兰 </option>\
				<option value="IL">以色列 </option>\
				<option value="IT">意大利 </option>\
				<option value="JM">牙买加 </option>\
				<option value="JP">日本 </option>\
				<option value="JO">约旦 </option>\
				<option value="KZ">哈萨克斯坦 </option>\
				<option value="KE">肯尼亚 </option>\
				<option value="KI">基里巴斯 </option>\
				<option value="KR">南韩 </option>\
				<option value="KW">科威特 </option>\
				<option value="KG">吉尔吉斯斯坦 </option>\
				<option value="LA">老挝人民民主共和国 </option>\
				<option value="LV">拉脱维亚 </option>\
				<option value="LB">黎巴嫩 </option>\
				<option value="LS">莱索托 </option>\
				<option value="LR">利比里亚 </option>\
				<option value="LI">列支敦士登 </option>\
				<option value="LT">立陶宛 </option>\
				<option value="LU">卢森堡 </option>\
				<option value="MO">澳门 </option>\
				<option value="MK">马其顿 </option>\
				<option value="MG">马达加斯加 </option>\
				<option value="MW">马维拉 </option>\
				<option value="MY">马来西亚 </option>\
				<option value="MV">马尔代夫 </option>\
				<option value="ML">马里 </option>\
				<option value="MT">马耳他 </option>\
				<option value="MH">马歇尔群岛 </option>\
				<option value="MQ">马提尼克 </option>\
				<option value="MR">毛里塔尼亚 </option>\
				<option value="MU">毛里求斯 </option>\
				<option value="YT">马约特岛 </option>\
				<option value="MX">墨西哥 </option>\
				<option value="FM">密克罗尼西亚 </option>\
				<option value="MD">马尔道夫 </option>\
				<option value="MC">摩纳哥 </option>\
				<option value="MN">蒙古 </option>\
				<option value="MS">蒙赛拉特 </option>\
				<option value="MA">摩洛哥 </option>\
				<option value="MZ">莫桑比克 </option>\
				<option value="MM">缅甸 </option>\
				<option value="NA">纳米比亚 </option>\
				<option value="NR">瑙鲁 </option>\
				<option value="NP">尼泊尔 </option>\
				<option value="NL">荷兰 </option>\
				<option value="AN">荷属安的列斯群岛 </option>\
				<option value="NC">新喀里多尼亚 </option>\
				<option value="NZ">新西兰 </option>\
				<option value="NI">尼加拉瓜 </option>\
				<option value="NE">尼日尔 </option>\
				<option value="NG">尼日利亚 </option>\
				<option value="NU">纽埃 </option>\
				<option value="NF">诺福克岛 </option>\
				<option value="MP">北马里亚纳群岛 </option>\
				<option value="NO">挪威 </option>\
				<option value="OM">阿曼 </option>\
				<option value="PK">巴基斯坦 </option>\
				<option value="PW">帕劳 </option>\
				<option value="PS">巴勒斯坦 </option>\
				<option value="PA">巴拿马 </option>\
				<option value="PG">巴布亚新几内亚 </option>\
				<option value="PY">巴拉圭 </option>\
				<option value="PE">秘鲁 </option>\
				<option value="PH">菲律宾 </option>\
				<option value="PN">皮特凯恩 </option>\
				<option value="PL">波兰 </option>\
				<option value="PT">葡萄牙 </option>\
				<option value="PR">波多黎各 </option>\
				<option value="QA">卡塔尔 </option>\
				<option value="RE">留尼汪 </option>\
				<option value="RO">罗马尼亚 </option>\
				<option value="RU">俄罗斯联邦 </option>\
				<option value="RW">卢旺达 </option>\
				<option value="KN">圣基茨和尼维斯 </option>\
				<option value="LC">圣卢西亚 </option>\
				<option value="VC">圣文森特岛 </option>\
				<option value="WS">西萨摩亚 </option>\
				<option value="SM">圣马力诺 </option>\
				<option value="ST">圣多美和普林西比 </option>\
				<option value="SA">沙特阿拉伯 </option>\
				<option value="SN">塞内加尔 </option>\
				<option value="SC">塞舌尔 </option>\
				<option value="SL">塞拉利昂 </option>\
				<option value="SG">新加坡 </option>\
				<option value="SK">斯洛伐克共和国 </option>\
				<option value="SI">斯洛文尼亚 </option>\
				<option value="GS">圣乔治岛 </option>\
				<option value="SB">所罗门群岛 </option>\
				<option value="SO">索马里 </option>\
				<option value="ZA">南非 </option>\
				<option value="ES">西班牙 </option>\
				<option value="LK">斯里兰卡 </option>\
				<option value="SH">圣海伦纳 </option>\
				<option value="PM">圣皮埃尔和密克隆群岛 </option>\
				<option value="SR">苏里南 </option>\
				<option value="SJ">斯瓦尔巴群岛 </option>\
				<option value="SZ">斯威士兰 </option>\
				<option value="SE">瑞典 </option>\
				<option value="CH">瑞士 </option>\
				<option value="SY">叙利亚 </option>\
				<option value="TW">台湾 </option>\
				<option value="TJ">塔吉克斯坦 </option>\
				<option value="TZ">坦桑尼亚 </option>\
				<option value="TH">泰国 </option>\
				<option value="TG">多哥 </option>\
				<option value="TK">托克劳 </option>\
				<option value="TO">汤加 </option>\
				<option value="TT">特立尼达和多巴哥 </option>\
				<option value="TN">突尼斯 </option>\
				<option value="TR">土耳其 </option>\
				<option value="TM">土库曼斯坦 </option>\
				<option value="TC">特克斯和凯科斯群岛 </option>\
				<option value="TV">图瓦卢 </option>\
				<option value="UG">乌干达 </option>\
				<option value="UA">乌克兰 </option>\
				<option value="AE">阿拉伯联合酋长国 </option>\
				<option value="GB">英国 </option>\
				<option value="US">美国 </option>\
				<option value="UY">乌拉圭 </option>\
				<option value="UM">美属小奥特林群岛 </option>\
				<option value="UZ">乌兹别克 </option>\
				<option value="VU">瓦努阿图 </option>\
				<option value="VA">梵蒂冈城邦 </option>\
				<option value="VE">委内瑞拉 </option>\
				<option value="VN">越南 </option>\
				<option value="VG">维尔京岛 (英国) </option>\
				<option value="VI">维尔京岛 (美国) </option>\
				<option value="WF">瓦利斯群岛和富图纳群岛 </option>\
				<option value="EH">西撒哈拉 </option>\
				<option value="YE">也门 </option>\
				<option value="ZM">赞比亚 </option>\
				<option value="ZW">津巴布韦 </option>\
				</select>';

//=======================================================================
// Application Usage Information
//=======================================================================
var AppUsageHTML = '\
					<select multiple name="appusage" size="4">\
					<option value="1">建筑 </option>\
					<option value="2">房产服务 </option>\
					<option value="3">土木工程 </option>\
					<option value="4">游戏 </option>\
					<option value="5">GIS </option>\
					<option value="6">机械 </option>\
					<option value="7">视频编辑 </option>\
					<option value="8">其他 </option>\
					</select>';


//=======================================================================
// Geo Specfic Information
//=======================================================================

// Here are the variables that we are using in the pages
// The Switch statements populate them with the correct values
// as initialized previously
//
var InsertStPrRegSelect = "";			// Select statement with all country options for state/province/region
var InsertStPrRegText = xmsgRegText;		// State, Province or Region text variable.  All but US&CAN use Region
var InsertZipPostText = PostHTML;			// Zip Code or Postal code?  All but US&CAN use Postal; US&CAN Set in switch
var InsertZipPostTextConfirm = PostHTMLConfirm;	// Confirmed Zip or Postal code.
var Geo = "";					// Geo variable set based on country
var SalutationBlock = "";

function SetCountryParms() {

	//	set the default online store url
xmsgOnlineStoreURL = xmsgOnlineStoreDefaultURL;

// Assign Geo, contact information, and salutations
switch (country) {
  case "AT": InsertStPrRegSelect=ATStPrRegHTML; //Austria zip 10
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk GmbH<br>Traungasse 16<br>A-4600 Wels";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
  case "AU": InsertStPrRegSelect=AUStPrRegHTML; //Australia zip 10
			 xmsgFormEmailData=xmsgFormEmailDataAPC;
			 xmsgFormFaxData="1-800-331453 or 0011-800-4700-7280";
			 xmsgFormFaxDataRegister=xmsgFormFaxDataAPC;
			 xmsgFormMailData=xmsgFormMailDataAPC;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLAU;
			 Geo="APC";
			 SalutationBlock=SalutationAPC;
			 break;
  case "BR": 					//Brazil zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataUS;
			 xmsgFormFaxData=xmsgFormFaxDataUS;
			 xmsgFormCallData="000-811-994-5571";
			 xmsgFormMailData=xmsgFormMailDataUS;
			 Geo="LAM";
			 SalutationBlock=SalutationUS;
			 break;
  case "CH": InsertStPrRegSelect=CHStPrRegHTML; //Switzerland zip 10
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk AG<br>Zurlindenstrasse 29<br>CH-4133<br>Pratteln</p>";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
  case "CL": 					//Chile zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataUS;
			 xmsgFormFaxData=xmsgFormFaxDataUS;
			 xmsgFormCallData="1230-020-2001";
			 xmsgFormMailData=xmsgFormMailDataUS;
			 Geo="LAM";
			 SalutationBlock=SalutationUS;
			 break;
  case "CN": InsertStPrRegSelect=CNStPrRegHTML; //China zip 10
			 xmsgFormEmailData=xmsgFormEmailDataAPC;
			 xmsgFormFaxData="010-6505-6858";
			 xmsgFormFaxDataRegister=xmsgFormFaxDataAPC;
			 xmsgFormMailData=xmsgFormMailDataAPC;
			 Geo="APC";
			 SalutationBlock=SalutationAPC;
			 break;
  case "CO": 					//Colombia zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataUS;
			 xmsgFormFaxData=xmsgFormFaxDataUS;
			 xmsgFormCallData="980-12-1311";
			 xmsgFormMailData=xmsgFormMailDataUS;
			 Geo="LAM";
			 SalutationBlock=SalutationUS;
			 break;
  case "CY": 					//Cyprus Republic zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="PO Box 3283<br>Nicosia";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
  case "CZ": 					//Czech Republic zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk s.r.o<br>Jeseniova 1<br>CZ-13000 Prague 3";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
  case "DE": InsertStPrRegSelect=DEStPrRegHTML; //Germany zip 10
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk GmbH<br>Hansastrasse 28<br>D-80686 M黱chen";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLDE;
			 break;
  case "DK":									//Denmark zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
  case "ES": InsertStPrRegSelect=ESStPrRegHTML; //Spain zip 10
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk S.A.<br>C/Constitucion 1, Planta 4<br>08960 Sant Just, Barcelona";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
  case "FI":									//Finland zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
  case "FR":					//France zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk S.A.<br>B鈚iment les Ellipses<br>5, avenue du Chemin de Presles<br>94410 - Saint-Maurice";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLFR;
			 break;
  case "GB":					//United Kingdom zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk Ltd<br>Cross Lanes<br>Guildford, Surrey<br>GU1 1UJ";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLGB;
			 break;
  case "GR": 					//Greece zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="PO Box 75059, Z.C.<br>17610 Kalithea/Athens";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
  case "GU": StateProvInvo="";			//Guam
			 InsertStPrRegText="";
			 InsertZipPostText=ZipHTML;
			 InsertZipPostTextConfirm=ZipHTMLConfirm;
			 xmsgFormEmailData=xmsgFormEmailDataUS;
			 xmsgFormFaxData=xmsgFormFaxDataUS;
			 xmsgFormCallData=xmsgFormCallDataUS;
			 xmsgFormMailData=xmsgFormMailDataUS;
			 Geo="US";
			 SalutationBlock=SalutationUS;
			 break;
  case "HK": InsertStPrRegSelect=HKStPrRegHTML; //Hong Kong zip 10
			 xmsgFormEmailData=xmsgFormEmailDataAPC;
			 xmsgFormFaxData="852-2-824-3228";
			 xmsgFormFaxDataRegister=xmsgFormFaxDataAPC;
			 xmsgFormMailData=xmsgFormMailDataAPC;
			 Geo="APC";
			 SalutationBlock=SalutationAPC;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLHK;
			 break;
  case "HU": 					//Hungary zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk Ltd.<br>Arpad Center<br>H-1134, Budapest, Arboc.U.6<br>Hungary";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
 case "IN": 					//India zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataAPC;
			 xmsgFormFaxData="91 80 2072131";			 
			 xmsgFormFaxDataRegister=xmsgFormFaxDataAPC;
			 xmsgFormMailData=xmsgFormMailDataAPC;
			 Geo="APC";
			 SalutationBlock=SalutationAPC;
			 break;
  case "IE": InsertStPrRegSelect=IEStPrRegHTML; //Ireland zip 10
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLIE;
			 break;
  case "IL": 					//Israel zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk<br>12 Ha'hilazon street<br>Ramat Gan<br>52522";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
  case "IT": InsertStPrRegSelect=ITStPrRegHTML; //Italy zip 10
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk S.p.A.<br>Milanofiori,<br>Strada 4 Palazzo A5<br>20090 Assago MI";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLIT;
			 break;
  case "JM": 					//Jamaica zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataUS;
			 xmsgFormFaxData=xmsgFormFaxDataUS;
		 	 xmsgFormCallData="0800-551-1490";
		 	 xmsgFormMailData=xmsgFormMailDataUS;
			 Geo="LAM";
			 SalutationBlock=SalutationUS;
			 break;
  case "JP": InsertStPrRegSelect=JPStPrRegHTML; //Japan zip 10
			 xmsgFormEmailData="japan.register@autodesk.com";
			 xmsgFormFaxData="81-03-3473-9512";
			 xmsgFormFaxDataRegister=xmsgFormFaxDataAPC;
			 xmsgFormCallData="03-3473-9529";			 
			 xmsgFormMailData=xmsgFormMailDataAPC;
			 Geo="APC";
			 SalutationBlock=SalutationAPC;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLJP;
			 break;
  case "KR": 					//Korea, South zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataAPC;
			 xmsgFormFaxData="82-2-527-8716";
			 xmsgFormFaxDataRegister=xmsgFormFaxDataAPC;
			 xmsgFormMailData=xmsgFormMailDataAPC;
		 	 Geo="APC";
			 SalutationBlock=SalutationAPC;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLKR;
			 break;
  case "MX": InsertStPrRegSelect=MXStPrRegHTML; //Mexico zip 10
			 xmsgFormEmailData=xmsgFormEmailDataUS;
			 xmsgFormFaxData=xmsgFormFaxDataUS;
			 xmsgFormCallData="95-800-551-1490";
			 xmsgFormMailData=xmsgFormMailDataUS;
			 Geo="LAM";
			 SalutationBlock=SalutationUS;
			 break;
  case "MY": InsertStPrRegSelect=MYStPrRegHTML; //Malaysia zip 10
			 xmsgFormEmailData=xmsgFormEmailDataAPC;
			 xmsgFormFaxData=xmsgFormFaxDataAPC;
			 xmsgFormMailData=xmsgFormMailDataAPC;
			 Geo="APC";
			 SalutationBlock=SalutationAPC;
			 break;
  case "NL": 					//Netherlands zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk B.V.<br>Postbus 8651<br>NL-3009 AR Rotterdam";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLNL;
			 break;
  case "NO":					//Norway zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
  case "NZ": 
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataAPC;
			 xmsgFormFaxData="00-800-4700-7280";
			 xmsgFormFaxDataRegister=xmsgFormFaxDataAPC;
			 xmsgFormMailData=xmsgFormMailDataAPC;
			 Geo="APC";
			 SalutationBlock=SalutationAPC;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLNZ;
			 break;
  case "PL": 					//Poland zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData="00-800-4700-7280";
			 xmsgFormFaxDataRegister=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk GmbH Oddzial<br>w Warszawie<br>ul. W. Rzymowskiego 34<br>02-697 Warszawa";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
  case "PT": InsertStPrRegSelect=PTStPrRegHTML; //Portugal zip 10
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk Software Limited<br>Apartado 152<br>2670 Loures";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
  case "RU": 					//Russian Federation zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;
  case "SE":							//Sweden zip 10
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData="Autodesk AB<br>M鰈ndalsv鋑en 24<br>Box 14261<br>S-400 20 G鰐eborg";
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLSE;
			 break;
  case "SG": 
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataAPC;
			 xmsgFormFaxData=xmsgFormFaxDataAPC;
			 xmsgFormMailData=xmsgFormMailDataAPC;
			 Geo="APC";
			 SalutationBlock=SalutationAPC;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLSG;
			 break;
  case "TH": 
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataAPC;
			 xmsgFormFaxData=xmsgFormFaxDataAPC;
			 xmsgFormMailData=xmsgFormMailDataAPC;
			 Geo="APC";
			 SalutationBlock=SalutationAPC;
			 break;
  case "TW": InsertStPrRegSelect=TWStPrRegHTML; //Taiwan zip 10
			 xmsgFormEmailData=xmsgFormEmailDataAPC;
			 xmsgFormFaxData="886-2546-1223";
			 xmsgFormFaxDataRegister=xmsgFormFaxDataAPC;
			 xmsgFormMailData=xmsgFormMailDataAPC;
			 Geo="APC";
			 SalutationBlock=SalutationAPC;
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLTW;
			 break;
  case "US": InsertStPrRegSelect=USStPrRegHTML; //United States zip 5-4
			 InsertStPrRegText=xmsgStText;
			 InsertZipPostText=ZipHTML;
			 InsertZipPostTextConfirm=ZipHTMLConfirm;
			 xmsgFormEmailData=xmsgFormEmailDataUS;
			 xmsgFormFaxData=xmsgFormFaxDataUS;
			 xmsgFormCallData=xmsgFormCallDataUS;
			 xmsgFormMailData=xmsgFormMailDataUS;
			 Geo="US";
			 SalutationBlock=SalutationUS;
			 break;
  case "ZA": 					//South Africa zip 10				
			 InsertStPrRegSelect=""; 
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData=' (thin envelopes)<br>Autodesk Ltd.<br>PO Box 7398<br>\
                                            Centurion 0046<p>(parcels)<br>Autodesk Ltd.<br>Grand Floor<br>\
	                                    International<br>Business Gateway<br>New Road, Midrand</p>';
			 xmsgFormMailDataRegister=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;


  case "CA": //Canada zip 3-3
			 xmsgOnlineStoreURL=xmsgOnlineStoreURLCA;
  case "PM": //St Pierre and Miquelon
			 InsertStPrRegSelect=CAStPrRegHTML;
			 InsertStPrRegText=xmsgPrText;
			 InsertZipPostText=PostHTML;	//Use CanPostHTML with ereg.dll support in future
			 xmsgFormEmailData=xmsgFormEmailDataUS;
			 xmsgFormFaxData=xmsgFormFaxDataUS;
			 xmsgFormCallData=xmsgFormCallDataUS;
			 xmsgFormMailData=xmsgFormMailDataUS;
			 Geo="CAN";
			 SalutationBlock=SalutationUS;
			 break;


  case "AS": //American Samoa
  case "AQ": //Antarctica
  case "BD": //Bangladesh
  case "BT": //Bhutan
  case "KH": //Cambodia
  case "CX": //Christmas Island (Australia)
  case "CC": //Cocos (Keeling) Islands
  case "CK": //Cook Islands (New Zealand)
  case "TP": //East Timor
  case "FJ": //Fiji
  case "PF": //French Polynesia
  case "TF": //French Southern Territories
  case "HM": //Heard and Mcdonald Islands
  case "ID": //Indonesia
  case "KI": //Kiribati
  case "LA": //Laos, People's Democratic Republic
  case "MO": //Macau
  case "MV": //Maldives
  case "MH": //Marshall Islands
  case "FM": //Micronesia
  case "MM": //Myanmar
  case "NR": //Nauru
  case "NP": //Nepal
  case "NU": //Niue
  case "NF": //Norfolk Island
  case "MP": //Northern Mariana Islands
  case "PK": //Pakistan
  case "PW": //Palau
  case "PG": //Papua New Guinea
  case "PH": //Philippines
  case "PN": //Pitcairn
  case "WS": //Samoa
  case "SB": //Solomon Islands
  case "LK": //Sri Lanka
  case "TK": //Tokelau
  case "TO": //Tonga
  case "TV": //Tuvalu
  case "UM": //US Minor Outlying Islands
  case "VU": //Vanuatu
  case "VN": //Vietnam
  case "WF": //Wallis and Futuna Islands
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataAPC;
			 xmsgFormFaxData=xmsgFormFaxDataAPC;
			 xmsgFormMailData=xmsgFormMailDataAPC;
			 Geo="APC";
			 SalutationBlock=SalutationAPC;
			 break;


  case "AL": //Albania
  case "DZ": //Algeria
  case "AD": //Andorra
  case "AO": //Angola
  case "AM": //Armenia
  case "AZ": //Azerbaijan
  case "BH": //Bahrain
  case "BY": //Belarus
  case "BE": //Belgium
		if (country == "BE")
			xmsgOnlineStoreURL=xmsgOnlineStoreURLBE;
  case "BJ": //Benin
  case "BA": //Bosnia and Herzegovina
  case "BW": //Botswana
  case "BV": //Bouvet Island
  case "IO": //British Indian Ocean Territory
  case "BN": //Brunei Darussalam
  case "BG": //Bulgaria
  case "BF": //Burkina Faso
  case "BI": //Burundi
  case "CM": //Cameroon
  case "CV": //Cape Verde
  case "CF": //Central African Republic
  case "TD": //Chad
  case "KM": //Comoros
  case "CG": //Congo
  case "CI": //Cote d'Ivoire
  case "HR": //Croatia (Hrvatska)
  case "CD": //Democratic Republic of the Congo
  case "DJ": //Djibouti
  case "EG": //Egypt
  case "GQ": //Equatorial Guinea
  case "ER": //Eritrea
  case "EE": //Estonia
  case "ET": //Ethiopia
  case "FO": //Faroe Islands
  case "GA": //Gabon
  case "GM": //Gambia
  case "GE": //Georgia
  case "GH": //Ghana
  case "GI": //Gibraltar
  case "GL": //Greenland
  case "GP": //Guadeloupe
  case "GN": //Guinea
  case "GW": //Guinea-Bissau
  case "IS": //Iceland
  case "JO": //Jordan
  case "KZ": //Kazakhstan
  case "KE": //Kenya
  case "KW": //Kuwait
  case "KG": //Kyrgyzstan
  case "LV": //Latvia
  case "LB": //Lebanon
  case "LS": //Lesotho
  case "LR": //Liberia
  case "LI": //Liechtenstein
  case "LT": //Lithuania
  case "LU": //Luxembourg
  case "MK": //Macedonia
  case "MG": //Madagascar
  case "MW": //Malawi
  case "ML": //Mali
  case "MT": //Malta
  case "MR": //Mauritania
  case "MU": //Mauritius
  case "YT": //Mayotte
  case "MD": //Moldova
  case "MC": //Monaco
  case "MN": //Mongolia
  case "MA": //Morocco
  case "MZ": //Mozambique
  case "NA": //Namibia
  case "AN": //Netherlands Antilles
  case "NC": //New Caledonia
  case "NE": //Niger
  case "NG": //Nigeria
  case "OM": //Oman
  case "PS": //Palestinian Territory
  case "QA": //Qatar
  case "RE": //Reunion
  case "RO": //Romania
  case "RW": //Rwanda
  case "SM": //San Marino
  case "ST": //Sao Tome and Principe
  case "SA": //Saudi Arabia
  case "SN": //Senegal
  case "SC": //Seychelles
  case "SL": //Sierra Leone
  case "SK": //Slovak Republic
  case "SI": //Slovenia
  case "SO": //Somalia
  case "SH": //St Helena
  case "SJ": //Svalbard and Jan Mayen Islands
  case "SZ": //Swaziland
  case "SY": //Syria
  case "TJ": //Tajikistan
  case "TZ": //Tanzania, United Republic of
  case "TG": //Togo
  case "TN": //Tunisia
  case "TR": //Turkey
  case "TM": //Turkmenistan
  case "UG": //Uganda
  case "UA": //Ukraine
  case "AE": //United Arab Emirates
  case "UZ": //Uzbekistan
  case "VA": //Vatican City State
  case "EH": //Western Sahara
  case "YE": //Yemen
  case "ZM": //Zambia
  case "ZW": //Zimbabwe
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataEMA;
			 xmsgFormFaxData=xmsgFormFaxDataEMA;
			 xmsgFormMailData=xmsgFormMailDataEMA;
			 Geo="EMA";
			 SalutationBlock=SalutationEMA;
			 break;


  case "AI": //Anguilla
  case "AG": //Antigua and Barbuda
  case "AR": //Argentina
  case "AW": //Aruba
  case "BS": //Bahamas
  case "BB": //Barbados
  case "BZ": //Belize
  case "BM": //Bermuda
  case "BO": //Bolivia
  case "KY": //Cayman Islands
  case "CR": //Costa Rica
  case "DM": //Dominica
  case "DO": //Dominican Republic
  case "EC": //Ecuador
  case "SV": //El Salvador
  case "FK": //Falkland Islands
  case "GF": //French Guiana
  case "GD": //Grenada
  case "GT": //Guatemala
  case "GY": //Guyana
  case "HT": //Haiti
  case "HN": //Honduras
  case "MQ": //Martinique
  case "MS": //Montserrat
  case "NI": //Nicaragua
  case "PA": //Panama
  case "PY": //Paraguay
  case "PE": //Peru
  case "PR": //Puerto Rico
  case "GS": //S. Georgia and S. Sandwich Is.
  case "KN": //Saint Kitts and Nevis
  case "LC": //Saint Lucia
  case "VC": //Saint Vincent Islands
  case "SR": //Suriname
  case "TT": //Trinidad and Tobago
  case "TC": //Turks and Caicos Islands
  case "UY": //Uruguay
  case "VE": //Venezuela
  case "VG": //Virgin Islands (British)
  case "VI": //Virgin Islands (US)
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 xmsgFormEmailData=xmsgFormEmailDataUS;
			 xmsgFormFaxData=xmsgFormFaxDataUS;
			 xmsgFormMailData=xmsgFormMailDataUS;
			 Geo="LAM";
			 SalutationBlock=SalutationUS;
			 break;
  default  : //!!!Unknown codes we make empty and alert
			 InsertStPrRegSelect="";
			 InsertStPrRegText="";
			 Geo="";
			 SalutationBlock="";
			 if (country != "select")
				alert("错误: 未输入已知的国家和地区代码！");
			 break;
}

}

// Turn off the right click context menu
document.oncontextmenu=fnSuppress;
function fnSuppress() {
    return false;
}

