// JavaScript Document
// Menu Highlight and Text box Mask Text Script by Gopu.
// Created by Gopu.
// Created at Global United Services

	$(document).ready(function() {
				
		
		$('.center ul li').hover( function(){
											
											$(this).toggleClass('blu-activemenu');
											//$(this).find('a').toggleClass('li-active-a');
											
											
											$(this).find("div.mouseover-div").toggle(); //Drop down the subnav on click

											//$(this).hover(function() {
											//}, function(){
											//	$(this).find("div.mouseover-div").hide(); //When the mouse hovers out of the subnav, move it back up
											///});
			
											
											}
											);
	<!-- **************************************************************************************************************** -->
		
		$('.blu-fade-text').focus(function(){
										   
										   values = $(this).val();
										   
											if(values=="What you are looking for?" || values=="Select a category" || values=="Username" || values=="Password"|| values=="Select a Sub Category"){
											
											$(this).attr('value','');
											$(this).removeClass('blu-fade-text');
											}
											});
		$('#keyword').focusout(function(){
											  values = $(this).val();
											if(values==""){
											$(this).attr('value','What you are looking for?');
												$(this).addClass('blu-fade-text');
											}
											});
		
			$('#category').focusout(function(){
											  values = $(this).val();
											if(values==""){
											$(this).attr('value','Select a category');
											$(this).addClass('blu-fade-text');
											}
											});
			
			$('#user').focusout(function(){
											  values = $(this).val();
											if(values==""){
											$(this).attr('value','Username');
												$(this).addClass('blu-fade-text');
											}
											});
			$('#pass').focusout(function(){
											  values = $(this).val();
											if(values==""){
											$(this).attr('value','Password');
												$(this).addClass('blu-fade-text');
											}
											});
			
			$('#subcat').focusout(function(){
											  values = $(this).val();
											if(values==""){
											$(this).attr('value','Select a Sub Category');
												$(this).addClass('blu-fade-text');
											}
											});
		$('#cat').focusout(function(){
											  values = $(this).val();
											if(values==""){
											$(this).attr('value','Category');
												$(this).addClass('blu-fade-text');
											}
											});
			
		
		
		
	
	});
		
		
		
		

