addEvent(window,"load",init,false);function init(){var _1=document.getElementsByTagName("input");for(var i=0;i<_1.length;i++){var _3=_1[i];if(_3.type=="text"&&_3.className.match(/\bcleardefault\b/)){addEvent(_3,"focus",clearDefaultText,false);addEvent(_3,"blur",replaceDefaultText,false);if(_3.value!=""){_3.defaultText=_3.value;}}}};function clearDefaultText(e){var _5=window.event?window.event.srcElement:e?e.target:null;if(!_5){return;}if(_5.value==_5.defaultText){_5.value="";}};function replaceDefaultText(e){var _7=window.event?window.event.srcElement:e?e.target:null;if(!_7){return;}if(_7.value==""&&_7.defaultText){_7.value=_7.defaultText;}};function addEvent(_8,_9,_a,_b){if(_8.addEventListener){_8.addEventListener(_9,_a,_b);return true;}else{if(_8.attachEvent){var r=_8.attachEvent("on"+_9,_a);return r;}else{return false;}}};function knackerEvent(_d){if(_d&&_d.stopPropagation){_d.stopPropagation();}if(window.event&&window.event.cancelBubble){window.event.cancelBubble=true;}if(_d&&_d.preventDefault){_d.preventDefault();}if(window.event){window.event.returnValue=false;}};function cancelEventSafari(){return false;};function getElementStyle(_e,_f){var _10=document.getElementById(_e);if(_10.currentStyle){return _10.currentStyle[toCamelCase(_f)];}else{if(window.getComputedStyle){var _11=window.getComputedStyle(_10,"");return _11.getPropertyValue(_f);}else{return "";}}};function toCamelCase(_12){var _13=_12.toLowerCase().split("-");if(_13.length==1){return _13[0];}var ret=(_12.indexOf("-")==0)?_13[0].charAt(0).toUpperCase()+_13[0].substring(1):_13[0];for(var i=1;i<_13.length;i++){var s=_13[i];ret+=s.charAt(0).toUpperCase()+s.substring(1);}return ret;};function MM_preloadImages(){var d=document;if(d.images){if(!d.MM_p){d.MM_p=new Array();}var i,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0;i<a.length;i++){if(a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}}};function MM_swapImgRestore(){var i,x,a=document.MM_sr;for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++){x.src=x.oSrc;}};function MM_findObj(n,d){var p,i,x;if(!d){d=document;}if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);}if(!(x=d[n])&&d.all){x=d.all[n];}for(i=0;!x&&i<d.forms.length;i++){x=d.forms[i][n];}for(i=0;!x&&d.layers&&i<d.layers.length;i++){x=MM_findObj(n,d.layers[i].document);}if(!x&&d.getElementById){x=d.getElementById(n);}return x;};function MM_swapImage(){var i,j=0,x,a=MM_swapImage.arguments;document.MM_sr=new Array;for(i=0;i<(a.length-2);i+=3){if((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;if(!x.oSrc){x.oSrc=x.src;}x.src=a[i+2];}}};function OpenBrWindow(_27,_28,_29,_2a,_2b,_2c){if(window.screen){if(_2c){if(_2c=="true"){var _2d=(screen.width-_2a)/2;var _2e=(screen.height-_2b)/2;_29+=(_29!="")?",":"";_29+=",left="+_2d+",top="+_2e;}}}window.open(_27,_28,_29+((_29!="")?",":"")+"width="+_2a+",height="+_2b);};function YY_checkform(){var _2f=YY_checkform.arguments;var _30=true;var myV="";var _32="";var _33=false;var _34;for(var i=1;i<_2f.length;i=i+4){if(_2f[i+1].charAt(0)=="#"){_34=true;_2f[i+1]=_2f[i+1].substring(1);}else{_34=false;}var _36=MM_findObj(_2f[i].replace(/\[\d+\]/ig,""));myV=_36.value;if(_36.type=="text"||_36.type=="password"||_36.type=="hidden"){if(_34&&_36.value.length==0){_33=true;}if((myV.length>0)&&(_2f[i+2]==1)){var _37=_2f[i+1].split("_");if(isNaN(myV)||myV<_37[0]/1||myV>_37[1]/1){_33=true;}}else{if((myV.length>0)&&(_2f[i+2]==2)){var rx=new RegExp("^[\\w.=-]+@[\\w\\.-]+\\.[a-z]{2,4}$");if(!rx.test(myV)){_33=true;}}else{if((myV.length>0)&&(_2f[i+2]==3)){var _37=_2f[i+1].split("#");var _39=myV.match(_37[0]);if(_39){var myD=(_39[_37[1]])?_39[_37[1]]:1;var myM=_39[_37[2]]-1;var myY=_39[_37[3]];var _3d=new Date(myY,myM,myD);if(_3d.getFullYear()!=myY||_3d.getDate()!=myD||_3d.getMonth()!=myM){_33=true;}}else{_33=true;}}else{if((myV.length>0)&&(_2f[i+2]==4)){var _37=_2f[i+1].split("#");var _39=myV.match(_37[0]);if(!_39){_33=true;}}else{if(myV.length>0&&_2f[i+2]==5){var _3e=MM_findObj(_2f[i+1].replace(/\[\d+\]/ig,""));if(_3e.length){_3e=_3e[_2f[i+1].replace(/(.*\[)|(\].*)/ig,"")];}if(!_3e.checked){_33=true;}}else{if(myV.length>0&&_2f[i+2]==6){var _3e=MM_findObj(_2f[i+1]);if(myV!=_3e.value){_33=true;}}}}}}}}else{if(!_36.type&&_36.length>0&&_36[0].type=="radio"){var _3f=_2f[i].match(/(.*)\[(\d+)\].*/i);var _3e=(_36.length>1)?_36[_3f[2]]:_36;if(_2f[i+2]==1&&_3e&&_3e.checked&&MM_findObj(_2f[i+1]).value.length/1==0){_33=true;}if(_2f[i+2]==2){var _30=false;for(var j=0;j<_36.length;j++){_30=_30||_36[j].checked;}if(!_30){_32+="* "+_2f[i+3]+"\n";}}}else{if(_36.type=="checkbox"){if(_2f[i+2]==1&&_36.checked==false){_33=true;}if(_2f[i+2]==2&&_36.checked&&MM_findObj(_2f[i+1]).value.length/1==0){_33=true;}}else{if(_36.type=="select-one"||_36.type=="select-multiple"){if(_2f[i+2]==1&&_36.selectedIndex/1==0){_33=true;}}else{if(_36.type=="textarea"){if(myV.length<_2f[i+1]){_33=true;}}}}}}if(_33){_32+="* "+_2f[i+3]+"\n";_33=false;}}if(_32!=""){alert("The required information is incomplete or contains errors:\t\t\t\t\t\n\n"+_32);}document.MM_returnValue=(_32=="");};function MM_popupMsg(msg){alert(msg);};function MM_showHideLayers(){var i,p,v,obj,_46=MM_showHideLayers.arguments;for(i=0;i<(_46.length-2);i+=3){if((obj=MM_findObj(_46[i]))!=null){v=_46[i+2];if(obj.style){obj=obj.style;v=(v=="show")?"visible":(v=="hide")?"hidden":v;}obj.visibility=v;}}};var bustcachevar=1;var loadedobjects="";var rootdomain="http://"+window.location.hostname;var bustcacheparameter="";function ajaxpage(url,_48){var _49=false;if(window.XMLHttpRequest){_49=new XMLHttpRequest();}else{if(window.ActiveXObject){try{_49=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{_49=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){}}}else{return false;}}_49.onreadystatechange=function(){loadpage(_49,_48);};if(bustcachevar){bustcacheparameter=(url.indexOf("?")!=-1)?"&"+new Date().getTime():"?"+new Date().getTime();}_49.open("GET",url+bustcacheparameter,true);_49.send(null);};function loadpage(_4a,_4b){if(_4a.readyState==4&&(_4a.status==200||window.location.href.indexOf("http")==-1)){document.getElementById(_4b).innerHTML=_4a.responseText;}};function loadobjs(){if(!document.getElementById){return;}for(i=0;i<arguments.length;i++){var _4c=arguments[i];var _4d="";if(loadedobjects.indexOf(_4c)==-1){if(_4c.indexOf(".js")!=-1){_4d=document.createElement("script");_4d.setAttribute("type","text/javascript");_4d.setAttribute("src",_4c);}else{if(_4c.indexOf(".css")!=-1){_4d=document.createElement("link");_4d.setAttribute("rel","stylesheet");_4d.setAttribute("type","text/css");_4d.setAttribute("href",_4c);}}}if(_4d!=""){document.getElementsByTagName("head").item(0).appendChild(_4d);loadedobjects+=_4c+" ";}}};function imageholderclass(){this.over=new Array();this.down=new Array();this.src=new Array();this.store=store;function store(src,_4f,_50){var AL=this.src.length;this.src[AL]=new Image();this.src[AL].src=src;this.over[AL]=new Image();this.over[AL].src=_50;this.down[AL]=new Image();this.down[AL].src=_4f;};};var ih=new imageholderclass();var mouseisdown=0;function preloader(t){for(i=0;i<t.length;i++){if(t[i].getAttribute("srcover")||t[i].getAttribute("srcdown")){storeimages(t[i]);var _53="";_53=(t[i].getAttribute("srcover"))?_53+"A":_53+"";_53=(t[i].getAttribute("srcdown"))?_53+"B":_53+"";switch(_53){case "A":mouseover(t[i]);mouseout(t[i]);break;case "B":mousedown(t[i]);mouseup2(t[i]);break;case "AB":mouseover(t[i]);mouseout(t[i]);mousedown(t[i]);mouseup(t[i]);break;default:return;}if(t[i].src){t[i].setAttribute("oldsrc",t[i].src);}}}};function mouseup(t){var _55;if(t.onmouseup){t.oldmouseup=t.onmouseup;_55=function(){mouseisdown=0;this.src=this.getAttribute("srcover");this.oldmouseup();};}else{_55=function(){mouseisdown=0;this.src=this.getAttribute("srcover");};}t.onmouseup=_55;};function mouseup2(t){var _57;if(t.onmouseup){t.oldmouseup=t.onmouseup;_57=function(){mouseisdown=0;this.src=this.getAttribute("oldsrc");this.oldmouseup();};}else{_57=function(){mouseisdown=0;this.src=this.getAttribute("oldsrc");};}t.onmouseup=_57;};function mousedown(t){var _59;if(t.onmousedown){t.oldmousedown=t.onmousedown;_59=function(){if(mouseisdown==0){this.src=this.getAttribute("srcdown");this.oldmousedown();}};}else{_59=function(){if(mouseisdown==0){this.src=this.getAttribute("srcdown");}};}t.onmousedown=_59;};function mouseover(t){var _5b;if(t.onmouseover){t.oldmouseover=t.onmouseover;_5b=function(){this.src=this.getAttribute("srcover");this.oldmouseover();};}else{_5b=function(){this.src=this.getAttribute("srcover");};}t.onmouseover=_5b;};function mouseout(t){var _5d;if(t.onmouseout){t.oldmouseout=t.onmouseout;_5d=function(){this.src=this.getAttribute("oldsrc");this.oldmouseout();};}else{_5d=function(){this.src=this.getAttribute("oldsrc");};}t.onmouseout=_5d;};function storeimages(t){var s=(t.getAttribute("src"))?t.getAttribute("src"):"";var d=(t.getAttribute("srcdown"))?t.getAttribute("srcdown"):"";var o=(t.getAttribute("srcover"))?t.getAttribute("srcover"):"";ih.store(s,d,o);};function preloadimgsrc(){if(!document.getElementById){return;}var it=document.getElementsByTagName("IMG");var it2=document.getElementsByTagName("INPUT");preloader(it);preloader(it2);};if(window.addEventListener){window.addEventListener("load",preloadimgsrc,false);}else{if(window.attachEvent){window.attachEvent("onload",preloadimgsrc);}else{if(document.getElementById){window.onload=preloadimgsrc;}}}function GoWindow(_64,_65,_66){var str="toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,left=50,top=50,";str=str+"resizable=no,width="+_65+",height="+_66;window.open(_64,"new1",str);};function NewWindow(_68,id,_6a,_6b){var str="toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,left=50,top=50,";str=str+"resizable=yes,width="+_6a+",height="+_6b;window.open(_68,id,str);};