
//main hovers over sub 
Event.observe(window, 'load', function() {
if (browser !="IE5/6") {
var allMains = $$('.PSmainDD');
for (i=0; i < allMains.length; i++) {
var theMainId =  allMains[i].id; 

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

(function (theMainId) {  
$(theMainId + '_sub').observe('mouseout', function(event) {
Element.removeClassName(theMainId, 'masterCatActive'); 
});
}) (theMainId) ;

(function (theMainId) {  
$(theMainId).observe('mouseover', function(event) {
currStatus = $(theMainId).className;
});
}) (theMainId) ; 

} //eo loop	
}//not 5/6

 
})// eo ready*/

