
 	//=======================================================
		//detect browser settings for showing and hiding DIVs
		isNS4 = (document.layers) ? true : false;
		isIE4 = (document.all && !document.getElementById) ? true : false;
		isIE5 = (document.all && document.getElementById) ? true : false;
		isNS6 = (!document.all && document.getElementById) ? true : false;
		//=======================================================
//This function will hide or display rows depending upon previous status.

		function togglePane(strRowName){
		
		 if (isNS4) {
		   objElement = document.layers[strRowName];
		 } else if (isIE5) {
		   objElement = document.all[strRowName].style;
		 } 
		 else if (isNS6) {
		   objElement = document.getElementById(strRowName).style;	   
		   }
		 
		   
			 
		 if(isNS4){
		     if(objElement.visibility!="hidden") {
		       objElement.visibility ="hidden"
		     } else {
		       objElement.visibility ="visible"
		     }     
		 }else if(isIE4){
		     if(objElement.visibility!="hidden") {
		       objElement.visibility = "hidden";
		     } else {
		       objElement.visibility = "visible";
		     }
		 } else if (isIE5 || isNS6) {
		      if(objElement.display == 'none' ){
		    
		    //We are displaying that row 
			     
				 objElement.display = '';
		      } 
		      else 
		      {
		    // We are hiding that row
		    
		       objElement.display = 'none';
		      
		       
		        }
		      }
		}
		
		function toggleDetailsPane(strRowName,strObjectName){
		
		
		 togglePane(strRowName);
		 
		 
		 objElement = document.getElementById(strObjectName);
		 
		// alert(objElement.ElementId);
		 
		 if (objElement.className=='hyperLinkBlueBold'){
		        objElement.className='hyperLinkGrayNoDecor';
		 }
		 else if (objElement.className =='hyperLinkGrayNoDecor'){
		        objElement.className='hyperLinkBlueBold';
		 }
		 
        }	
      
      
      
      function toggleImage(strRowName,imageName){
          
	     // Url of the Image
	     var url=(document.images[imageName].src)
	      
	      
	     // used to get the last location of /
	     var locaction=url.lastIndexOf('/');
	      
	      //The Name of the Image is retreived afer last /
	      var subImageString=url.substring(locaction+1);
	      
	
		   var downArrowString="KT2_Dotnet_Secondary_TrainerTrack_downArrow_01.gif"
		   var upArrowString="KT2_Dotnet_Secondary_TrainerTrack_Arrow_01.gif"
		
		
		
		
		   togglePane(strRowName);
		
		
		        if (subImageString!=downArrowString){
		        document.images[imageName].src="/Kidstraining3.0/Images/Secondary/Resources/KT2_Dotnet_Secondary_TrainerTrack_downArrow_01.gif";
        		  
        		                                  
		        }
		        else if (subImageString==downArrowString){
		         document.images[imageName].src="/Kidstraining3.0/Images/Secondary/Resources/KT2_Dotnet_Secondary_TrainerTrack_Arrow_01.gif";
        	       	
		        }
	     
	   } 
	   
	   function hideTable(){
	    togglePane('qualities');
	    togglePane('exp');
	    togglePane('development');
	   }
        
        
        	
		
	 function hideRows(){
		togglePane('Ans1');
		togglePane('Ans2');
		togglePane('Ans3');
		togglePane('Ans4');
		togglePane('Ans5');
		togglePane('Ans6');
		togglePane('Ans7');
		togglePane('Ans8');
		
		}
		
	   
	   	
		
		
		
          

