				<!-- load Ads -->
	function addLoadEvent(func) {
	  var oldonload = window.onload;
	  if (typeof window.onload != 'function') {
	    window.onload = func;
							
	  } else {
	    window.onload = function() {
								
	      if (oldonload) {
	        oldonload();
								
	      }
	      func();
							  
	    }
							
	  }
						  
	}



// for create Ajax XmlObject
	 function GetXmlHttpObject()
		{ 
			var objXMLHttp=null;
			
			if (window.XMLHttpRequest)
			{
				objXMLHttp=new XMLHttpRequest();
			}
			else if (window.ActiveXObject)
			{
				objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP");
			}
			
			return objXMLHttp;
		}
		
		// this function request data requried 2 variable 
		// first one : Search Date 
		// Second : used for paging , if it dosn't exist --> we request page 1
		
			
			
			function fillIframe(strID , strSRC)
{
if(document.getElementById(strID) != null) {
	var url=strSRC;
	var HttpReq;
	HttpReq=GetXmlHttpObject();
 	HttpReq.onreadystatechange=function()
    	{
   
    		if(HttpReq.readyState==4)
      			{
			var newFrame 
			newFrame = "<iframe FRAMEBORDER = '0' MARGINWIDTH='0' width='100%'  height = '100%' scrolling='no' src='"+strSRC+"'></iframe>"
			document.getElementById(strID).innerHTML = newFrame;
     			}
    	}
	
  HttpReq.open("GET",url,true);
  HttpReq.send(null);
  }
	
 }
				<!-- end load Ads -->
