function extLink(url){ var thisurl = 'exit.php?mode=newWin&olink='+url; newWindow = window.open(thisurl,'offsiteWin','width=750,height=550,left=50,top=100,screenX=50,screenY=100,toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes'); if ( window.focus ) newWindow.focus(); } function winLink(url,winName){ var thisurl = url; var newwin = window.open(thisurl,winName,'width=750,height=550,left=50,top=100,screenX=50,screenY=100,toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes'); if ( window.focus ) { newwin.focus(); } return false; } function chartLink(url,winname){ var thisurl = url; newWindow = window.open(thisurl,winname,'width=750,height=550,left=50,top=100,screenX=50,screenY=100,toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes'); if ( window.focus ) newWindow.focus(); } var openArrow = new Image(); var openSubArrow = new Image(); var closeArrow = new Image(); var closeSubArrow = new Image(); openArrow.src = 'images/open.gif'; openSubArrow.src = 'images/subopen.gif'; closeArrow.src = 'images/closed.gif'; closeSubArrow.src = 'images/subclosed.gif'; function showMsg(msgdiv){ document.getElementById(msgdiv).innerHTML = ' (Coming Soon)'; } function clearMsg(msgdiv){ document.getElementById(msgdiv).innerHTML = ''; } function toggleLayer(whichLayer,callfrom) { if (document.getElementById) { // this is the way the standards work var style2 = document.getElementById(whichLayer).style; style2.display = style2.display? "":"block"; } else if (document.all) { // this is the way old msie versions work var style2 = document.all[whichLayer].style; style2.display = style2.display? "":"block"; } else if (document.layers) { // this is the way nn4 works var style2 = document.layers[whichLayer].style; style2.display = style2.display? "":"block"; } } function hideLayer(whichLayer){ if (document.getElementById) { // this is the way the standards work var style2 = document.getElementById(whichLayer).style; style2.display = "none"; } else if (document.all) { // this is the way old msie versions work var style2 = document.all[whichLayer].style; style2.display = "none"; } else if (document.layers) { // this is the way nn4 works var style2 = document.layers[whichLayer].style; style2.display = "none"; } unsetAnswers(whichLayer); } function unsetAnswers(target){ var x=document.getElementById(target).getElementsByTagName('input'); for (i=0;i