// Scripting Utilities function getCookie (name) { var biscuit = document.cookie; var startpos = biscuit.indexOf(name + "="); if (startpos == -1) return null; startpos = biscuit.indexOf("=", startpos) + 1; // first character var endpos = biscuit.indexOf(";", startpos); if (endpos == -1) endpos = biscuit.length; // last character return unescape(biscuit.substring(startpos, endpos)); } function setCookie (name,value,expires,path,domain,secure) { document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function openWin(chart, wwidth, wheight) { //alert ("width=" + wwidth); var sWin; var spec = "width=650,height=525,status=no,toolbar=no,menubar=no"; if (wwidth > 0) { spec = "width=" + wwidth + ",height=" + wheight + ",status=no,toolbar=no,menubar=no"; // open a default window (so we actually have an object - then check to see if is the correct size sWin = open("/popup.asp", "SlaveWindow", spec); //will make sure the window exists - ignored if already exists sWin.close(); //will close the win we just created - or it will close a previously existing (unwanted) window } //alert("spec=" + spec); // var sWin = open("/slave.htm", "SlaveWindow", spec); // sWin.document.write("