function imghelper(d,b,a,c){this.sDest=d;this.sBright=b;this.sDim=a;this.nDim=c;this.setupStyles()}imghelper.prototype.setupStyles=function(){var a="width: 60px; height: 42px; border-style: none; border-width: 0; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; display: block;";if((navigator.appName.indexOf("Microsoft")+1)){document.write('<style type="text/css"> .float {height: 44px;} </style>');document.write('<style type="text/css"> .'+this.sDim+" {"+a+" filter:alpha(opacity="+this.nDim+");} ."+this.sBright+" {"+a+" filter:alpha(opacity=100);} </style>")}else{if((navigator.appName.indexOf("Netscape")+1)){document.write('<style type="text/css"> .float {height: 42px;} </style>');sDim=this.nDim/100;document.write('<style type="text/css"> .'+this.sDim+" {"+a+" -moz-opacity:"+sDim+";} ."+this.sBright+" {"+a+" -moz-opacity:1;} </style>")}else{}}};imghelper.prototype.swap=function(b){if(b==""){return false}if(this.sDest==""){return false}if(!document.getElementById){return false}var a=document.getElementById(this.sDest);if(!a){return false}a.src=b;return false};imghelper.prototype.brighten=function(a){return this.swapClassnames(a,this.sBright,this.sDim)};imghelper.prototype.dim=function(a){return this.swapClassnames(a,this.sDim,this.sBright)};imghelper.prototype.swapClassnames=function(c,a,b){if(!c){return false}if(a==""){return false}if(b==""){return false}c.className=c.className.replace(" "+b,"");c.className=c.className.replace(b,"");c.className+=" "+a;return false};

