var keys=new Array("LastName","FirstName","MiddleInitial","CompanyName","JobTitle","MailAddress","PhoneNumber","nsg_bcard_icq", "WebSite","Birthday","Ns_Country", "ns_city","Ns_SubTitle","Ns_Text","Ns_Title","Ns_ShortTitle","Username","Password","Password2");var names=new Array("\u0424\u0430\u043C\u0438\u043B\u0438\u044F","\u0418\u043C\u044F","\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E","\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u041A\u043E\u043C\u043F\u0430\u043D\u0438\u0438","\u0414\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C","\u0410\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B","\u041D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","ICQ","\u0410\u0434\u0440\u0435\u0441 WWW","\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F","\u0421\u0442\u0440\u0430\u043D\u0430","\u0413\u043E\u0440\u043E\u0434","\u041A\u0440\u0430\u0442\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F","\u041F\u043E\u043B\u043D\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F","\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435","\u041A\u0440\u0430\u0442\u043A\u043E\u0435 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435","\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","\u041F\u0430\u0440\u043E\u043B\u044C","\u041F\u043E\u0432\u0442\u043E\u0440\u043D\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C");function getnamebyid(wd){	for (i=0; i<keys.length; i++){		if (keys[i]==wd)			return names[i];	}	return wd;}function valuesChecked(mustbeactive){	notfilled="";	first="";	//	var selNum1=document.getElementById("CompanyName").selectedIndex;//	var selNum2=document.getElementById("Ns_Country").selectedIndex;//	var selNum3=document.getElementById("ns_city").selectedIndex;							for (j=0; j<mustbeactive.length; j++){		window.status=mustbeactive[j];//		 alert(selNum1);		if (document.getElementById(mustbeactive[j]).value==" ")		 document.getElementById(mustbeactive[j]).value="";//--------------------------------------------------------------if((mustbeactive[j]=="Ns_Country")||(mustbeactive[j]=="ns_city")||(mustbeactive[j]=="CompanyName")){	if (document.getElementById(mustbeactive[j]).selectedIndex=="0")		{		notfilled= (notfilled=="" ? "" : notfilled+", ")+getnamebyid(mustbeactive[j]);		if (first=="") {first=mustbeactive[j];}		}}//------------------------------------------------------------else{	if ((document.getElementById(mustbeactive[j]).value=="")||(document.getElementById(mustbeactive[j]).value.indexOf("|")!=-1))		{		notfilled= (notfilled=="" ? "" : notfilled+", ")+getnamebyid(mustbeactive[j]);		if (first=="") {first=mustbeactive[j];}		}}		 //----------------------------------------	}		if (first!="") document.getElementById(first).focus();	return notfilled;}function checkChecked(mustbeactive){	n=valuesChecked(mustbeactive);//	(document.getElementById(mustbeactive[j]).selectedIndex)=="0")		if (n==""){		return true;		} else {		alert("\u041D\u0435 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u044B \u0438\u043B\u0438 \u043D\u0435\u0432\u0435\u0440\u043D\u043E \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u044B \u043F\u043E\u043B\u044F: "+n);//		return true;		return false;		}	}