try{if(_disableBackButton){history.forward();}}catch(e){}var _DHTML=(document.getElementById||document.all||document.layers);
var _browser=new BrowserCheck();document.onkeydown=ProcessKeyPress;if(_browser.b=="ns"){document.captureEvents=(Event.keyDOWN);
}function ProcessKeyPress(d){var b,f;var c;if(_browser.b=="ns"){b=0;f=d.which;c=d.target;}else{b=event.keyCode;f=0;c=event.srcElement;
}if(c.tagName!="TEXTAREA"&&c.outerHTML.indexOf("onkeypress")==-1){if(b==13||f==13){try{try{event.cancelBubble=true;event.returnValue=false;
}catch(a){}ProcessEnterKeyPress();}catch(a){}}}}function GetObject(b){var a;if(document.getElementById){a=document.getElementById(b);
}else{if(document.all){a=document.all[b];}else{if(document.layers){a=document.layers[b];}}}return a;}function BrowserCheck(){if(navigator.userAgent.indexOf("Win")>-1){this.win=true;
}else{this.win=false;}var a=navigator.appName;if(a=="Netscape"){this.b="ns";}else{if(a=="Microsoft Internet Explorer"){this.b="ie";
}else{if(a=="Opera"){this.b="opera";}else{this.b=a;}}}this.version=navigator.appVersion;this.v=parseInt(this.version);this.ns=(this.b=="ns"&&this.v>=4);
this.ns4=(this.b=="ns"&&this.v==4);this.ns5=(this.b=="ns"&&this.v==5);this.ns6=(this.b=="ns"&&this.v==6);this.ie=(this.b=="ie"&&this.v>=4);
this.ie4=(this.version.indexOf("MSIE 4")>0);this.ie5=(this.version.indexOf("MSIE 5")>0);this.ie6=(this.version.indexOf("MSIE 6")>0);
this.ie7=(this.version.indexOf("MSIE 7")>0);this.opera=(this.b=="opera"&&this.v>=6);this.opera6=(this.b=="opera"&&this.v==6);
this.min=(this.ns||this.ie);}function open_window(a,d,c,b){if(typeof(b)=="undefined"){b="";}if(typeof(d)!="undefined"&&typeof(c)!="undefined"&&d>0&&c>0){newwindow=window.open(a,b,"width="+d+",height="+c+",location=0,menubar=0,toolbar=0,status=0,scrollbars=1,resizable=1");
}else{newwindow=window.open(a,b,"location=0,menubar=0,toolbar=0,status=0,scrollbars=1,resizable=1");}newwindow.focus();}function Trim(a){while(a.substring(0,1)==" "){a=a.substring(1,a.length);
}while(a.substring(a.length-1,a.length)==" "){a=a.substring(0,a.length-1);}return a;}function MaxLengthOnKeyPress(b,f){var a=String.fromCharCode(f.keyCode);
if(b.getAttribute("MaxLength")){var c=b.getAttribute("MaxLength");var d=new String();d=b.value+a;if(d.length>c){f.returnValue=false;
}}}function MaxLengthOnPaste(g,c){var f=window.clipboardData.getData("Text");var a=document.selection.createRange();a.text="";
var d=g.getAttribute("MaxLength");if(d==null){a.text=f;c.returnValue=true;}else{var h=0;var b=new String();b=g.value;h=d-b.length;
a.text=f.substring(0,h);c.returnValue=false;}}function checkIsValid(b,a){if(isNaN(b.value+"")){b.value=document.getElementById(a).value;
}}function ShowMessage(b,a){document.getElementById(a).innerText="";b.style.display="none";document.getElementById("message").style.display="block";
return true;}function openHelpWindow(a,c,b){if(c==null){c="400";b="300";}newwindow=window.open(a,"HelpWindow","menubar=0,resizable=0, scrollbars, width="+c+",height="+b);
if(window.focus){newwindow.focus();}return false;}function openWindow(a,d,c,b){if(d==null){d="400";c="300";}if(b==null){b="_new";
}newwindow=window.open(a,b,"menubar=0,resizable=0, scrollbars, width="+d+",height="+c);if(window.focus){newwindow.focus();
}return false;}function openPopUp(b,a){if((a=="S")||(a=="s")){width="320";height="210";}else{if((a=="M")||(a=="m")){width="600";
height="450";}else{if((a=="L")||(a=="l")){width="960";height="666";}}}newwindow=window.open(b,"Popup","menubar=0,resizable=1,scrollbars=1,status=1,toolbar=0,top=10,left=10, width="+width+",height="+height);
if(window.focus){newwindow.focus();}}function ShowHelp(n,d,g){var k=true;var b=GetObject("helpContainer");var p=GetObject("helpFrame");
var a=GetObject("helpText");b.style.display="block";a.innerHTML=d;var m=findPosY(n);var c=findPosX(n);m-=3;b.style.top=m+"px";
b.style.left=c+16+"px";b.style.width="210px";p.style.width=b.style.width;if(g=="big"){b.style.width="420px";p.style.width=b.style.width;
}else{if(g=="bigger"){b.style.width="630px";p.style.width=b.style.width;}else{if(g=="huge"){m+=17;b.style.top=m+"px";b.style.left="0px";
b.style.width=document.documentElement.clientWidth-4+"px";p.style.width=b.style.width;window.scrollTo(0,m-17);k=false;}}}if(k){var l=document.body.scrollTop;
var h=document.body.scrollWidth;if(l==0){if(window.pageYOffset){l=window.pageYOffset;}else{l=(document.body.parentElement)?document.body.parentElement.scrollTop:0;
}}if(l==0){l=document.documentElement.scrollTop;}var o=(l+document.documentElement.clientHeight)-m-b.clientHeight;var i=document.forms[0].offsetHeight-(m+b.clientHeight);
var f=parseInt(b.style.left);var j=parseInt(b.style.width);if((h-(f+j))<0){b.style.left=(f-j-25)+"px";}if((o<0)||(i<0)){m=m-b.clientHeight+20;
b.style.top=m+"px";}}if(p!=null){p.style.top=m-4+"px";p.style.left=(parseInt(b.style.left)-4)+"px";p.style.height=a.offsetHeight+"px";
p.style.display="block";}}function HideHelp(){var b=GetObject("helpContainer");var a=GetObject("helpFrame");b.style.display="none";
if(a!=null){a.style.display="none";}}function findPosX(b){var a=0;if(b.offsetParent){while(1){a+=b.offsetLeft;if(!b.offsetParent){break;
}b=b.offsetParent;}}else{if(b.x){a+=b.x;}}return a;}function findPosY(b){var a=0;if(b.offsetParent){while(1){a+=b.offsetTop;
if(!b.offsetParent){break;}b=b.offsetParent;}}else{if(b.y){a+=b.y;}}return a;}function ClickIt(btnId){var btnClick=$get(btnId);
if(btnClick!=null){try{btnClick.click();}catch(e){eval(btnClick.href);}}}function SetMouseCoOrds(){var a=window.event;document.getElementById("ctl00$ctl00$cphCenterWell$cphCenterWell$XmlSiteMap$AuthoringModeControlsContainer$hidPosition").value=a.clientX+","+a.clientY;
}
