function ld(url,snd,target, after) { var xmlhttp; xmlhttp=null; // code for Mozilla, etc. if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest() } // code for IE else if (window.ActiveXObject) { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP") } if (xmlhttp!=null) { xmlhttp.open("POST","scripts/"+url+'.php',true); xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xmlhttp.send(snd); xmlhttp.onreadystatechange=function() { // if xmlhttp shows "loaded" if (xmlhttp.readyState==4) { // if "OK" if (xmlhttp.status==200) { document.getElementById(target).innerHTML=xmlhttp.responseText if (after !='')eval(after); } else { alert("Problem retrieving data:" + xmlhttp.statusText) } } } } else { alert("Your browser does not support XMLHTTP.") } } function write(id,txt){ document.getElementById(id).innerHTML=txt; }function divm( whichLayer ,me) //------- if me is 2 = show , if me is 3 = hide else is togle { var elem, vis; if( document.getElementById ) // this is the way the standards work elem = document.getElementById( whichLayer ); else if( document.all ) // this is the way old msie versions work elem = document.all[whichLayer]; else if( document.layers ) // this is the way nn4 works elem = document.layers[whichLayer]; vis = elem.style; // if the style.display value is blank we try to figure it out here if (vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined) vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none'; vis.display = (vis.display==''||vis.display=='block')?'none':'block'; if (me=='2') vis.display = 'block'; if (me=='3') vis.display = 'none'; }function printPage(mid) { var html = '\n\n'; html += '\n'; html += '\n\n\n'; html += '\n\n\n'; html += '\n

Print Center


'; var printReadyElem = document.getElementById(mid); html += printReadyElem.innerHTML; html += '\n