var re=document.referrer;
var xmlHttp_ll=false;
var xmlHttp = false;
var http_menu=false;
try {
  xmlHttp_ll = new ActiveXObject("Msxml2.XMLHTTP");
  xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
  http_menu=new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
  try {
	xmlHttp_ll = new ActiveXObject("Microsoft.XMLHTTP");
    xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	http_menu = new ActiveXObject("Microsoft.XMLHTTP");
  } catch (e2) {
	xmlHttp_ll=false;
    xmlHttp = false;
	http_menu=false;
  }
}
if (!xmlHttp_ll && typeof XMLHttpRequest != 'undefined') {
xmlHttp_ll = new XMLHttpRequest();
}

if (!xmlHttp && typeof XMLHttpRequest != 'undefined') {
  xmlHttp = new XMLHttpRequest();
}

if (!http_menu && typeof XMLHttpRequest != 'undefined') {
http_menu = new XMLHttpRequest();
}

function callServer() {
  var ll_url = "../iframe/ll_cu.aspx?key="+escape(re);
  xmlHttp_ll.open("GET", ll_url, true);
  xmlHttp_ll.send(null);
  
  var menu_url = "../iframe/head4.htm";
  http_menu.open("GET", menu_url, true);
  http_menu.onreadystatechange=menuupdatepage;
  http_menu.send(null);
}

function menuupdatepage()
{
  if(http_menu.readyState<4)
  {
	show_nemu.innerHTML="<center><img src=../images/loading3.gif></center>";  
  }
  
  if(http_menu.readyState==4)
  {
	var response=http_menu.responseText;
	show_nemu.innerHTML=response;  
  }
}

function Check_Form_Search()
{
  var getEmail=document.getElementById("get_Email");
  if(getEmail.value=="")
  {
    alert('Input the email address associated with your account.');
	getEmail.focus();
	return false
  }
  Send_Email();
}

function Send_Email()
{
  var get_key=document.getElementById("get_Email").value;
  get_key=get_key.replace(/</g,"[");
  get_key=get_key.replace(/>/g,"]");
  var url_email="../iframe/forgotpassword.aspx?key="+escape(get_key);
  xmlHttp.open("GET",url_email,true);
  xmlHttp.onreadystatechange=updatepageSend_Email;
  xmlHttp.send(null);
}

function updatepageSend_Email()
{
  if(xmlHttp.readyState<4)
  {
	main.innerHTML="<center><img src=../images/loading3.gif>&nbsp;Sending...</center>";  
  }
  if(xmlHttp.readyState==4)
  {
	var return_page=xmlHttp.responseText;
	main.innerHTML=return_page;
  }
}