// JavaScript Document

var searchOverlay = "Search all sections except 10-K/financials";

$(document).ready(function(){
	$('li > ul.dropdown').each( function() {
			$(this).parent().mouseover(function() {
				$(this).find('ul').show();
				$(this).toggleClass('active_menu');
			});
			
			$(this).parent().mouseout(function() {
				$(this).find('ul').hide();
				$(this).toggleClass('active_menu');
			});
		});
	
	  $(document).pngFix(); 
	
	
	$("#searchTerm").css("color","#999");
	$("#searchTerm").attr("value",searchOverlay);
	
	$("#searchTerm").focus( function() {
		if( $(this).attr("value") == searchOverlay )
		{
			$(this).attr("value","");
			$(this).css("color","#000");
		}
	});
	
	$("#searchTerm").blur( function() {
		if( $(this).attr("value") == null )
		{
			$(this).css("color","#999");
			$(this).attr("value",searchOverlay);
		}
	});
	
	});
