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(A){var D,B;var E;if(_browser.b=="ns"){D=0;B=A.which;E=A.target;
}else{D=event.keyCode;B=0;E=event.srcElement;}if(E.tagName!="TEXTAREA"&&E.outerHTML.indexOf("onkeypress")==-1){if(D==13||B==13){try{try{event.cancelBubble=true;
event.returnValue=false;}catch(C){}ProcessEnterKeyPress();}catch(C){}}}}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(C,B,A,D){if(typeof(D)=="undefined"){D="";
}if(typeof(B)!="undefined"&&typeof(A)!="undefined"&&B>0&&A>0){newwindow=window.open(C,D,"width="+B+",height="+A+",location=0,menubar=0,toolbar=0,status=0,scrollbars=1,resizable=1");
}else{newwindow=window.open(C,D,"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(D,B){var C=String.fromCharCode(B.keyCode);if(D.getAttribute("MaxLength")){var E=D.getAttribute("MaxLength");
var A=new String();A=D.value+C;if(A.length>E){B.returnValue=false;}}}function MaxLengthOnPaste(E,B){var D=window.clipboardData.getData("Text");
var G=document.selection.createRange();G.text="";var C=E.getAttribute("MaxLength");
if(C==null){G.text=D;B.returnValue=true;}else{var F=0;var A=new String();A=E.value;
F=C-A.length;G.text=D.substring(0,F);B.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(C,B,A){if(B==null){B="400";
A="300";}newwindow=window.open(C,"HelpWindow","menubar=0,resizable=0, scrollbars, width="+B+",height="+A);
if(window.focus){newwindow.focus();}return false;}function openWindow(C,B,A,D){if(B==null){B="400";
A="300";}if(D==null){D="_new";}newwindow=window.open(C,D,"menubar=0,resizable=0, scrollbars, width="+B+",height="+A);
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=0,status=1,toolbar=0,top=10,left=10, width="+width+",height="+height);
if(window.focus){newwindow.focus();}}function ShowHelp(D,J,L){var A=true;var H=GetObject("helpContainer");
var F=GetObject("helpFrame");var G=GetObject("helpText");H.style.display="block";
G.innerHTML=J;var C=findPosY(D);var I=findPosX(D);C-=3;H.style.top=C+"px";H.style.left=I+16+"px";
H.style.width="210px";F.style.width=H.style.width;if(L=="big"){H.style.width="420px";
F.style.width=H.style.width;}else{if(L=="bigger"){H.style.width="630px";F.style.width=H.style.width;
}else{if(L=="huge"){C+=17;H.style.top=C+"px";H.style.left="0px";H.style.width=document.documentElement.clientWidth-4+"px";
F.style.width=H.style.width;window.scrollTo(0,C-17);A=false;}}}if(A){var B=document.body.scrollTop;
var M=document.body.scrollWidth;if(B==0){if(window.pageYOffset){B=window.pageYOffset;
}else{B=(document.body.parentElement)?document.body.parentElement.scrollTop:0;}}if(B==0){B=document.documentElement.scrollTop;
}var E=(B+document.documentElement.clientHeight)-C-H.clientHeight;var N=document.forms[0].offsetHeight-(C+H.clientHeight);
var K=parseInt(H.style.left);var O=parseInt(H.style.width);if((M-(K+O))<0){H.style.left=(K-O-25)+"px";
}if((E<0)||(N<0)){C=C-H.clientHeight+20;H.style.top=C+"px";}}if(F!=null){F.style.top=C-4+"px";
F.style.left=(parseInt(H.style.left)-4)+"px";F.style.height=G.offsetHeight+"px";F.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;
}