
 /*

        Author:		Robbe D. Morris
		Date:		September 22, 2002
		URL:			http://www.robbemorris.com

*/
 
 
 function SliderTest(nTest)
  {

            var oSliderRow;
            var lArrayLength=0;
            var lLoop=0;
            var lFoundCnt=0;
 
       try
		  {

             lArrayLength = SliderArrays.length;
 
    	     if (lArrayLength < 1) { return false; }
 
             for (lLoop=0; lLoop<lArrayLength; lLoop++)
            {
		  
                oSliderRow = SliderArrays[lLoop];
                oSliderRow[idxSliderDisplay] = false;   
           
                 switch (nTest)
                {

                         case 1 :
    
                                        if ((lLoop >=0) && (lLoop <=6))                                                
                                         { oSliderRow[idxSliderDisplay] = true;  }

                                        break;

                         case 2 :

   
                                         if ((lLoop >6) && (lLoop <=10))                                             
                                         { 	oSliderRow[idxSliderDisplay] = true;  }
                                        
                                        break;

						case 3 :

   
                                        if ((lLoop >10) && (lLoop <=20))                                      
                                         { 	oSliderRow[idxSliderDisplay] = true;  }
                                        
                                        break;

						case 4 :

   
                                       if ((lLoop >20) && (lLoop <=30))                                    
                                         { 	oSliderRow[idxSliderDisplay] = true;  }
                                        
                                        break;
         
                 }

               SliderArrays[lLoop] = oSliderRow;

            }

		  }
		   catch (exception) 
	     	{ 
			   if (exception.description == null) { alert("Test Error: " + exception.message); }  
		       else {  alert("Test Error: " + exception.description); }
             }
	 
        SliderDrawTable();
      }