// JavaScript Document

function GetXmlHttpObject()
{ 
  var objXMLHttp=null
  
  try {
    objXMLHttp = new ActiveXObject("Msxml2.XMLHTTP"); //later IE
  } catch (e) {
	  try {
		objXMLHttp = new ActiveXObject("Microsoft.XMLHTTP"); //earlier IE
	  } catch (e) {
				  objXMLHttp = null;
  				}
  }
  
  if (objXMLHttp==null)
  {
    objXMLHttp=new XMLHttpRequest() //IE7, Firefox, Safari`
  }
  return objXMLHttp
}

function rotate_hh(ids,cats,hhh){
	var xtp=GetXmlHttpObject();
	xtp.onreadystatechange=function(){
		if(xtp.readyState==4){
				document.getElementById(ids).innerHTML=xtp.responseText;
				//document.getElementById(ids).style.opacity='1';
				//document.getElementById(ids).style.filter="alpha(opacity=100)";
				
			}else{/*
				///////////////////////////////////
					if(xtp.readyState==0){
							document.getElementById(ids).style.opacity='0.6';
							document.getElementById(ids).style.filter="alpha(opacity=60)";
					}else{
								///////////////////////////////////
									if(xtp.readyState==1){
									document.getElementById(ids).style.opacity='0.4';
									document.getElementById(ids).style.filter="alpha(opacity=40)";

									}else{
												///////////////////////////////////
													if(xtp.readyState==2){
														document.getElementById(ids).style.opacity='0.2';
														document.getElementById(ids).style.filter="alpha(opacity=20)";
													}else{
														document.getElementById(ids).style.opacity='0.0';
														document.getElementById(ids).style.filter="alpha(opacity=0)";
													}
												//////////////////////////////////////////	

									}
								//////////////////////////////////////////	
					
					}
				//////////////////////////////////////////	
*/
			}
			
	}
	xtp.open("post",hhh+cats,90);
	xtp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
	xtp.send("hhh=dd");
		
}//end function


function eee(){
rotate_hh('prem',0,'inc002/pem.php?cats=');//jobfair
setTimeout("eee()",10000);
}
