if(YAHOO){YAHOO.util.Event.onMouseEnter=function(b,a,c,d){YAHOO.util.Event._mouseEnterLeave(b,a,c,d,"mouseover")};YAHOO.util.Event.onMouseLeave=function(b,a,c,d){YAHOO.util.Event._mouseEnterLeave(b,a,c,d,"mouseout")};YAHOO.util.Event._mouseEnterLeave=function(b,a,d,e,c){YAHOO.util.Event.on(b,c,function(g,f){if(g.relatedTarget!=this&&!YAHOO.util.Dom.isAncestor(this,g.relatedTarget)){if(!f.overrideContext){f.overrideContext=this}if(!f.obj){f.obj={}}if(f.overrideContext===true){f.fn.apply(f.obj,[g])}else{f.fn.apply(f.overrideContext,[g,f.obj])}}},{fn:a,obj:d,overrideContext:e})}};
function js_crypto_gen(a,c){if(typeof(a)!="undefined"){intS=a}else{intS=4}if(typeof(c)!="undefined"){intT=c}else{intT=900}if(intS<1){intS=1}if(intS>6){intS=6}intRes=intS;intR=(Math.random()*32767);intNow=new Date();var b=Date.UTC(intNow.getFullYear(),intNow.getMonth()+1,intNow.getDate())/1000;intT=(b)+intT^(intR*32768+intR);intRes+=str_pad(DecHex(intR),4,"0","STR_PAD_LEFT");intRes+=str_pad(DecHex(intT),8,"0","STR_PAD_LEFT");return intRes}function str_pad(b,c,d,a){if(typeof(d)!="undefined"){strPad=d}else{strPad=" "}if(typeof(a)!="undefined"){strType=a}else{strType="STR_PAD_LEFT"}if(b.length>=c){return b}switch(strType){case"STR_PAD_BOTH":intDiff=c-b.length;intLeftPad=Math.ceil(intDiff/2);intRightPad=Math.floor(intDiff/2);b=str_pad(b,b.length+intLeftPad,strPad);b=str_pad(b,b.length+intRightPad,strPad,"STR_PAD_RIGHT");break;case"STR_PAD_RIGHT":while(b.length<c){b+=b}break;default:while(b.length<c){b=strPad+b}break}return b}var hD="0123456789abcdef";function DecHex(b){var a=hD.substr(b&15,1);while(b>15){b>>=4;a=hD.substr(b&15,1)+a}return a}function HexDec(a){return parseInt(a,16)}function regenerateCrypto(d,c,f){try{var b=document.getElementById(d)}catch(g){return false}if(typeof(f)!="undefined"){var a=js_crypto_gen(f)}else{var a=js_crypto_gen(3)}b.src=replaceKey(b.src,a);try{document.getElementById("spmk").value=a;if(c!=null&&typeof(c)!="undefined"){document.getElementById("sub").disabled=false}}catch(g){}}function replaceKey(b,c){var a=/\?[a-z0-9]+/;b=b.replace(a,"?"+c);return b};
