//***************** Show and Hide Popup *******************// function showPopup(hoverPopupID, x, y) { hp = document.getElementById(hoverPopupID); if(!(x>0)) x = 20; if(!(y>0)) y = 20; hp.style.top = y + "px"; hp.style.left = x + "px"; hp.style.visibility = "Visible"; } function showPopup2(hoverPopupID) { hp = document.getElementById(hoverPopupID); hp.style.visibility = "Visible"; } function hidePopup(hoverPopupID) { hp = document.getElementById(hoverPopupID); hp.style.visibility = "Hidden"; } //*********** AJAX Object *************// var ajxReq, ajxVarHandleHttpResponse; function DsAjax() { var ajxUrl, ajxMethod, ajxParams, varHandleHttpResponse; this.initAjaxRequest = function () { this.ajxUrl = ""; this.ajxMethod = "GET"; this.ajxParams = ""; ajxVarHandleHttpResponse = eval("this.defaultGetResponseData"); if(window.XMLHttpRequest) ajxReq = new XMLHttpRequest(); else if (window.ActiveXObject) ajxReq = new ActiveXObject("Microsoft.XMLHTTP"); else alert("Your browser does not support XmlHttp"); }; this.setAjaxUrl = function (ajxUrl) {this.ajxUrl = ajxUrl;}; this.setAjaxMethod = function (ajxMethod) {this.ajxMethod = ajxMethod;}; this.setAjaxParams = function (ajxParams) {this.ajxParams = ajxParams;}; this.setQueryString = function (queryString) {this.ajxParams = queryString;}; this.setFinalReadyStateFunction = function (varHandleHttpResponse) {ajxVarHandleHttpResponse = eval(varHandleHttpResponse)}; this.setAjaxParamsByForm = function (frm) { var params = ""; var paramArr = "document." + frm + ".elements"; paramArr = eval(paramArr); paramArrLen = paramArr.length; for(var i=0; i