function $id(a){return(document.getElementById(a)?document.getElementById(a):false)}
function idExists(a){return($id(a)?true:false)}
function isDom(){return (document.getElementById&&document.getElementsByTagName&&document.createElement)?true:false}
function setOpacity(a,b){var o=$id(a).style;o.opacity=b/100;o.MozOpacity=b/100;o.KhtmlOpacity=b/100;o.filter="alpha(opacity="+b+")"}
function hyphenToCamel(s){for(var a=/-([a-z])/;a.test(s);s=s.replace(a,RegExp.$1.toUpperCase()));return s};
function getStyleProperty(i,p){var o=$id(i),v='';if(window.getComputedStyle){v=window.getComputedStyle(o,null).getPropertyValue(p)}else{if(o.currentStyle){v=o.currentStyle[hyphenToCamel(p)]}}return v}
function disjointedRollover(A,l,o,e){if(idExists(A)){var N=getStyleProperty(A,'background-image').replace('url(','').replace(')','').replace(/"/g,''),X=N.substring(N.lastIndexOf(".")),G=new Image();N=N.replace(X,e+X);G.o=o;G.e=e;G.J=A;G.onload=function(){$id(A).style.backgroundImage="url("+G.src+")";var sp=document.createElement('span');sp.id=G.o;sp.className=$id(A).className;sp.style.backgroundImage="url("+G.src+")";sp.onclick=function(){window.location=$id(this.className).href};$id(A).appendChild(sp);var r=function(){var obj=$id(G.o);setOpacity(G.o,0);obj.className=this.id;for(var i=25;i<101;i+=25){setTimeout("setOpacity('"+G.o+"',"+i+")",i*2)};setTimeout("$id('"+G.J+"').className='"+this.id+"'",i*2);setTimeout("setOpacity('"+G.o+"',0)",i*2)};var L=$id(l).getElementsByTagName('a');for(var i=0;i<L.length;i++){L[i].onmouseover=r;L[i].onfocus=r}};G.src=N}}
if(isDom()){disjointedRollover('sectionTop','sectionTop',"overlay",".sprite")}