			//-------------------------
			function getReqObjPost(url,params,func)
			//-------------------------			
			{
				if (window.XMLHttpRequest){
			 		xmlhttp=new XMLHttpRequest();
			 	}
			 	else if (window.ActiveXObject){
			    	if(new ActiveXObject("Microsoft.XMLHTTP")){
			    		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
			    	}
			    	else{
			    		xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");
			    	}
			    }
			  	xmlhttp.onreadystatechange=function(){
			  		if(xmlhttp.readyState==4){	
						if(xmlhttp.status==200){
							var str=xmlhttp.responseText;
							var xml=xmlhttp.responseXML;
							eval(func);
						}
						else{
							noData(xmlhttp.status,url);	
						}
					}
			  	}
				var now=new Date();
				params=params;
				xmlhttp.open("POST",url,true);
				xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
				xmlhttp.send(params);
			}			
			
			
			//-------------------------
			function logon()
			//-------------------------
				{
					document.location.href = '/logon/';
				}			
			
			
			//-------------------------
			function showPic(src)
			//-------------------------
				{
					var el = document.getElementById("p1");
					if(el)
					{
    					el.style.top = document.body.clientHeight / 2 - 225 + document.body.scrollTop;
    					el.innerHTML = ""
    					el.innerHTML += "<img id='i1' src='" + src + "'>"; 
    					//el.innerHTML += "<br clear='all'><p style='margin:20px;font-size:80%;font-family:Arial'>" + txt + "<br>&copy; ???????, ??? ????? ????????</p>";
    					el.style.display = 'block';
					}
				}
			//-------------------------
			function hidePic()
			//-------------------------
				{
					var el = document.getElementById("p1");
					el.style.display = 'none';
				}

			//------------------------------
			function clickHandler()
			//------------------------------
			{
				
				if(event.srcElement.className == 'zoom')
					{
					var re = /(\.jpg)|(\.gif)|(\.png)/i;
					var text = "";
					/*if( event.srcElement.parentElement)
					{
						var col = event.srcElement.parentElement.children;
						if(col) 
							for( var i = 0; i < col.length; i ++)
								if(col[i].tagName.toLowerCase() == "p" )
									text = col[i].innerText;
					}	*/			
					showPic(event.srcElement.src.replace(re,"_big.jpg"));
					}
			}	
			// -----------
			function InitPictures()
			//-------------
			
			{

			/*var coll = document.images;
			for(var i=0; i < coll.length; i++)
				if(coll[i].className == 'zoom') 
					{
						coll[i].style.cursor = "url(/i/zoom.cur)";
					}*/	
			}		
