function getQSVars(URL) {    var strURL = URL.toString();    var strVars = "";    if ((strURL.indexOf('&') + 1) > 0) {        strVars = strURL.substring((strURL.indexOf('&') + 1), strURL.length);    }    return strVars;}function getRefToDivNest(divID, oDoc) {    if (!oDoc) {        oDoc = document;    }    if (document.layers) {        if (oDoc.layers[divID]) {            return oDoc.layers[divID];        } else {            for (var x = 0, y; !y && x<oDoc.layers.length; x++) {                y = getRefToDivNest(divID, oDoc.layers[x].document);            }            return y;        }    }    if (document.getElementById) {        return document.getElementById(divID);    }    if (document.all) {        return document.all[divID];    }    return document[divID];}function resizeIFrame() {        ieh = (document.body.scrollHeight);        top.resizeIFrame(ieh);  }function popupWindow(url, width, height, scroll){	if (width == "") {		var properties = "";	} else {		var properties = 'width=' + width + ', height=' + height + ', scrollbars=' + scroll;	}  	 win=window.open(url,'newwin',properties)}    