function hideAskInfo(){
  	 var display = document.getElementById('askInfo');
 	 frames['fAskInfo'].location.href=null;
	 display.style.visibility = 'hidden'; 
	 display.style.display = 'none'; 
	 grayOut(false, {'zindex':'5', 'bgcolor':'#0000FF', 'opacity':'70'}); 
	}
function hideInfo(){document.all.destInfo.style.visibility = 'hidden'; }


function changeStartDate(startDate){

 	clearMain();
 
}//edn





function doEmailList(x, y){



        var url= '/emailList.jsp?email='+x+'&zip='+y;



var xmlhttp1=GetXmlHttpObject()
if (xmlhttp1==null){alert ("Browser does not support HTTP Request"); return;}



xmlhttp1.onreadystatechange = function() {
        if (xmlhttp1.readyState == 4) {
            if (xmlhttp1.status == 200){


                        document.getElementById('dEmail').innerHTML=xmlhttp1.responseText;
                        }//edn if
        }//edbn if
    }
try{
        xmlhttp1.open("GET",url,true)
        xmlhttp1.send(null)
}catch(er){ alert(er);}





}//end 

function a(){

	b();

}

function b(){
        setTimeout('dCounter()',1);
        setTimeout('c()',1);


}


function c(){

        setTimeout('b()',3000);

}//end 
function dCounter(){
 
 
  
  
	var url= '/dCounter.jsp?junk=junk';
	
	

var xmlhttp1=GetXmlHttpObject()
if (xmlhttp1==null){alert ("Browser does not support HTTP Request"); return;}



xmlhttp1.onreadystatechange = function() {
        if (xmlhttp1.readyState == 4) {
            if (xmlhttp1.status == 200){
            

			document.getElementById('dCounter').innerHTML=xmlhttp1.responseText; 
			}//edn if
        }//edbn if
    }
try{ 
	xmlhttp1.open("GET",url,true) 
 	xmlhttp1.send(null)
}catch(er){ alert(er);}


	

}//edn 






function GetXmlHttpObject()
{ 
var objXMLHttp=null
if (window.XMLHttpRequest)
{
objXMLHttp=new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp
} 


function displayhide(ref){

   var display = document.getElementById(ref);
   if(display.style.display == "none")
       display.style.display = "";
   else
       display.style.display = "none";	
}


function MsgBox (textstring) {
alert (textstring) }






function frontPet(id){




        var url= '/pet.jsp?did='+id;



var xmlhttp1=GetXmlHttpObject()
if (xmlhttp1==null){alert ("Browser does not support HTTP Request"); return;}



xmlhttp1.onreadystatechange = function() {
        if (xmlhttp1.readyState == 4) {
            if (xmlhttp1.status == 200){


                        document.getElementById('bucketRight').innerHTML=xmlhttp1.responseText;
                        }//edn if
        }//edbn if
    }
try{
        xmlhttp1.open("GET",url,true)
        xmlhttp1.send(null)
}catch(er){ alert(er);}





}//edn 
