var ns6,ns4,ie4;ns4 = (document.layers)? true:false;ie4 = (document.all)? true:false;ns6 = false;if (ns4 == ie4) {	ns6 = true;	ie4 = ns4 = false;};var URL,width,height,scroll,menubar,toolbar,resize,xPos,yPos,winName = "";function openWin(URL,width,height,scroll,menubar,toolbar,resize,xPos,yPos,winName){  	var focusFail = false;	if (width == "") width = "500";	if (height == "") height = "500";	if (scroll == "") scroll = "auto";	if (menubar =="") menubar = "no";	if (toolbar == "") toolbar = "no";	if (resize == "") resize = "yes";	if (xPos == "") xPos = "5";  	if (yPos == "") yPos = "5";   	if (winName == "") winName = "очень большая фотография";	var features ="width=" +width+ ",height=" +height+ ",scrollbars=" +scroll+ ",menubar=" +menubar+ ",toolbar=" +toolbar+ ",resizable=" +resize+ ",left=" +xPos+ ",top=" +yPos  ;	var newWin = window.open(URL,winName,features);  	if (navigator.appVersion.indexOf("NT")!= -1){		if (navigator.appVersion.indexOf("NT 5")!= -1){			focusFail = false;		} else if (ie4 == true)	focusFail = true;	};	if (focusFail == false){		if (window.focus) newWin.focus();	};};
function CSPop(p) {  window.open(p,'showcase','scrollbars=no,toolbar=no,width=700,height=570')};function CSPop2(p) {  window.open(p,'showcase','scrollbars=no,toolbar=no,width=780,height=640')};function CSPop3(p) {  window.open(p,'showcase','scrollbars=no,toolbar=no,width=650,height=500')  };function CSPop4(p) {  window.open(p,'showcase','scrollbars=no,toolbar=no,width=450,height=350') };function open_window(link,w,h) { 		var win = "width="+w+",height="+h+",menubar=no,location=no,resizable=yes,scrollbars=yes,left=150,top=50";		newWin = window.open(link,'newWin',win); }
function buyItem(itemno) { window.open("buy.php?"+itemno,"_blank","toolbar=no, location=no, scrollbars=no, width=300, height=50")};var MM_contentVersion = 6;var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {		var words = navigator.plugins["Shockwave Flash"].description.split(" ");	    for (var i = 0; i < words.length; ++i)	    {		if (isNaN(parseInt(words[i])))		continue;		var MM_PluginVersion = words[i]; 	    };	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;}else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) {	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); 	document.write('on error resume next \n');	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');	document.write('</SCR' + 'IPT\> \n');};
function _onkine_user_count(MM_FlashCanPlay, uz_id, uz_count){var Site_FlashCanPlay;	if (MM_FlashCanPlay) {	Site_FlashCanPlay =	 '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '		 +'codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID="chat" HEIGHT="20" WIDTH="80">'		 +'<PARAM NAME=movie VALUE="./forum/online.swf?uz='+uz_id+'">'		 +'<PARAM NAME=menu VALUE=false>'		 +'<PARAM NAME=quality VALUE=best>'		 +'<PARAM NAME=wmode VALUE=transparent>'		 +'<EMBED name="chat" src="./forum/online.swf?uz='+uz_id+'" menu=false quality=best wmode=transparent TYPE="application/x-shockwave-flash" '		 +'PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" swLiveConnect="true">'		 +'</EMBED></OBJECT>';	} else {		 Site_FlashCanPlay = ' '+uz_count;	}; document.write(Site_FlashCanPlay);};
function _Site_Flash_Viev(MM_FlashCanPlay, flash_swf, flash_img, w,h) {var d=' width='+w+' height='+h; if (MM_FlashCanPlay) {document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+d+' menu="false"><param name=movie value='+flash_swf+'><PARAM NAME=wmode VALUE=transparent><embed src='+flash_swf+' quality=high '+d+'></embed></object>') }else {document.write('<img src='+flash_img+' border=0>')} ;};
function _Site_Flash_Button(MM_FlashCanPlay, flash_swf, flash_img, flash_name, flash_url, w,h) {var d=' width='+w+' height='+h;var _flash = flash_swf+flash_name+flash_url;if (MM_FlashCanPlay) {document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+d+' menu="false"><param name=movie value='+_flash+'><PARAM NAME=wmode VALUE=transparent><embed src='+_flash+' quality=high '+d+'></embed></object>') }else {document.write('<a href='+flash_url+'><img src='+flash_img+' alt='+flash_name+' title='+flash_name+' border=0></a>')} ;};function _Site_Buton_Flash(MM_FlashCanPlay, flash_swf, flash_img, flash_name, flash_url, w,h) {if ((w) && (h)) { var d=' width='+w+' height='+h };var _flash = flash_swf+'?butname='+flash_name+'&buturl='+flash_url;if (MM_FlashCanPlay) {document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+d+' menu="false"><param name=movie value='+_flash+'><PARAM NAME=wmode VALUE=transparent><embed src='+_flash+' quality=high '+d+'></embed></object>') }else {document.write('<a href='+flash_url+'><img src='+flash_img+' alt='+flash_name+' border=0></a>')} };function _Site_Alert_Flash_(MM_FlashCanPlay, alert_swf, _alert_non_f) {if (MM_FlashCanPlay) {document.write(alert_swf);} else {document.write(_alert_non_f);};} ;function validateUsersEditName() {	if (document.UsersEdit.uz_firstname.value.length<1) {		alert("Введите Имя. ");		return false;	};	if (document.UsersEdit.uz_lastname.value.length<1) {		alert("а Фамилия . ");		return false;	};return true;  } ;function validateUsersEdit() {	if (document.UsersEdit.uz_nik.value.length<1) {		alert("Введите Login");		return false;	};	if (document.UsersEdit.uz_nik.value.length<3) {		alert("Login слишком короткий не мение 4 символов");		return false;	};	if (document.UsersEdit.uz_firstname.value.length<1) {		alert("Введите Имя. ");		return false;	};	if (document.UsersEdit.uz_lastname.value.length<1) {		alert("а Фамилия . ");		return false;	};	if (document.UsersEdit.uz_usermail_1.value.length<1) {		alert("Введите E-Mail. ");		return false;	};	if ((document.UsersEdit.verifiregister.value) != (document.UsersEdit.verifiregister2.value)) {				alert(" Код подтверждения не совпадает с числом на картинке ");		return false;	};return true;  } ;function FuncVerifiKod(nameForm, kod) {  if ((document.forms[nameForm].verifiKod.value) == "") {		alert("Ведите код подтверждения.");	return false;	};	if ((document.forms[nameForm].verifiKod.value) != kod) {		alert(" Код подтверждения не совпадает с числом на картинке ");		return false;	};	return true;  };function FuncVerifiKod(FormName, Pole1, Pole2) {  	if ( (document.forms[FormName][Pole2].value.length > 1) && ((document.forms[FormName][Pole1].value) == (document.forms[FormName][Pole2].value)) ) {		document.getElementById('Buttton2').innerHTML = "<input type='Submit' value='  Далее   '>";	} else {		document.getElementById('Buttton2').innerHTML = ("<input type='Button' value='  Далее   ' style='color:777777;'>");	};  };document.ondragstart = test;        document.oncontextmenu = test;         function test() {  return false }; document.write("<body "+" oncopy="+'"return false;"'+">");function notmenu() { window.event.returnValue=false; }; var DivId;function LoadContentId(locatioPHP, DivId) { var cont = document.getElementById(DivId);var loading = document.getElementById('loading');cont.innerHTML = loading.innerHTML;var req = window.XMLHttpRequest? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP"); req.onreadystatechange = function() { if (req.readyState == 4) 	if (req.status == 200){ 		cont.innerHTML = ""+ req.responseText; 	};} ; req.open("GET", locatioPHP, true);req.send(null); }function LoadContentUrl(mId) { 	LoadContentId('./read.php?' + mId , 'DivContent');  }function WindowLocationReload(link){   	if ((navigator.appName == "Opera") || (navigator.appName == "Netscape")) {    		self.location.href =link; 	} else {		window.location.reload(link);	}; };



