

var Browser = new Object();
Browser.isMozilla = (typeof document.implementation != 'undefined') && (typeof document.implementation.createDocument != 'undefined') && (typeof HTMLDocument!='undefined');
Browser.isIE = window.ActiveXObject ? true : false;
Browser.isFirefox = (navigator.userAgent.toLowerCase().indexOf("firefox")!=-1);
Browser.isOpera = (navigator.userAgent.toLowerCase().indexOf("opera")!=-1);
var mm=0;
var tt=0;
var brs=0;
if (Browser.isFirefox) { var brs=1; } 
else if (Browser.isOpera) { var brs=1; }

var waitInterval;
var MouseDelayTime=150; //300

function changediv(n,c,k,w,gif3,gif2){
clearTimeout(waitInterval);
waitInterval=window.setTimeout(function(){changediv2(n,c,k,w,gif3,gif2);},MouseDelayTime);
}


function changediv2(n,c,k,w,gif3,gif2){
n1=n-1;
w1=w-1;
w2=w+1;
as1="a";
if (c==2) as1="b";
if (c==3) as1="c";
if (c==4) as1="d";
if (c==5) as1="e";
if (c==6) as1="f";
if (c==7) as1="g";
if (c==8) as1="h";
if (c==9) as1="i";
if (c==10) as1="j";

wc=w;

for(im=1;im<=k;im++){
eval("document.getElementById('"+as1+im+"').style.backgroundImage='url("+gif3+")'");
eval("document.getElementById('"+as1+"-"+im+"').className='green12' ");
eval("document.getElementById('"+as1+im+"').style.width='"+wc+"' ");
}


if (n>1) eval("document.getElementById('"+as1+n1+"').style.width='"+w1+"' ");
if (n>1) eval("document.getElementById('"+as1+k+"').style.width='"+w2+"' ");
eval("document.getElementById('"+as1+"-"+n+"').className='whirt12' ");
eval("document.getElementById('"+as1+n+"').style.backgroundImage='url("+gif2+")'");



bodytxt=eval(as1+n);
eval("document.getElementById('"+as1+"').innerHTML=\"" + bodytxt +"\"");
var ffw=document.getElementById(as1).width;
ffw=ffw-2;
class2=2;
class1=1;
if (c>=9) {
class2=4;
class1=3;
}
if (brs==1) eval("document.getElementById('"+as1+"').className='www"+class2+"' ");
else eval("document.getElementById('"+as1+"').className='www"+class1+"' ");

}



