﻿ 
 document.ondragstart = function(){
 
 return false;
 
 }
 
 
var validatedInfo		= "fill in correct.";
var requireErrorInfo	= "<span class=\"R\">This field is requested.</span><br \/>";
var msgInfo	= new Array();
//validator info
msgInfo[0]				= new Array(	'Member id component by 6-20 characters, letters(a-z,A-Z), numbers (0-9) or hyphen("-"), no spaces.once register，it cannot change；Strongly suggestion use your company short name。<br>like "<span class=\" R \">ZhongShan kenfor science and technology  CO.LTD</span>",it can use zskenfor be the Member Id.',
										'<h1><span class=\"R\">Your fill in is not correct.<\/span>Member id component by 6-20 characters, letters(a-z,A-Z), numbers (0-9) or hyphen("-"), no spaces.<\/h1>');
var loginid	 			= new formEle(true,"loginid",null,"loginid_info",msgInfo[0],"loginid_info_check");
msgInfo[1]				= new Array(	'Password component by 6-20 characters, A-Z, a-z, 0-9, "-",no spaces nor symbols.Suggestion use the easy to remember and hard to guest\'s numbers and numbers mix',
										'<h1><span class=\"R\">Your password is not correct,<\/span>Password component by 6-20 characters, A-Z, a-z, 0-9, "-",no spaces nor symbols<\/h1>');
var passwd	 		= new formEle(true,"passwd",null,"passwd_info",msgInfo[1],"passwd_info_check");
msgInfo[2]				= new Array(	'Please fill in the Confirm password.','<h1><span class=\"R\">Make sure the password and the Confirm password same.<\/span>Please fill in the password again.<\/h1>');
var confirm_passwd	= new formEle(true,"confirm_passwd","sameas=passwd","confirm_passwd_info",msgInfo[2],"confirm_passwd_info_check");

msgInfo[3]				= new Array(	'Please fill in the Verification code.','Please fill in the correct Verification code.');
var auth_code	 		= new formEle(true,"auth_code",null,"auth_code_info",msgInfo[3],"auth_code_info_check");

msgInfo[4]				= new Array(	'Please fill in your Company name.','<h1>Company name must longer then 50 characters.<\/h1>');
var com_name				= new formEle(true,"com_name",null,"com_name_info",msgInfo[4],"com_name_info_check");

msgInfo[5]				= new Array('Max:200 characters,please use "," between different items or products.','<h1>The length of keywords must more then 5 characters.<\/h1>');
var mainserver			= new formEle(true,"mainserver",null,"mainserver_info",msgInfo[5],"mainserver_info_check");

msgInfo[6]				= new Array('Fill in your Full name.','<h1>Full name must longer then 2 characters.<\/h1>');
var truename			=new formEle(true,"truename",null,"truename_info",msgInfo[6],"truename_info_check");

msgInfo[12]				= new Array('Please fill in your Job Title.','<h1><span class=\"R\">Job Title less then 16 characters<\/span><\/h1>','<h1><span class=\"R\">Job Title must longer then 2 characters.<\/span><\/h1>');
var job					= new formEle(false,"job",null,"job_info",msgInfo[12],"job_info_check");

msgInfo[13]				= new Array('&nbsp;','<h1>Phone number must component by numbers or\"/\",\"-\"<\/h1>');

msgInfo[14]				= new Array('&nbsp;','<h1>Area number and country number must component by numbers.<\/h1>');


msgInfo[8]				= new Array('Please use "/" if more than a fixed phone,extension number use "-".','<h1>Local area code& country number be allowed with figures.<\/h1>');

msgInfo[9]				= new Array('Please use "/" if more than a fixed phone, extension number use "-"','<h1>Phone number be allowed with figures or"/" ,"-"<\/h1>');

var phone_country = new formEle(true,"phone_country",null,"phone_info",msgInfo[8],"phone_info_check");
var phone_area = new formEle(true,"phone_area",null,"phone_info",msgInfo[8],"phone_info_check");
var phone_number = new formEle(true,"phone_number",null,"phone_info",msgInfo[9],"phone_info_check");
var fax_country = new formEle(false,"fax_country",null,"fax_info",msgInfo[14],"fax_info_check");
var fax_area = new formEle(false,"fax_area",null,"fax_info",msgInfo[14],"fax_info_check");
var fax_number = new formEle(false,"fax_number",null,"fax_info",msgInfo[13],"fax_info_check");

msgInfo[15]				= new Array(	'Please fill in so that the potential client contact you timely！<br>We does not bind any charge service！','<h1>mobile phone number exceed the maximum length of 16 characters.<\/h1>','<h1>please fill in the correct Mobile number。<\/h1>');
var mobile		= new formEle(false,"mobile",null,"mobile_info",msgInfo[15],"mobile_info_check");

msgInfo[16]				= new Array('please fill in the main business site，such as 4th zhongshan Road,Zhongshan City,Guangdong Province,China ','<h1>address length not allow in excess of 80<\/h1>','<h1>address length not allow less than 10.<\/h1>');
var address = new formEle(true,"address",null,"address_info",msgInfo[16],"address_info_check");

msgInfo[17]				= new Array(	'We suggest you fill in so that the potential client contact you in time! such as 528403','<h1>Please fill in correct postalcode.<\/h1>');
var post_code		= new formEle(false,"post_code",null,"post_code_info",msgInfo[17],"post_code_info_check");

msgInfo[18]				= new Array(	'Important: A valid email is required for customers to contact you and the only way to retake your password when forgeting password.<br><font color=\"#999999\" >no e-mail? recommend to use free e-mail。<a href=\"http://www.hotmail.com\" target=\"_blank\" class=\"NOL\">Hotmail<\/a>、<a href=\"http://mail.yahoo.com\" target=\"_blank\" class=\"NOL\">Yahoo! Mail<\/a><\/font>',
										'<h1>Email Adress not correct.please fill in the correct email address.<\/h1>');
var email				= new formEle(true,"email",null,"email_info",msgInfo[18],"email_info_check");

msgInfo[19]				= new Array(	'Please fill in intact website address such as http://www.lighting86.com.cn ','<h1>Please fill in intact website address such as http://www.lighting86.com.cn<\/h1>');
var website		= new formEle(false,"website",null,"website_info",msgInfo[19],"website_info_check");


msgInfo[22]				= new Array(	'More than 50 characters,Please fill detailed, true,accurate and current information about your company products, services, history, achievement, etc. please in english ,not in simplified or traditional chinese.it\'s very important to bring more business opportunity.Do not input those info such contactperson、phone、fax、address、website、email to avoid trash. Do not use advertisement language or exaggerating sentence.','<h1>Company Description must more than 50 characters.<\/h1>','<h1>Company Description must less than 2000 characters.<\/h1>');
var com_description		= new formEle(true,"com_description",null,"com_description_info",msgInfo[22],"com_description_info_check");

msgInfo[23]				= new Array( 'Please fill in the province or state.','<h1><\/h1> ');
var province			= new formEle(false,"province",null,"province_info",msgInfo[23],"province_info_check");