function openWin(url,name,xtra){ window.open(url,name,xtra); } function displayDiv(divID){ if(document.getElementById(divID)){ document.getElementById(divID).style.display = 'block' ; } } function hideDiv(divID){ if(document.getElementById(divID)){ document.getElementById(divID).style.display = 'none' ; } } function toggleDisplay(divID){ var thisDiv = document.getElementById(divID); (thisDiv.style.display == 'none') ? displayDiv(divID) : hideDiv(divID) ; } function chngClass(thisItem,toClassName){ if(document.getElementById){ document.getElementById(thisItem).className = toClassName; } } function toggleClass(thisItem,classNameOne,classNameTwo){ var thisObj = document.getElementById(thisItem); (thisObj.className == classNameOne) ? chngClass(thisItem,classNameTwo) : chngClass(thisItem,classNameOne) ; } function chngStatus(thisStatusText){ window.status = thisStatusText; return true; } function __doPostBack(eventTarget, eventArgument) { var theform; if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) { theform = document._ctl0; } else { theform = document.forms["_ctl0"]; } theform.__EVENTTARGET.value = eventTarget.split("$").join(":"); theform.__EVENTARGUMENT.value = eventArgument; theform.submit(); }