function showcontent(theURL){
	
	var hei=350;
	var wid=610;
	var wh=screen.availHeight;
	var ww=screen.availWidth;
	var x=Math.round((ww-wid)/2);
	var y=Math.round((wh-hei)/2);
	
	window.open(theURL,"showcontent","height="+hei+",width="+wid+",top="+y+",left="+x+",directories=0,location=0,menubar=0,resizable=1,scrollbars=yes,status=0,toolbar=0");

	return false;
}

function loadContent(id){
	if (reqPageUrl[id].length > 0)
	{
		//$("#preloader").show();
		$("#content").empty().append('<fieldset class="informer_loading">&#1047;&#1072;&#1075;&#1088;&#1091;&#1079;&#1082;&#1072;...</fieldset>');
		$.ajax(
	    {
	        url: reqPageUrl[id], 
		    cache: false,
		    success: function(message) 
		    {			            	
		        $("#content").empty().append(message);
		        //$("#preloader").hide();             
		    }
		});			        
	}
}


