
$(function () {
	
	$('.dropdown').each(function () {
		$(this).parent().eq(0).hover(function () {
			$('.dropdown:eq(0)', this).show();
		}, function () {
			$('.dropdown:eq(0)', this).hide();
		});
	});
});

	//LETS change our current active to highlighted
		function navHover(which, pos){
		hoverImage = 'themes/yo/images/nav/'+which+'-over.gif';
		//alert(pos);
		imagetochange = "#Nav" + pos;
	//	alert(imagetochange);
		jQuery(imagetochange).attr('src', hoverImage);
		}
		
		//Now lets change it back!
		function navUnHover(which, pos){
		hoverImage = 'themes/yo/images/nav/'+which+'-off.gif';
		//alert(hoverImage);
		imagetochange = "#Nav" + pos;
	//	alert(imagetochange);
		jQuery(imagetochange).attr('src', hoverImage);
		}
		
		
		
function onSelectChange(){  
		//alert('biotsh')
        var dropdown = document.getElementById("locationLinks");  
        var index = dropdown.selectedIndex;  
        var ddVal = dropdown.options[index].value;  
        var ddText = dropdown.options[index].text;  
          
        if(ddVal != 0) {  
            output = "You Selected " + ddText;  
        }  
          
      alert(output);;  
    } 
    
   
function showWhiteBoard(){
	jQuery('#whiteboard_box').fadeIn(100);
	//alert('ha');
}
function hideWhiteBoard(){
	jQuery('#whiteboard_box').fadeOut(100);
}