function popup(url, width, height, name, scrollbars, dependent, resizable) { var left = (screen.width / 2) - width / 2; var top = (screen.height / 2) - height / 2; mypopup = window.open(url, name, "left="+left+",top="+top+",width="+width+",height="+height+",dependent=" + ((dependent) ? "yes" : "no") + ",location=no,menubar=no,resizable=" + ((resizable) ? "yes" : "no") + ",scrollbars=" + ((scrollbars) ? "yes" : "no") + ",status=no,toolbar=no"); mypopup.focus(); return; } function setMarker(row, color) { // coded my maurice var cells = null; // check parameters if (color == '' || typeof(row.style) == 'undefined') { return false; } // get the current row and exits if the browser can't get it if (typeof(document.getElementsByTagName) != 'undefined') { cells = row.getElementsByTagName('td'); } else if (typeof(row.cells) != 'undefined') { cells = row.cells; } else { return false; } var numcells = cells.length; curcolor = cells[0].style.backgroundColor; if (curcolor == '' || curcolor.toLowerCase() != color.toLowerCase()) { var i = 0; for (i = 0; i < numcells; i++) { cells[i].style.backgroundColor = color; } } return true; } function getRadioGroupValue(radioGroupObj) { for (var i=0; i < radioGroupObj.length; i++) if (radioGroupObj[i].checked) return radioGroupObj[i].value; return null; } function getQueryVariable() { var query = window.location.search.substring(1); var vars = query.split("&"); var arr = new Array(); for (var i=0;i