function createDefaultMsgBox(){var l=applyInherit(document.createElement("TABLE"),new CustomElement());var g=applyInherit(document.createElement("THEAD"),new CustomElement());var c=applyInherit(document.createElement("TFOOT"),new CustomElement());var q=applyInherit(document.createElement("TBODY"),new CustomElement());l.setAtributeOther("cellpadding","0");l.setAtributeOther("cellspacing","0");l.setAtributeOther("border","0");l.setAtributeOther("width","100%");l.setAtributeOther("id","msgboxAlert");l.style.zIndex="500";l.style.position="absolute";l.style.width="300px";l.style.left="20";l.style.top="20";l.style.backgroundColor="#FFEE90";l.style.borderSize="1px";l.style.borderColor="#666666";l.style.borderStyle="solid";var i=applyInherit(document.createElement("tr"),new CustomElement());var k=applyInherit(document.createElement("td"),new CustomElement());var h=applyInherit(document.createElement("td"),new CustomElement());i.setAtributeOther("id","titleBar");k.setAtributeOther("id","titleBarMsg");k.setAtributeOther("width","100%");h.setAtributeOther("id","closeX");h.setAtributeOther("width","100%");h.setAtributeOther("onclick","closeMsgWindow()");var r=document.createTextNode("Messages");var j=document.createTextNode("X");i.style.cursor="move";i.style.backgroundColor="#ccc";i.style.color="#FFFFFF";k.style.backgroundColor="#ccc";h.style.backgroundColor="#ccc";h.style.cursor="pointer";k.appendChild(r);h.appendChild(j);i.appendChild(k);i.appendChild(h);var f=document.createElement("tr");var o=applyInherit(document.createElement("td"),new CustomElement());o.setAtributeOther("id","msgboxFooter");o.style.backgroundColor="#FFEE90";var s=document.createTextNode("Footer Example");o.appendChild(s);f.appendChild(o);f.style.textAlign="center";var b=document.createElement("tr");var n=document.createElement("td");var a=applyInherit(document.createElement("TABLE"),new CustomElement());var d=applyInherit(document.createElement("THEAD"),new CustomElement());var e=applyInherit(document.createElement("tr"),new CustomElement());var p=applyInherit(document.createElement("td"),new CustomElement());a.setAtributeOther("id","msgboxBody");a.setAtributeOther("cellpadding","0");a.setAtributeOther("cellspacing","0");a.setAtributeOther("border","0");p.setAtributeOther("id","msgboxAlertInner");p.style.backgroundColor="#FFEE90";a.style.width="100%";a.style.backgroundColor="#FFEE90";var m=document.createTextNode("My Example Body Cell Area");p.appendChild(m);e.appendChild(p);d.appendChild(e);a.appendChild(d);n.appendChild(a);b.appendChild(n);g.appendChild(i);c.appendChild(f);q.appendChild(b);l.appendChild(g);l.appendChild(c);l.appendChild(q);return l}var winW=0,winH=0;function getBrowserViewableDimensions(){if(parseInt(navigator.appVersion)>3){if(navigator.appName=="Netscape"){winW=window.innerWidth-16;winH=window.innerHeight-16}if(navigator.appName.indexOf("Microsoft")!=-1){winW=document.body.offsetWidth-20;winH=document.body.offsetHeight-20;if(winW<0){winW=document.clientHeight}if(winH<0){winH=document.clientHeight}}}}function closeMsgWindow(){document.getElementById("msgboxAlert").style.display="none";restoreDropdown()}function getScrollXY(){var b=0,a=0;if(typeof(window.pageYOffset)=="number"){a=window.pageYOffset;b=window.pageXOffset}else{if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){a=document.body.scrollTop;b=document.body.scrollLeft}else{if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){a=document.documentElement.scrollTop;b=document.documentElement.scrollLeft}}}return a}function bVer(){msieIndex=navigator.appVersion.indexOf("MSIE")+5;return(parseFloat(navigator.appVersion.substr(msieIndex,3)))}function coordinates(){var a=document.getElementById("msgboxAlert").offsetLeft;var d=(document.getElementById("msgboxAlert").offsetTop*1)+(document.getElementById("msgboxAlert").offsetHeight*1);var b=(a*1)+(document.getElementById("msgboxAlert").offsetWidth*1);var c=(d*1)+(document.getElementById("msgboxAlert").offsetHeight*1)}function searchForDropdownsHIDE(){var k=getPageOffsetLeft(document.getElementById("msgboxAlert"));var h=(getPageOffsetTop(document.getElementById("msgboxAlert"))*1);if(document.all){k+=document.getElementById("msgboxAlert").offsetParent.clientLeft;h+=document.getElementById("msgboxAlert").offsetParent.clientTop}var d=k;var j=(h*1);var c=(k*1)+(document.getElementById("msgboxAlert").offsetWidth*1);var i=(h*1)+(document.getElementById("msgboxAlert").offsetHeight*1);if(document.all){for(var f=0;f<document.all.length;f++){objectid=document.all[f].id;objectx=document.all[f];if(objectid.substring(0,4)=="drop"){var b=getPageOffsetLeft(objectx);var g=getPageOffsetTop(objectx);var e=(b*1)+(objectx.offsetWidth*1);var a=(g*1)+(objectx.offsetTop*1);if(b>=d&&b<=c){if(g>=j&&g<=i){document.all[f].style.visibility="hidden"}}if(e>=d&&e<=c){if(a>=j&&a<=i){document.all[f].style.visibility="hidden"}}if(b<=d&&e>=c){if(g>=j&&a<=i){document.all[f].style.visibility="hidden"}}}}}}function restoreDropdown(){var b;var a;if(document.all){for(a=0;a<document.all.length;a++){b=document.all[a].id;if(b.substring(0,4)=="drop"){document.all[a].style.visibility="visible"}}}}function MsgOkCancel(b){var a;a=confirm(b);return a};