function disclaimerPop() {
window.open("http://www.alexandraresort.com/disclaimer.html", "disclaimer", "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=350,height=200");
}

function home(){
        window.location="http://www.alexandraresort.com/alexandra.asp";
}
function grace(){
        window.location="http://www.alexandraresort.com/gracebay.asp";
}
function experience(){
        window.location="http://www.alexandraresort.com/experience.asp";
}
function accomodation(){
        window.location="http://www.alexandraresort.com/accomodations.asp";
}
function dining(){
        window.location="http://www.alexandraresort.com/dining.asp";
}
function reservations(){
        window.location="http://www.alexandraresort.com/reservations.asp";
}
function specials(){
        window.location="http://www.alexandraresort.com/specials.asp";
}
function media(){
        window.location="http://www.alexandraresort.com/pressroom.asp";
}     

function contactus(){
        window.location="http://www.alexandraresort.com/contactus.asp";
}
function residences(){
        window.location="http://www.ownalexandra.com/";
}

function checkrequired(which) {
var pass=true;
if (document.images) {
for (i=0;i<which.length;i++) {
var tempobj=which.elements[i];
if (tempobj.name.substring(0,8)=="required") {
if (((tempobj.type=="text"||tempobj.type=="textarea")&&
tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&
tempobj.selectedIndex==0)) {
pass=false;
break;
         }
      }
   }
}
if (!pass) {
shortFieldName=tempobj.id.toUpperCase();
alert("Please make sure the "+shortFieldName+" field was properly completed.");
return false;
}
else
checkSubmit()
}

var submitcount=0;

function checkSubmit() { 
   if (submitcount == 0)
      {
      submitcount++;
      return true;
      }
   else 
      {
      alert("Your request is in process...  Thank you.");
      return false;
      }
  }

























