﻿//jQuery Intellisense Document Reference for External js Files
///<reference path="jquery-1.2.6.min-vsdoc.js" />


    function InitializeCreditEd() {
    
        // This function is called by CreditEducationFH.aspx 
        // to initialize the expandable Question Divs...
           
        $("div.creditEdFH_question").click(function(){
	        $(this).next().slideToggle(300); 
	    });
	      $("div.creditEd101_question").click(function(){
	        $(this).next().slideToggle(300); 
	    });
	       
    }
        
    function InitializeCreditEdSections() {
    
        // This function is called by CreditEducationFH.aspx 
        // to initialize the expandable Section Divs...
    
	    $("div.creditEdFH_section_content").hide();
    	
	    $("div.creditEdFH_section").click(function(){
	        $(this).next().slideToggle(300); 
	    });
    
    }
    
    function changeQuestionClass(divId) {
        
        // This function is called in CreditEducation101.aspx
        // and CreditEducationFH.aspx by the onClick event of the Question Divs, 
        // allowing for the swapping of background-image ( + / - )...
        
       if ( divId.className == "creditEdFH_question2" ) 
            divId.className = "creditEdFH_question" ; 
       else if ( divId.className == "creditEdFH_question" ) 
            divId.className = "creditEdFH_question2" ; 
       else if ( divId.className == "creditEd101_question" ) 
            divId.className = "creditEd101_question2" ; 
        else if ( divId.className == "creditEd101_question2" ) 
            divId.className = "creditEd101_question" ; 
     
    }    
    
   
    function changeSectionClass(divId) {
        
        // This function is called in CreditEducationFH.aspx
        // by the Section Divs, allowing for the swapping of
        // background-image ( + / - )...
        
        if ( divId.className == "creditEdFH_section2" ) 
            divId.className = "creditEdFH_section" ; 
        else
            divId.className = "creditEdFH_section2" ; 
     
    }    
  
  
  // These are modified for the Product Pages
            
     function InitializeProdGuide() {
    
        // This function is called by productGuide pages
        // to initialize the expandable Question Divs...
           
        $("div.productGuideFH_question").click(function(){
	        $(this).next().slideToggle(300); 
	    });
	      $("div.productGuide101_question").click(function(){
	        $(this).next().slideToggle(300); 
	    });
	       
    }
        
    function InitializeProdGuideSections() {
    
        // This function is called by productGuide pages
        // to initialize the expandable Section Divs...
    
	    $("div.productGuideFH_section_content").hide();
    	
	    $("div.productGuideFH_section").click(function(){
	        $(this).next().slideToggle(300); 
	    });
    
    }
    
    function changeProdQuestionClass(divId) {
        
        // This function is called in productGuide pages
        // and productGuide pages by the onClick event of the Question Divs, 
        // allowing for the swapping of background-image ( + / - )...
        
       if ( divId.className == "productGuideFH_question2" ) 
            divId.className = "productGuideFH_question" ; 
       else if ( divId.className == "productGuideFH_question" ) 
            divId.className = "productGuideFH_question2" ; 
       else if ( divId.className == "productGuide101_question" ) 
            divId.className = "productGuide101_question2" ; 
        else if ( divId.className == "productGuide101_question2" ) 
            divId.className = "productGuide101_question" ; 
     
    }    
    
   
    function changeProdSectionClass(divId) {
        
        // This function is called in productGuide pages
        // by the Section Divs, allowing for the swapping of
        // background-image ( + / - )...
        
        if ( divId.className == "productGuideFH_section2" ) 
            divId.className = "productGuideFH_section" ; 
        else
            divId.className = "productGuideFH_section2" ; 
     
    }   
    
        function changeProdHeadingClass(divId) {
        
        // This function is called in productGuide pages
        // by the Section Divs, allowing for the swapping of
        // background-image ( + / - )...
        
        if ( divId.className == "productGuideFH_section" ) 
            divId.className = "productGuideFH_section2" ; 
        else
            divId.className = "productGuideFH_section" ; 
     
    }
    
    