function MM_preloadImages(){var D=document;if(D.images){if(!D.MM_p){D.MM_p=new Array()}var C,B=D.MM_p.length,A=MM_preloadImages.arguments;for(C=0;C<A.length;C++){if(A[C].indexOf("#")!=0){D.MM_p[B]=new Image;D.MM_p[B++].src=A[C]}}}}function MM_swapImgRestore(){var C,A,B=document.MM_sr;for(C=0;B&&C<B.length&&(A=B[C])&&A.oSrc;C++){A.src=A.oSrc}}function MM_findObj(E,D){var C,B,A;if(!D){D=document}if((C=E.indexOf("?"))>0&&parent.frames.length){D=parent.frames[E.substring(C+1)].document;E=E.substring(0,C)}if(!(A=D[E])&&D.all){A=D.all[E]}for(B=0;!A&&B<D.forms.length;B++){A=D.forms[B][E]}for(B=0;!A&&D.layers&&B<D.layers.length;B++){A=MM_findObj(E,D.layers[B].document)}if(!A&&document.getElementById){A=document.getElementById(E)}return A}function MM_swapImage(){var D,C=0,A,B=MM_swapImage.arguments;document.MM_sr=new Array;for(D=0;D<(B.length-2);D+=3){if((A=MM_findObj(B[D]))!=null){document.MM_sr[C++]=A;if(!A.oSrc){A.oSrc=A.src}A.src=B[D+2]}}}function MM_openBrWindow(C,A,B){window.open(C,A,B)}function MM_validateForm(){var D,B,A,J,G,E,C,H,I="",F=MM_validateForm.arguments;for(D=0;D<(F.length-2);D+=3){G=F[D+2];val=MM_findObj(F[D]);if(val){J=val.name;if((val=val.value)!=""){if(G.indexOf("isEmail")!=-1){B=val.indexOf("@");if(B<1||B==(val.length-1)){I+="- "+J+" must contain an e-mail address.\n"}}else{if(G!="R"){E=parseFloat(val);if(isNaN(val)){I+="- "+J+" must contain a number.\n"}if(G.indexOf("inRange")!=-1){B=G.indexOf(":");C=G.substring(8,B);H=G.substring(B+1);if(E<C||H<E){I+="- "+J+" must contain a number between "+C+" and "+H+".\n"}}}}}else{if(G.charAt(0)=="R"){I+="- "+J+" is required.\n"}}}}if(I){alert("The following error(s) occurred:\n"+I)}document.MM_returnValue=(I=="")}function MM_jumpMenu(targ,selObj,restore){eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");if(restore){selObj.selectedIndex=0}}function MM_displayStatusMsg(A){status=A;document.MM_returnValue=true}var ns=(document.layers?true:false);var ie=(document.all?true:false);var gk=(navigator.userAgent.indexOf("Mozilla/5")>=0?true:false);function changeCaption(A){status="";if(ie){document.all["caption"].innerHTML=A}else{if(gk){document.getElementById("caption").innerHTML=A}else{document.layers["caption"].document.open();document.layers["caption"].document.writeln(A);document.layers["caption"].document.close()}}}function geovisit(){return null}function runBGSlideShow(F,B){var D=9000;var C;var E=F.length;var A=new Array();for(i=0;i<E;i++){A[i]=new Image();A[i].src=F[i]}document.getElementById("mainTitle").src=F[B];B=B+1;if(B>(E-1)){B=0}C=setTimeout("runBGSlideShow(Pic,"+B+")",D)}function clf(A){A.value=""}function clearform(){for(var A=0;A<document.updateForm.elements.length;A++){field=document.updateForm.elements[A];if(field.type=="text"){if(field.value.substring(0,5)=="enter"||field.value.substring(0,6)=="please"){field.value=""}}}}function getQueryVariable(A){var C=window.location.search.substring(1);var D=C.split("&");for(var B=0;B<D.length;B++){var E=D[B].split("=");if(E[0]==A){return E[1]}}}function displayHide(A,B,C){if(B=="hide"){if(C==1){opacity(A,100,0,500)}else{document.getElementById(A).style.display="none"}}else{if(B=="show"){document.getElementById(A).style.display="block";if(C==1){opacity(A,0,100,600)}}}}function opacity(F,D,A,B){var C=Math.round(B/100);var E=0;if(D>A){for(i=D;i>=A;i--){setTimeout("changeOpac("+i+",'"+F+"')",(E*C));E++}}else{if(D<A){for(i=D;i<=A;i++){setTimeout("changeOpac("+i+",'"+F+"')",(E*C));E++}}}}function changeOpac(B,C){var A=document.getElementById(C).style;A.opacity=(B/100);A.MozOpacity=(B/100);A.KhtmlOpacity=(B/100);A.filter="alpha(opacity="+B+")"}function browserDetection(){var A="ie";if(navigator.userAgent.indexOf("Opera")!=-1&&document.getElementById){A="opera"}else{if(document.all){A="ie"}else{if(document.layers){A="ns"}else{if(!document.all&&document.getElementById){A="mozilla"}}}}return A}function setCookie(B,C,A){var D=new Date();D.setDate(A);document.cookie=B+"="+escape(C)+((A==null)?"":";expires="+D)}function getCookie(A){if(document.cookie.length>0){c_start=document.cookie.indexOf(A+"=");if(c_start!=-1){c_start=c_start+A.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1){c_end=document.cookie.length}return unescape(document.cookie.substring(c_start,c_end))}}return null}function SetCookie(D,C){var B=new Date();var A=new Date();A.setTime(B.getTime()+3600000*24*365);document.cookie=D+"="+escape(C)+";expires="+A.toGMTString()}var requiredVersion=6;var useRedirect=false;var flash2Installed=false;var flash3Installed=false;var flash4Installed=false;var flash5Installed=false;var flash6Installed=false;var flash7Installed=false;var flash8Installed=false;var flash9Installed=false;var maxVersion=9;var actualVersion=0;var hasRightVersion=false;var jsVersion=1;var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;jsVersion=1.1;if(isIE&&isWin){document.write("<SCRIPT LANGUAGE=VBScript> \n");document.write("on error resume next \n");document.write('flash2Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n');document.write('flash3Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n');document.write('flash4Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n');document.write('flash5Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');document.write('flash6Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n');document.write('flash7Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7"))) \n');document.write('flash8Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8"))) \n');document.write('flash9Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.9"))) \n');document.write("</SCRIPT> \n")}function detectFlash(){if(navigator.plugins){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var isVersion2=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var flashDescription=navigator.plugins["Shockwave Flash"+isVersion2].description;var flashVersion=parseInt(flashDescription.substring(16));flash2Installed=flashVersion==2;flash3Installed=flashVersion==3;flash4Installed=flashVersion==4;flash5Installed=flashVersion==5;flash6Installed=flashVersion==6;flash7Installed=flashVersion==7;flash8Installed=flashVersion==8;flash9Installed=flashVersion>=9}}for(var i=2;i<=maxVersion;i++){if(eval("flash"+i+"Installed")==true){actualVersion=i}}if(navigator.userAgent.indexOf("WebTV")!=-1){actualVersion=4}if(actualVersion>=requiredVersion){hasflash=true;SetCookie("hasflash",true)}}var hasflash;var theCookie=""+document.cookie;var ind=theCookie.indexOf("hasflash");if(ind==-1){detectFlash()}else{hasflash=true}function CheckMultiple(A){theFrm=document.frmSS;for(var B=0;B<theFrm.length;B++){fldObj=theFrm.elements[B];var C=fldObj.name.indexOf(A);if(C!=-1){if(fldObj.checked){return true}}}return false}function CheckSS(){theFrm=document.frmSS;hasDot=theFrm.email.value.indexOf(".");hasAt=theFrm.email.value.indexOf("@");if(hasDot==-1||hasAt==-1){alert("Please enter a valid email address.");theFrm.email.focus();theFrm.email.select();return false}return true}var isIE=false;var req;function loadXMLDoc(A){if(window.XMLHttpRequest){req=new XMLHttpRequest();req.onreadystatechange=processReqChange;req.open("GET",A,true);req.send(null)}else{if(window.ActiveXObject){isIE=true;req=new ActiveXObject("Microsoft.XMLHTTP");if(req){req.onreadystatechange=processReqChange;req.open("GET",A,true);req.send()}}}}function processReqChange(){if(req.readyState==4){if(req.status==200){showDetail()}else{alert("There was a problem retrieving the XML data:\n"+req.statusText)}}}function loadDoc(A){A=(A)?A:((window.event)?window.event:null);if(A){var B=(A.target)?A.target:((A.srcElement)?A.srcElement:null);if(B){try{if(B.selectedIndex>0){loadXMLDoc(B.options[B.selectedIndex].value)}}catch(C){var D=(typeof C=="string")?C:((C.message)?C.message:"Unknown Error");alert("Unable to get XML data:\n"+D);return }}}}function getElementTextNS(E,D,B,C){var A="";if(E&&isIE){A=B.getElementsByTagName(E+":"+D)[C]}else{A=B.getElementsByTagName(D)[C]}if(A){if(A.childNodes.length>1){return A.childNodes[1].nodeValue}else{return A.firstChild.nodeValue}}else{return"n/a"}}