// this is used in the page contact links.  When a person needs to send a comment, it takes the page that it's on and includes it in the form it sends the user to.  That way, when help requests are recieved, you always know what page the user was on.

function sendMail(to) {
var URL=document.location;
bang = open("/sensors/mail.asp?from="+ URL + "&whoto=" + to,"_self");
}

function out() {
  window.status = '';
}

function go(url) {
opener.location.href = url;
window.close();
}

function newWin(url,t,l,w,h) {
  bang = open(url,"popText","resize=yes,scrollbars=yes,top=" + t + ",left=" + l + ",width=" + w + ",height=" + h);
}


function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=800,height=600,left = 112,top = 84');");
}