
function loadXMLDoc(url, object) {

// branch for native XMLHttpRequest object
if (window.XMLHttpRequest) {
req = new XMLHttpRequest();
req.onreadystatechange = processReqChange;
req.open("GET", url, true);
req.send(null);

// branch for IE/Windows ActiveX version
} else if (window.ActiveXObject) {
req = new ActiveXObject("Microsoft.XMLHTTP");

if (req) {
req.onreadystatechange = processReqChange;
req.open("GET", url, true);
req.send();
}
}
}

function testpass_std()
{
alert("bbbbbbbbbb");
}


function testpass_st()
{
alert("nnnnnnnnnn");
var xmlHttp;
var np=document.getElementById("npassword").value;
//alert("Soni"+np);
//MessagesReq1 = createXMLHttpRequest();

try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    try
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    catch (e)
      {
      alert("Your browser does not support AJAX!");
      return false;
      }
    }
  }



xmlHttp.onreadystatechange=function()
    {
alert("PPPPPPPP");
    if(xmlHttp.readyState==4)
      {
      //document.getElementById("div1").value=xmlHttp.responseText;
      document.getElementById("div2").value="howwwwwww";
      }
    }

xmlHttp.open("GET", "../../passst.php?ajax=1&npass=" + encodeURIComponent(SearchFrom) + "&start=" + encodeURIComponent(Start) + "&func=start", true);
				xmlHttp.send(null);
			} 





function ajaxFunction()
{
var xmlHttp2;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp2=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp2=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    try
      {
      xmlHttp2=new ActiveXObject("Microsoft.XMLHTTP");
      }
    catch (e)
      {
      alert("Your browser does not support AJAX!");
      return false;
      }
    }
  }
xmlHttp3 = new XMLHttpRequest();
var url="javascript/ajax/aj.php";
//alert(xmlHttp3.readyState);
var strr=document.getElementById("npassword").value;
//alert(strr);
  xmlHttp3.onreadystatechange = changepass;
  xmlHttp3.open("GET","module/Users/aj.php?nepass="+strr,true);
  xmlHttp3.send(null);
  }


function changepass()
    {

//alert(xmlHttp3.responseText);
    if(xmlHttp3.readyState==4)
     {
    //document.getElementById("time").value=document.getElementById("npassword").value;
     document.getElementById('div1').innerHTML=xmlHttp3.responseText;
     }
    }

















function processReqChange(object) {
// only if req shows "loaded"

if (req.readyState == 4) {
// only if "OK"
if (req.status == 200) {
eval(object);
return true
} else {
return false
//	alert("There was a problem retrieving the XML data:\n" + req.statusText);
}
}
}

// Ajax abook add
function addabook()	{
document.getElementById('AlertAbook').style.display='';
setTimeout("document.getElementById('AlertAbook').style.display='none'", 3000);
}

function funcpo(at)
{   

window.open('module/mail/invitef.php?acco='+at, 'mywindow', 'width=525, height=560, left=10, top=100, screenX=0, screenY=100');
}


function importhide()
{
	document.getElementById("manual").style.display="";
   	document.getElementById("image").style.display="";
	document.getElementById("import").style.display="none";
}

function importshow()
{    
	document.getElementById("manual").style.display="none";
   	document.getElementById("image").style.display="none";
	document.getElementById("import").style.display="";
	}