		/* Ajax */
		function ShowAjax(sender,elname,pageid,conf,newpage)
		{
		//alert(elname);
		document.getElementById(elname).innerHTML="<img src='/loading.gif' />"; //<font style='text-align:center;color:#666666;'><br><b>LOADING DATA ...</b></font>
		//  return;
		xmlHttp=GetXmlHttpObject()
		if (xmlHttp==null)
		  {
		  alert ("Your browser does not support AJAX!");
		  return;
		  }
		if(newpage!=''){
		var url="/"+newpage;
		}else{		
		var url="index.php";
		//Param="id="+dataid;
		url=url+"?page="+pageid+"&conf="+conf;
		url=url+"&sid="+Math.random();
		//alert(url);
		}
		
		xmlHttp.onreadystatechange=function() { 
		        if (xmlHttp.readyState==4)
		            if (xmlHttp.status==200)
		                stateChanged(elname,sender,xmlHttp);
		    }
		xmlHttp.open("GET",url,true);
		//xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=Windows-1250")
		xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
		xmlHttp.setRequestHeader("Content-Type", "text/xml; charset=Windows-1250");
		xmlHttp.overrideMimeType('text/xml; charset=Windows-1250'); 
		xmlHttp.send(null);

		} 

		function stateChanged(elname,sender,req) 
		{ 
		if (xmlHttp.readyState==4)
		{ 
		document.getElementById(elname).innerHTML=req.responseText;
		}
		}


		function GetXmlHttpObject()
		{
		var xmlHttp=null;
		try
		  {
		  // Firefox, Opera 8.0+, Safari
		  xmlHttp=new XMLHttpRequest();
		  }
		catch (e)
		  {
		  // Internet Explorer
		  try
		    {
		    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		    }
		  catch (e)
		    {
		    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		    }
		  }
		return xmlHttp;
		}
		/* Ajax END */