function formrule(b){if(b.defaultValue==b.value)b.value=""}function formrule2(b){if(b.value=="")b.value=b.defaultValue}function MM_findObj(b,a){var c,d;a||(a=document);if((c=b.indexOf("?"))>0&&parent.frames.length){a=parent.frames[b.substring(c+1)].document;b=b.substring(0,c)}if(!(d=a[b])&&a.all)d=a.all[b];for(c=0;!d&&c<a.forms.length;c++)d=a.forms[c][b];for(c=0;!d&&a.layers&&c<a.layers.length;c++)d=MM_findObj(b,a.layers[c].document);if(!d&&a.getElementById)d=a.getElementById(b);return d}
function YY_checkform(){var b=YY_checkform.arguments,a=true,c=a="",d=false,i,f,h,e,g;for(g=1;g<b.length;g+=4){if(b[g+1].charAt(0)=="#"){i=true;b[g+1]=b[g+1].substring(1)}else i=false;f=MM_findObj(b[g].replace(/\[\d+\]/ig,""));h=MM_findObj(b[g+1].replace(/\[\d+\]/ig,""));a=f.value;e=b[g+2];if(f.type=="text"||f.type=="password"||f.type=="hidden"){if(i&&a.length==0)d=true;if(a.length>0)if(e==1){e=b[g+1].split("_");if(isNaN(a)||a<e[0]/1||a>e[1]/1)d=true}else if(e==2){f=/^[\w.=-]+@[\w\.-]+\.[a-zA-Z]{2,4}$/;
f.test(a)||(d=true)}else if(e==3){e=b[g+1].split("#");if(a=a.match(e[0])){f=a[e[1]]?a[e[1]]:1;h=a[e[2]]-1;a=a[e[3]];e=new Date(a,h,f);if(e.getFullYear()!=a||e.getDate()!=f||e.getMonth()!=h)d=true}else d=true}else if(e==4){e=b[g+1].split("#");(a=a.match(e[0]))||(d=true)}else if(e==5){if(h.length)h=h[b[g+1].replace(/(.*\[)|(\].*)/ig,"")];h.checked||(d=true)}else if(e==6)if(a!=MM_findObj(b[g+1]).value)d=true}else if(!f.type&&f.length>0&&f[0].type=="radio"){a=b[g].match(/(.*)\[(\d+)\].*/i);o2=f.length>
1?f[a[2]]:f;if(e==1&&o2&&o2.checked&&h&&h.value.length/1==0)d=true;if(e==2){a=false;for(h=0;h<f.length;h++)a=a||f[h].checked;a||(c+="* "+b[g+3]+"\n")}}else if(f.type=="checkbox"){if(e==1&&f.checked==false||e==2&&f.checked&&h&&h.value.length/1==0)d=true}else if(f.type=="select-one"||f.type=="select-multiple"){if(e==1&&f.selectedIndex/1==0)d=true}else if(f.type=="textarea")if(a.length<b[g+1])d=true;if(d){c+="* "+b[g+3]+"\n";d=false}}c!=""&&alert("The required information is incomplete or contains errors:\t\t\t\t\t\n\n"+
c);document.MM_returnValue=c==""}function MM_swapImgRestore(){var b,a,c=document.MM_sr;for(b=0;c&&b<c.length&&(a=c[b])&&a.oSrc;b++)a.src=a.oSrc}function MM_preloadImages(){var b=document;if(b.images){if(!b.MM_p)b.MM_p=[];var a,c=b.MM_p.length,d=MM_preloadImages.arguments;for(a=0;a<d.length;a++)if(d[a].indexOf("#")!=0){b.MM_p[c]=new Image;b.MM_p[c++].src=d[a]}}}
function MM_swapImage(){var b,a=0,c,d=MM_swapImage.arguments;document.MM_sr=[];for(b=0;b<d.length-2;b+=3)if((c=MM_findObj(d[b]))!=null){document.MM_sr[a++]=c;if(!c.oSrc)c.oSrc=c.src;c.src=d[b+2]}}function favorite(b,a){if(window.sidebar)window.sidebar.addPanel(b,a,"");else if(window.opera&&window.print){var c=document.createElement("a");c.setAttribute("href",a);c.setAttribute("title",b);tAttribute("rel","sidebar");c.click()}else document.all&&window.external.AddFavorite(a,b)}document.write('<div style="position: absolute; left: 100%; top: 0px; overflow: visible; height: 100px; width: 100px; margin: 0 0 0 -100px; padding: 0; z-index: 9999; border: none; float: none;"><img src="http://www.crunch42.com/images/dogear.gif" width="100" height="100" border="0" alt="Support Request" usemap="#rc"></div><map name="rc"><area shape="poly" coords="0,0,100,0,100,100" href="http://www.crunch42.com/support"></map>');