window.setTimeout('ajx.init()', 100); ajx = new Object(); ajx.init = function(){ for(i=0; i < document.getElementsByTagName('table').length; i++){ fld = document.getElementsByTagName('table')[i]; if(fld.width == '503'){ act = fld.getAttribute("AJX:action"); cfg = ajx.getcfg(fld.getAttribute("AJX:cfg")); switch(act){ case "table": ajx.table(fld, cfg); break; case "table_overflow": ajx.table_overflow(fld, cfg); break; } } } } ajx.table = function (fld, cfg){ dksajdkaejkgea = 0; if(!cfg){ cfg = ajx.getcfg(fld.getAttribute("AJX:cfg")); } ob = (mozilla_ff) ? fld.childNodes[1] : fld.childNodes[0]; if(ob){ for(c=0; c 0){ arr_widths[z] = td.width; } if(td.tagName == "TD"){ if(cfg['header_mouseover_bg']){ td.setAttribute('header_mouseover_bg', td.style['background']); td.onmouseover = function(){ this.style['background'] = cfg['header_mouseover_bg']; } td.onmouseout = function(){ this.style['background'] = this.getAttribute('header_mouseover_bg'); } } if(cfg['header_clickable_mouseover_bg']){ if(td.getAttribute("AJX:sortby")){ td.setAttribute('header_clickable_mouseover_bg', td.style['background']); td.onmouseover = function(){ this.style['background'] = cfg['header_clickable_mouseover_bg']; } td.onmouseout = function(){ if(mozilla_ff){ this.style['background'] = this.parentNode.style['background']; }else{ this.style['background'] = this.parentNode.currentStyle.backgroundImage; } } } } if(cfg['header_js_onclick']){ if(td.getAttribute("AJX:sortby")){ td.style['cursor'] = 'pointer'; td.onclick = function(){ try{eval(cfg['header_js_onclick']+'("'+this.getAttribute("AJX:sortby")+'")');}catch(e){} } } } } } } } ob = (mozilla_ff) ? fld2.childNodes[1] : fld2.childNodes[0]; for(c=0; c
'+txt+'
'; document.body.appendChild(div); div = document.createElement("div"); div.id = 'dsklajdkieahigjaeijfiaehgea'; div.style['position'] = 'absolute'; div.style['left'] = left + 'px'; div.style['top'] = top + 'px'; div.style['width'] = wid + 'px'; div.style['height'] = hei + 'px'; div.style['background'] = '#ffffff'; div.style['opacity'] = '0.7'; div.style['filter'] = 'alpha(opacity:70)'; div.style['color'] = '#4b70ae'; div.style['textAlign'] = 'center'; div.style['fontWeight'] = 'bold'; div.style['fontSize'] = '13px'; div.style['fontFamily'] = 'Tahoma'; div.style['zIndex'] = 10; div2 = document.createElement("iframe"); div2.setAttribute("frameBorder", "0"); div2.setAttribute("frameSpacing", "0"); div2.setAttribute("marginHeight", "0"); div2.setAttribute("marginWidth", "0"); div2.setAttribute("scrolling", "auto"); div2.style['border'] = '0px'; div2.style['width'] = wid + 'px'; div2.style['height'] = hei + 'px'; div2.style['position'] = 'absolute'; div2.style['left'] = 0; div2.style['top'] = 0; div2.style['zIndex'] = 1; div.appendChild(div2); document.body.appendChild(div); } ajx.preloaderHide = function(){ try{document.body.removeChild(document.getElementById('dsklajdkieahigjaeijfiaehgea'));}catch(e){} try{document.body.removeChild(document.getElementById('dsklajdkieahigjaeijfiaehgeadakaejgea'));}catch(e){} } ajx.getcfg = function(dat){ dat = dat.split(";"); cg = new Array(); for(var line in dat){ line = dat[line].split("=", 2); line[0] = line[0].replace(/^\s+|\s+$/g,""); if(line[0].length >= 1){ cg[line[0]] = line[1]; } } return cg; }