function passValues()
{
var whrs=document.mainForm.wakehours.value;
var wmins=document.mainForm.wakemins.value;
var slpOK=document.mainForm.sleepOK.value;
var dthrs=document.mainForm.destTimeHours.value;
var dtmins=document.mainForm.destMins.value;
var hthrs=document.mainForm.homeTimeHours.value;
var hmins=document.mainForm.homeMins.value;
var url= "/main/sleepcalc?whrs="+whrs+"&wmins="+wmins+"&slpOK="+slpOK+"&dthrs="+dthrs+"&dtmins="+dtmins+"&hthrs="+hthrs+"&hmins="+hmins;
myWindow=window.open(url,"NewWindow","Width=400,height=550,scrollbars=yes");
myWindow.focus();
}
