function rmHoverAndDelay(a){if(document.getElementById){isDefined("rmHaD_guid")||(rmHaD_guid=0,rmHaD_over=function(a){a.className+=(a.className.length>0?" ":"")+"sfhover"},rmHaD_out=function(a){a.className=a.className.replace(new RegExp("( ?|^)sfhover\\b"),"")},rmHaD_Els=document.getElementById(a).getElementsByTagName("LI"),rmHaD_Last=-1,rmHaD_Delay=500,rmHaD_OverGlobalTimeout=null);var b=rmHaD_guid;rmHaD_guid+=rmHaD_Els.length;var c=rmHaD_guid;for(;b<c;b++)rmHaD_Els[b].className.indexOf("rMenu-expand")>=0&&(rmHaD_Els[b].rmTimeout=null,rmHaD_Els[b].rmId=b,rmHaD_Els[b].onmouseover=function(){clearTimeout(rmHaD_OverGlobalTimeout),rmHaD_OverGlobalTimeout=setTimeout("rmHaD_over( rmHaD_Els["+this.rmId+"] )",rmHaD_Delay)},rmHaD_Els[b].onmouseout=function(){this.rmTimeout=setTimeout("rmHaD_out( rmHaD_Els["+this.rmId+"] )",rmHaD_Delay)})}}function isDefined(a){return typeof window[a]=="undefined"?!1:!0}function sfHover(a){var b=new browser_detect;if(b.isIE&&!b.isIE7up){var c=document.getElementById(a).getElementsByTagName("LI");for(var d=0;d<c.length;d++)c[d].onmouseover=function(){this.className+=(this.className.length>0?" ":"")+"sfhover"},c[d].onmouseout=function(){this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"),"")}}}function getPreferredStylesheet(a){return getCookie("style_"+a)}function setActiveStyleSheet(a,b){var c,d,e,f,g;if(!!a&&!!b)for(c=0;d=document.getElementsByTagName("link")[c];c++)d.getAttribute("rel").indexOf("style")!=-1&&d.getAttribute("title")&&(e=d.getAttribute("title").split(":"),f=trim(e[e.length-1]),f.toLowerCase()==b.toLowerCase()&&(d.disabled=!0,g=trim(d.getAttribute("title").substring(0,d.getAttribute("title").length-e[e.length-1].length-1)),g.toLowerCase()==a.toLowerCase()&&(d.disabled=!1)),setCookie("style_"+f.toLowerCase(),a))}function trim(a){return a.replace(/^\s*|\s*$/g,"")}function setFontSize(a){a>=0&&a<font_sizes.length?current_font_size=a:++current_font_size>=font_sizes.length&&(current_font_size=0),document.body&&(document.body.style.fontSize=font_sizes[current_font_size]+"%",setCookie("font_size",current_font_size))}function loadFontSize(){current_font_size=parseInt("0"+getCookie("font_size")),setFontSize(current_font_size)}function deleteCookie(a,b,c){var d=getCookie(a);d!=null&&(document.cookie=a+"="+(b?"; path="+b:"")+(c?"; domain="+c:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT");return d}function getCookie(a){var b=document.cookie,c=a+"=",d=b.indexOf("; "+c);if(d==-1){d=b.indexOf(c);if(d!=0)return null}else d+=2;var e=document.cookie.indexOf(";",d);e==-1&&(e=b.length);return unescape(b.substring(d+c.length,e))}function setCookie(a,b,c,d,e,f){var g=a+"="+escape(b)+(c?"; expires="+c.toGMTString():"")+(d?"; path="+d:"")+(e?"; domain="+e:"")+(f?"; secure":"");document.cookie=g}function control_min_width(){var a,b,c,d,e,f,g,h,i,j=document.min_width_obj_name,k=document.getElementById(j);b=parseInt(document.min_width_size),k&&document.body&&document.body.clientWidth&&(gs=k.currentStyle,a=parseInt(document.body.clientWidth),c=parseInt(gs.paddingLeft),d=parseInt(gs.paddingRight),e=parseInt(gs.marginLeft),f=parseInt(gs.marginRight),h=parseInt(gs.borderLeftWidth),g=parseInt(gs.borderRightWidth),e=e?e:0,f=f?f:0,c=c?c:0,d=d?d:0,h=h?h:0,g=g?g:0,i=c+d+e+f+h+g,a<=b?(b-=i,k.style.width=b+"px"):k.style.width="auto")}function set_min_width(a,b,c){(typeof c).toLowerCase()=="undefined"&&(c=!0);if(c==!1||document.getElementById&&navigator.appVersion.indexOf("MSIE")>-1&&!window.opera)document.min_width_obj_name=a,document.min_width_size=b,document.resizing=!1,event_attach("onload",control_min_width),event_attach("onresize",control_min_width)}function NN_reloadPage(init){if(init==!0)with(navigator)appName=="Netscape"&&parseInt(appVersion)==4&&(document.NN_pgW=innerWidth,document.NN_pgH=innerHeight,event_attach("onresize",NN_reloadPage));else(innerWidth!=document.NN_pgW||innerHeight!=document.NN_pgH)&&location.reload()}function opacity_init(){var a=new browser_detect;document.pngAlpha=!1,document.pngNormal=!1,document.strExt=".gif";if((a.isIE55||a.isIE6up)&&a.isWin32)document.pngAlpha=!0,document.strExt=".png";else if(a.isGecko||a.isIE5up&&a.isMac||a.isOpera&&a.isWin&&a.versionMajor>=6||a.isOpera&&a.isUnix&&a.versionMajor>=6||a.isOpera&&a.isMac&&a.versionMajor>=5||a.isOmniweb&&a.versionMinor>=3.1||a.isIcab&&a.versionMinor>=1.9||a.isWebtv||a.isDreamcast)document.pngNormal=!0,document.strExt=".png"}function opacity(a,b,c,d,e,f){if(document.pngAlpha)document.write('<div style="height:'+d+"px;width:"+c+"px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+b+".png', sizingMethod='scale')\" id=\""+a+'" class="'+e+'"></div>');else if(document.pngNormal)document.write('<img src="'+b+'.png" width="'+c+'" height="'+d+'" name="'+a+'" border="0" class="'+e+'" alt="'+f+'" />');else{if(document.layers)return'<img src="'+b+'.gif" width="'+c+'" height="'+d+'" name="'+a+'" border="0" class="'+e+'" alt="'+f+'" />';document.write('<img src="'+b+'.gif" width="'+c+'" height="'+d+'" name="'+a+'" border="0" class="'+e+'" alt="'+f+'" />')}return""}function browser_detect(){var a=navigator.userAgent.toLowerCase();this.isGecko=a.indexOf("gecko")!=-1&&a.indexOf("safari")==-1,this.isAppleWebKit=a.indexOf("applewebkit")!=-1,this.isKonqueror=a.indexOf("konqueror")!=-1,this.isSafari=a.indexOf("safari")!=-1,this.isOmniweb=a.indexOf("omniweb")!=-1,this.isDreamcast=a.indexOf("dreamcast")!=-1,this.isOpera=a.indexOf("opera")!=-1,this.isIcab=a.indexOf("icab")!=-1,this.isAol=a.indexOf("aol")!=-1,this.isIE=a.indexOf("msie")!=-1&&!this.isOpera&&a.indexOf("webtv")==-1,this.isMozilla=this.isGecko&&a.indexOf("gecko/")+14==a.length,this.isFirebird=a.indexOf("firebird/")!=-1,this.isNS=this.isGecko?a.indexOf("netscape")!=-1:a.indexOf("mozilla")!=-1&&!this.isOpera&&!this.isSafari&&a.indexOf("spoofer")==-1&&a.indexOf("compatible")==-1&&a.indexOf("webtv")==-1&&a.indexOf("hotjava")==-1,this.isIECompatible=a.indexOf("msie")!=-1&&!this.isIE,this.isNSCompatible=a.indexOf("mozilla")!=-1&&!this.isNS&&!this.isMozilla,this.geckoVersion=this.isGecko?a.substring(a.lastIndexOf("gecko/")+6,a.lastIndexOf("gecko/")+14):-1,this.equivalentMozilla=this.isGecko?parseFloat(a.substring(a.indexOf("rv:")+3)):-1,this.appleWebKitVersion=this.isAppleWebKit?parseFloat(a.substring(a.indexOf("applewebkit/")+12)):-1,this.versionMinor=parseFloat(navigator.appVersion),this.isGecko&&!this.isMozilla?this.versionMinor=parseFloat(a.substring(a.indexOf("/",a.indexOf("gecko/")+6)+1)):this.isMozilla?this.versionMinor=parseFloat(a.substring(a.indexOf("rv:")+3)):this.isIE&&this.versionMinor>=4?this.versionMinor=parseFloat(a.substring(a.indexOf("msie ")+5)):this.isKonqueror?this.versionMinor=parseFloat(a.substring(a.indexOf("konqueror/")+10)):this.isSafari?this.versionMinor=parseFloat(a.substring(a.lastIndexOf("safari/")+7)):this.isOmniweb?this.versionMinor=parseFloat(a.substring(a.lastIndexOf("omniweb/")+8)):this.isOpera?this.versionMinor=parseFloat(a.substring(a.indexOf("opera")+6)):this.isIcab&&(this.versionMinor=parseFloat(a.substring(a.indexOf("icab")+5))),this.versionMajor=parseInt(this.versionMinor),this.isDOM1=document.getElementById,this.isDOM2Event=document.addEventListener&&document.removeEventListener,this.mode=document.compatMode?document.compatMode:"BackCompat",this.isWin=a.indexOf("win")!=-1,this.isWin32=this.isWin&&(a.indexOf("95")!=-1||a.indexOf("98")!=-1||a.indexOf("nt")!=-1||a.indexOf("win32")!=-1||a.indexOf("32bit")!=-1||a.indexOf("xp")!=-1),this.isMac=a.indexOf("mac")!=-1,this.isUnix=a.indexOf("unix")!=-1||a.indexOf("sunos")!=-1||a.indexOf("bsd")!=-1||a.indexOf("x11")!=-1,this.isLinux=a.indexOf("linux")!=-1,this.isNS4x=this.isNS&&this.versionMajor==4,this.isNS40x=this.isNS4x&&this.versionMinor<4.5,this.isNS47x=this.isNS4x&&this.versionMinor>=4.7,this.isNS4up=this.isNS&&this.versionMinor>=4,this.isNS6x=this.isNS&&this.versionMajor==6,this.isNS6up=this.isNS&&this.versionMajor>=6,this.isNS7x=this.isNS&&this.versionMajor==7,this.isNS7up=this.isNS&&this.versionMajor>=7,this.isIE4x=this.isIE&&this.versionMajor==4,this.isIE4up=this.isIE&&this.versionMajor>=4,this.isIE5x=this.isIE&&this.versionMajor==5,this.isIE55=this.isIE&&this.versionMinor==5.5,this.isIE5up=this.isIE&&this.versionMajor>=5,this.isIE6x=this.isIE&&this.versionMajor==6,this.isIE6up=this.isIE&&this.versionMajor>=6,this.isIE7x=this.isIE&&this.versionMajor==7,this.isIE7up=this.isIE&&this.versionMajor>=7,this.isIE4xMac=this.isIE4x&&this.isMac}function event_attach(event,func){if(window.attachEvent)window.attachEvent(event,func);else{if((typeof func).toLowerCase()!="function")return;(typeof document.event_handlers).toLowerCase()=="undefined"&&(document.event_handlers=[]),(typeof document.event_handlers[event]).toLowerCase()=="undefined"&&(document.event_handlers[event]=[]),(typeof eval("window."+event)).toLowerCase()!="function"&&eval("window."+event+" = function () { if ( ( typeof( document.event_handlers[ '"+event+"' ] ) ).toLowerCase() != 'undefined' ) { for ( i = document.event_handlers[ '"+event+"' ].length - 1 ; i >= 0  ; i-- ) { document.event_handlers[ '"+event+"' ][ i ](); } } } "),document.event_handlers[event][document.event_handlers[event].length]=func}}
