// JavaScript Document


$(document).ready(function() {
			/* Hide/show search results */
  			$("#close").click(function(){
    		$("#resultsDiv").hide();
  			});
    		$("#submitButton").click(function(){
    		$("#resultsDiv").show();
  			});
			/* END Hide/show search results */
			
		//CableMavericks/Programs 
		$(".navigationPrograms").mouseover(function(){					   
    		$(this).addClass("hoverHighlight");
	
			//Rollover Effects Added from click below							   
			$(this).removeClass().addClass("navigationPrograms-Arrow");
			$(".navigationProfEdu-Arrow").removeClass().addClass("navigationProfEdu");
			$(".navigationCustCare-Arrow").removeClass().addClass("navigationCustCare");
			$(".navigationBarco-Arrow").removeClass().addClass("navigationBarco");
			$(".navigationHOF-Arrow").removeClass().addClass("navigationHOF");
			$(".navigationAboutCC-Arrow").removeClass().addClass("navigationAboutCC");
			// Enter button 
			$('#buttonEnterCableMavericks').fadeIn('slow');
			

			//Image Fade Effects
			$("#imagePrograms").fadeIn("fast");
			$("#imageProfEdu").fadeOut("fast");
			$("#imageCustCare").fadeOut("fast");
			$("#imageBarco").fadeOut("fast");
			$("#imageHOF").fadeOut("fast");
			$("#imageAboutCC").fadeOut("fast");
			return false;
			
		}).mouseout(function(){
			$(this).removeClass("hoverHighlight");	
    });
		
		$(".navigationPrograms").click(function(){
			//Click Effects	


 		/* alert("Hello world!"); */
		location.href = "http://www.cablecenter.org/content.cfm?id=20";  

			return false;		
			
    });
		
		//ACT / Was TRAINING 3/15/2011  Steve Luiting
		$(".navigationProfEdu").mouseover(function(){					   
    		$(this).addClass("hoverHighlight");
			$("#buttonWhatsNew").show('hide');
			//Rollover Effects					   
			$(this).removeClass().addClass("navigationProfEdu-Arrow");
			$(".navigationPrograms-Arrow").removeClass().addClass("navigationPrograms");
			$(".navigationCustCare-Arrow").removeClass().addClass("navigationCustCare");
			$(".navigationBarco-Arrow").removeClass().addClass("navigationBarco");
			$(".navigationHOF-Arrow").removeClass().addClass("navigationHOF");
			$(".navigationAboutCC-Arrow").removeClass().addClass("navigationAboutCC");
			// Enter button 
			$('#buttonEnterACT').fadeIn('slow');
			//Image Fade Effects
			$("#imagePrograms").fadeOut("fast");
			$("#imageProfEdu").fadeIn("fast");
			$("#imageCustCare").fadeOut("fast");
			$("#imageBarco").fadeOut("fast");
			$("#imageHOF").fadeOut("fast");
			$("#imageAboutCC").fadeOut("fast");
			return false;
		}).mouseout(function(){
			$(this).removeClass("hoverHighlight");
    });
		
		$(".navigationProfEdu").click(function(){
			location.href = "http://www.cablecenter.org/content.cfm?id=9";
			cursor:hand	   

			return false;
    });
		
		//CUSTOMER CARE
		$(".navigationCustCare").mouseover(function(){					   
    		$(this).addClass("hoverHighlight");
			$("#buttonWhatsNew").show('hide');
			//Rollover Effects						   
			$(this).removeClass().addClass("navigationCustCare-Arrow");
			$(".navigationPrograms-Arrow").removeClass().addClass("navigationPrograms");
			$(".navigationProfEdu-Arrow").removeClass().addClass("navigationProfEdu");
			$(".navigationBarco-Arrow").removeClass().addClass("navigationBarco");
			$(".navigationHOF-Arrow").removeClass().addClass("navigationHOF");
			$(".navigationAboutCC-Arrow").removeClass().addClass("navigationAboutCC");
			// Enter button 
			$('#buttonEnterCustomerCare').fadeIn('slow');
			//Image Fade Effects
			$("#imagePrograms").fadeOut("fast");
			$("#imageProfEdu").fadeOut("fast");
			$("#imageCustCare").fadeIn("fast");
			$("#imageBarco").fadeOut("fast");
			$("#imageHOF").fadeOut("fast");
			$("#imageAboutCC").fadeOut("fast");
			return false;
		}).mouseout(function(){
			$(this).removeClass("hoverHighlight");
    });
		
		$(".navigationCustCare").click(function(){
			location.href = "http://www.cablecenter.org/content.cfm?id=21";
					   

			return false;
    });
		
		//BARCO LIBRARY
		$(".navigationBarco").mouseover(function(){					   
    		$(this).addClass("hoverHighlight");

			//Rollover Effects				   
			$(this).removeClass().addClass("navigationBarco-Arrow");
			$(".navigationPrograms-Arrow").removeClass().addClass("navigationPrograms");
			$(".navigationProfEdu-Arrow").removeClass().addClass("navigationProfEdu");
			$(".navigationCustCare-Arrow").removeClass().addClass("navigationCustCare");
			$(".navigationHOF-Arrow").removeClass().addClass("navigationHOF");
			$(".navigationAboutCC-Arrow").removeClass().addClass("navigationAboutCC");
			$("#buttonWhatsNew").show('hide');
			// Enter button 
			$('#buttonEnterBarco').fadeIn('slow');
			//Image Fade Effects
			$("#imagePrograms").fadeOut("fast");
			$("#imageProfEdu").fadeOut("fast");
			$("#imageCustCare").fadeOut("fast");
			$("#imageBarco").fadeIn("fast");
			$("#imageHOF").fadeOut("fast");
			$("#imageAboutCC").fadeOut("fast");
			return false;

		}).mouseout(function(){
				$(this).removeClass("hoverHighlight");
    });
		
		$(".navigationBarco").click(function(){	
			location.href = "http://www.cablecenter.org/content.cfm?id=19";			   
			return false;
    });
		
		//HALL OF FAME
		$(".navigationHOF").mouseover(function(){					   
    		$(this).addClass("hoverHighlight");
			$("#buttonWhatsNew").show('hide');

			//Rollover Effects					   
			$(this).removeClass().addClass("navigationHOF-Arrow");
			$(".navigationPrograms-Arrow").removeClass().addClass("navigationPrograms");
			$(".navigationProfEdu-Arrow").removeClass().addClass("navigationProfEdu");
			$(".navigationCustCare-Arrow").removeClass().addClass("navigationCustCare");
			$(".navigationBarco-Arrow").removeClass().addClass("navigationBarco");
			$(".navigationAboutCC-Arrow").removeClass().addClass("navigationAboutCC");
						// Enter button 
			$('#buttonEnterHOF').fadeIn('slow');
			//Image Fade Effects
			$("#imagePrograms").fadeOut("fast");
			$("#imageProfEdu").fadeOut("fast");
			$("#imageCustCare").fadeOut("fast");
			$("#imageBarco").fadeOut("fast");
			$("#imageHOF").fadeIn("fast");
			$("#imageAboutCC").fadeOut("fast");
			return false;
			
		}).mouseout(function(){
				$(this).removeClass("hoverHighlight");
    });
		
		$(".navigationHOF").click(function(){
			location.href = "http://www.cablecenter.org/content.cfm?id=23";	
			return false;
    });
		
		//ABOUT CC
		$(".navigationAboutCC-Arrow").mouseover(function(){					   
    		$(this).addClass("hoverHighlight");
			$('#buttonEnterAbout').fadeIn('slow');
			//Rollover Effects
			$(this).removeClass().addClass("navigationAboutCC-Arrow");
			$(".navigationPrograms-Arrow").removeClass().addClass("navigationPrograms");
			$(".navigationProfEdu-Arrow").removeClass().addClass("navigationProfEdu");
			$(".navigationCustCare-Arrow").removeClass().addClass("navigationCustCare");
			$(".navigationBarco-Arrow").removeClass().addClass("navigationBarco");
			$(".navigationHOF-Arrow").removeClass().addClass("navigationHOF");
			// Enter button added

			//Image Fade Effects
			$("#imagePrograms").fadeOut("fast");
			$("#imageProfEdu").fadeOut("fast");
			$("#imageCustCare").fadeOut("fast");
			$("#imageBarco").fadeOut("fast");
			$("#imageHOF").fadeOut("fast");
			$("#imageAboutCC").fadeIn("fast");
			return false;

		}).mouseout(function(){
				$(this).removeClass("hoverHighlight");
			
		}).mouseout(function(){
				$(this).removeClass("hoverHighlight");
    });
		
		$(".navigationAboutCC-Arrow").click(function(){
			location.href = "http://www.cablecenter.org/content.cfm?id=10";			
			return false;
    });
		


		
});
