function popUp(URL)
{
day = new Date();
id = day.getTime();
var pageNew = window.open(URL, id, 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=480,height=540,left=160,top=200');
}

function popUpGauge(URL)
{
day = new Date();
id = day.getTime();
var pageNew = window.open(URL, id, 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,width=650,height=600,left=160,top=200');
}

function popUpBMI(URL)
{
day = new Date();
id = day.getTime();
var pageNew = window.open(URL, id, 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=304,height=500,left=160,top=200');
}

function popUpHRA(URL)
{
day = new Date();
id = day.getTime();
var pageNew = window.open(URL, id, 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,width=650,height=600,left=160,top=200');
}

function popUpOutbound(URL)
{
day = new Date();
id = day.getTime();
var strURL = "LinkTracker.aspx?link=" + URL
alert('You are being redirected from the Fit Together site to a destination at the end of this outbound link.  We are not responsible for the content, accuracy, nor privacy policy of the site on the other end of this link.');
var pageNew = window.open(strURL ,id); //, 'toolbar=1,scrollbars=0,location=1,statusbar=1,menubar=1,resizable=1,width=600,height=480,left=160,top=200');
}

function printIt()
{
window.print();
}
function printIt(id)
{
var win;
var str='';
str = document.getElementById(id).innerHTML;
win=window.open('print.htm','PrintVersion','height=700,width=640,status=yes,scrollbars=yes');
win.document.write('<html>\n<head>\n<title>Print Version<\/title>\n');
win.document.write('<link href="styles.css" rel="stylesheet" type="text/css">\n');
win.document.write('<\/head><body>');
win.document.write('<input id="button1" type="button" onclick="this.style.display=\'none\';window.print();" value="Click to Print" NAME="button1"><BR>');
win.document.write(str);
win.document.write('<\/body>\n<\/html>');
win.document.close();
}