function targetBlanks(){
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";
}
}
 
Event.observe(window, 'load', function() { 
targetBlanks(); 
})



  
//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";
}


})// eo ready*/

