var dropspot;var doCheck=(document.all!=null);if(doCheck==false){versionNN=navigator.userAgent.toLowerCase();if(versionNN.search(/mozilla\/4/i)!=-1)
browser="NN4";else
browser="NN6";}else{var agt=navigator.userAgent.toLowerCase();if((agt.indexOf("msie")!=-1)&&(agt.indexOf("opera")==-1))
browser="IE";else
browser="OP";}
function showLayer(id){swapImages(id);var get=FIND(id);if(get !=null){get.style.visibility="visible";get.style.zIndex=0;}else{document.getElementById(id).style.visibility="visible";document.getElementById(id).style.zIndex=0;}}
function swapImages(id){document.getElementById(id+'_img').src=eval(id+'_src');}
function hL(id){var get=null;var get=FIND(id);if(FIND(id)!=null){if(browser !="NN4"){get.style.visibility="hidden";get.style.zIndex=-1;}else{get.visibility="hide";get.zIndex=-1;}}else{document.getElementById(id).style.visibility="hidden";document.getElementById(id).style.zIndex=-1;}}
function random_spot(){var rand=Math.floor(Math.random()*11)
if(rand<=3)
return'center';else if(rand<=7)
return'left';else
return'right';}
function cancelSpotlightD(current){window.changespotlight='no';}
function spotlightDNow(current){if(window.changespotlight==current){spotlightD(current);}}
function dl_spotlightD(current){window.changespotlight=current;var timerD=setTimeout('spotlightDNow("'+current+'")',250);}
function spotlightD(current){hL("left_spotlight");hL("center_spotlight");hL("right_spotlight");if(current=='random')
current=random_spot();if(current=='next'){if(window.currentspotlight=='left_spotlight'){current='center_spotlight';}else if(window.currentspotlight=='center_spotlight'){current='right_spotlight';}else{current='left_spotlight';}}else{clearInterval(dropspot);}
window.currentspotlight=current;showLayer(current);}
