function bannerFade(){
allTopPix  = $$('.topPix'); 
numTopPix  = allTopPix.length; 
for (i=0 ; i < numTopPix  ; i++) if (allTopPix[i].style.display=='' )  currTopPicNum = i+1;
changeTimer = window.setTimeout("changePicture()",6000); 
}

function changePicture(){
window.clearTimeout(changeTimer); 
nextImage = currTopPicNum+1;
if(nextImage > numTopPix ) nextImage=1;
new Effect.Fade('pictureNo' + currTopPicNum,   { duration:1.5 } )
new Effect.Appear('pictureNo' + nextImage,   { duration:1.5 } )
currTopPicNum = nextImage;
changeTimer = window.setTimeout("changePicture()",6000);
} 
/* top pix */
 
 
//main hovers over sub
Event.observe(window, 'load', function() {
if (browser !="IE5/6") {
var allHovers = $$('.menuDD');
for (i=0; i < allHovers.length; i++) {
var theMainId =  allHovers[i].id; 

(function (theMainId) {  
$(theMainId + '_sub').observe('mouseover', function(event) {
Element.addClassName(theMainId, 'mainActive'); 
});
}) (theMainId) ;

(function (theMainId) {  
$(theMainId + '_sub').observe('mouseout', function(event) {
Element.removeClassName(theMainId, 'mainActive'); 
});
}) (theMainId) ;
} //eo loop	
}//not 5/6

var anchors = document.getElementsByTagName("a");
for (var i=0; i<anchors.length; i++) {
var anchor = anchors[i];
if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") anchor.target = "_blank";
}

bannerFade();

})// eo ready*/


 

