$(document).ready(function() {

// fix pngs
$(document).pngFix();


// add class to where you're at
// use first so hover menus are not effected
$('ul#nav li.' + section + ' a:first').addClass('on');

// see if subnav is present add class to where you're at
// class for li and a
if(subsection == 'o1') {

} else {

$('#subnav ul li.' + subsection).addClass('on')	
$('#subnav ul li.' + subsection + ' a').addClass('on')	
}

// see if third teir subnav is present add class to where you're at
if( $(subsectiondeep) == 'o0') {

} else {
$('#subnavdeep ul li.' + subsectiondeep + ' a').addClass('on');
}

// tool tip hover for dashboard img
$('a.toolTip').tooltip({
bodyHandler: function() {
return $('<img src="' + $(this).attr("href") + '" />');
},
showURL: false,
delay: 0,
fade: 250,
left: 10 // half of image width
});

$('a.toolTip').click(function(){
return false;
});


});
// END dom ready
