var xmlHttp

function showswitches(theForm)
{ 
str='';



xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 


 if (theForm=='hello')
  {
	var url="showswitches.asp?firsttimer=true";

	
	url=url+"&sid="+Math.random();
	
  }
  else
  { 
   
  	if (theForm=='ClearAll') {
  	    
  	   
        for (counter = 0; counter < document.inputform.rd1.length; counter++) {
               document.inputform.rd1[counter].checked=false;
        }
         for (counter = 0; counter < document.inputform.rd2.length; counter++) {
               document.inputform.rd2[counter].checked=false;
        }
         for (counter = 0; counter < document.inputform.rd3.length; counter++) {
               document.inputform.rd3[counter].checked=false;
        }
         for (counter = 0; counter < document.inputform.rd4.length; counter++) {
               document.inputform.rd4[counter].checked=false;
        }
          
        
        document.inputform.chk1.checked=false;
        document.inputform.chk2.checked=false;
        document.inputform.chk3.checked=false;
        document.inputform.chk4.checked=false;
        document.inputform.chk5.checked=false;
        document.inputform.chk6.checked=false;
        document.inputform.chk7.checked=false;
        document.inputform.chk8.checked=false;
        document.inputform.chk9.checked=false;
        document.inputform.chk10.checked=false;
        document.inputform.chk11.checked=false;
        document.inputform.chk12.checked=false;
        document.inputform.chk13.checked=false;
        document.inputform.chk14.checked=false;
        document.inputform.chk15.checked=false;
        document.inputform.chk16.checked=false;
        document.inputform.chk17.checked=false;
        document.inputform.chk18.checked=false;
        document.inputform.chk19.checked=false;
        document.inputform.chk20.checked=false;
        document.inputform.chk21.checked=false;
        document.inputform.chk22.checked=false;
        document.inputform.chk23.checked=false;
        document.inputform.chk24.checked=false;
        document.inputform.chk25.checked=false;
        document.inputform.chk26.checked=false;
        document.inputform.chk27.checked=false;
       
        
        var url="showswitches.asp?ClearAll=true";
        url=url+"&sid="+Math.random();
    }
  else
  { 

		
  	    for (counter = 0; counter < theForm.rd1.length; counter++) {
  		    if (theForm.rd1[counter].checked){
  			    str = theForm.rd1[counter].name + "=" + theForm.rd1[counter].value
  		    }
  	    }
      	
      	
  	    for (counter = 0; counter < theForm.rd2.length; counter++) {
  		    if (theForm.rd2[counter].checked){
  			    if (str.search("rd1") != -1){
  				    str += "&"
  			    }
      			
  			    str += theForm.rd2[counter].name + "=" + theForm.rd2[counter].value
  		    }
  	    }
      	
      	
  	    for (counter = 0; counter < theForm.rd3.length; counter++) {
  		    if (theForm.rd3[counter].checked){
  			    if (str.search("rd2") != -1){
  				    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd1") != -1){
  				    str += "&"
  				    }
  			    }
  			    str += theForm.rd3[counter].name + "=" + theForm.rd3[counter].value
  		    }
  	    }
      	
  	    for (counter = 0; counter < theForm.rd4.length; counter++) {
  		    if (theForm.rd4[counter].checked){
  			    if (str.search("rd3") != -1){
  				    str += "&"
  			    }
  			    else {
  					    if (str.search("rd2") != -1){
  						    str += "&"
  					    }
  					    else
  					    {
  						    if (str.search("rd1") != -1){
  						    str += "&"
  						    }
  					    }	
  			    }
      				
      			
  			    str += theForm.rd4[counter].name + "=" + theForm.rd4[counter].value
  		    }
  	    }
      	
      	
  	    if (theForm.chk1.checked){
  		    if (str.search("rd4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("rd3") != -1){
  				    str += "&"
  			    }
  			    else {
  					    if (str.search("rd2") != -1){
  						    str += "&"
  					    }
  					    else
  					    {
  						    if (str.search("rd1") != -1){
  						    str += "&"
  						    }
  					    }	
  			    }
  		    }
  		    str += theForm.chk1.name + "=" + theForm.chk1.value
  	    }
      	
      
      	
  	    if (theForm.chk2.checked){
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    str += theForm.chk2.name + "=" + theForm.chk2.value
  	    }
      	
   	    if (theForm.chk3.checked){
      			
  		    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    str += theForm.chk3.name + "=" + theForm.chk3.value
  	    }
      	
  	    if (theForm.chk4.checked){
  		    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
      		  		
  		    str += theForm.chk4.name + "=" + theForm.chk4.value
  	    }
      	
  	    if (theForm.chk5.checked){
  		    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
      		  		
  		    str += theForm.chk5.name + "=" + theForm.chk5.value
  	    }
      	
     
  	    if (theForm.chk6.checked){
  		    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
      		
  		    str += theForm.chk6.name + "=" + theForm.chk6.value
  	    }
  	    if (theForm.chk7.checked){
  		    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
      		
      		
  		    str += theForm.chk7.name + "=" + theForm.chk7.value
  	    }
      	
      	
  	    if (theForm.chk8.checked){
  		    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk8.name + "=" + theForm.chk8.value
  	    }
      	
  	    if (theForm.chk9.checked){
  		    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk9.name + "=" + theForm.chk9.value
  	    }
  	    if (theForm.chk10.checked){
  		    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk10.name + "=" + theForm.chk10.value
  	    }
      	
  	    if (theForm.chk11.checked){
      		
  		    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk11.name + "=" + theForm.chk11.value
  	    }
      	
  	    if (theForm.chk12.checked){
  		    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
      		
  		    str += theForm.chk12.name + "=" + theForm.chk12.value
  	    }
      	
  	    if (theForm.chk13.checked){
  		    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
      		
  		    str += theForm.chk13.name + "=" + theForm.chk13.value
  	    }
  	    if (theForm.chk14.checked){
  		    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
      		
  		    str += theForm.chk14.name + "=" + theForm.chk14.value
  	    }
     
  	    if (theForm.chk15.checked){
  		    if (str.search("chk14") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk15.name + "=" + theForm.chk15.value
  	    }
  	    if (theForm.chk16.checked){
  		    if (str.search("chk15") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk14") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str +=  theForm.chk16.name + "=" + theForm.chk16.value
  	    }
  	    if (theForm.chk17.checked){
  		    if (str.search("chk16") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk15") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk14") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk17.name + "=" + theForm.chk17.value
  	    }
      
  	    if (theForm.chk18.checked){
  		    if (str.search("chk17") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk16") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk15") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk14") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
      		
  		    str += theForm.chk18.name + "=" + theForm.chk18.value
  	    }
      	
  	    if (theForm.chk19.checked){
  		    if (str.search("chk18") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk17") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk16") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk15") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk14") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk19.name + "=" + theForm.chk19.value
  	    }
  	    if (theForm.chk20.checked){
  		    if (str.search("chk19") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk18") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk17") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk16") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk15") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk14") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk20.name + "=" + theForm.chk20.value
  	    }
      	
  	    if (theForm.chk21.checked){
  		    if (str.search("chk20") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk19") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk18") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk17") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk16") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk15") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk14") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk21.name + "=" + theForm.chk21.value
  	    }
      	
  	    if (theForm.chk22.checked){
  		    if (str.search("chk21") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk20") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk19") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk18") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk17") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk16") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk15") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk14") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk22.name + "=" + theForm.chk22.value
  	    }
  	    if (theForm.chk23.checked){
  		    if (str.search("chk22") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk21") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk20") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk19") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk18") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk17") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk16") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk15") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk14") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk23.name + "=" + theForm.chk23.value
  	    }
      	
  	    if (theForm.chk24.checked){
  		    if (str.search("chk23") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  		        if (str.search("chk22") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk21") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk20") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk19") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk18") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk17") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk16") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk15") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk14") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk24.name + "=" + theForm.chk24.value
  	    }
      	
  	    if (theForm.chk25.checked){
  		    if (str.search("chk24") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  		        if (str.search("chk23") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  		        if (str.search("chk22") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk21") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk20") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk19") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk18") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk17") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk16") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk15") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk14") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk25.name + "=" + theForm.chk25.value
  	    }
      	
  	    if (theForm.chk26.checked){
  		    if (str.search("chk25") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  		        if (str.search("chk24") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  		        if (str.search("chk23") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  		        if (str.search("chk22") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk21") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk20") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk19") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk18") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk17") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk16") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk15") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk14") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk26.name + "=" + theForm.chk26.value
  	    }
      	
      	
  	    if (theForm.chk27.checked){
  		    if (str.search("chk26") != -1){
  				    str += "&"
  		    }
  		    else 
  		    {
  		        if (str.search("chk25") != -1){
  				    str += "&"
  		    }
  		    else 
  		    {
  		        if (str.search("chk24") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  		        if  (str.search("chk23") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  		        if (str.search("chk22") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk21") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk20") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk19") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk18") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk17") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk16") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk15") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk14") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk13") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk12") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk11") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk10") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk9") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk8") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk7") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk6") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk5") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk4") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk3") != -1){
  				    str += "&"
  		    }
  		    else
  		    {
  			    if (str.search("chk1") != -1){
  					    str += "&"
  			    }
  			    else
  			    {
  				    if (str.search("rd4") != -1){
  					    str += "&"
  				    }
  				    else
  				    {
  					    if (str.search("rd3") != -1){
  						    str += "&"
  					    }
  					    else {
  							    if (str.search("rd2") != -1){
  								    str += "&"
  							    }
  							    else
  							    {
  								    if (str.search("rd1") != -1){
  								    str += "&"
  								    }
  							    }	
  					    }
  				    }
  			    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    }
  		    str += theForm.chk27.name + "=" + theForm.chk27.value
  	    }
 		
var url="showswitches.asp";

url=url+"?"+str;
url=url+"&sid="+Math.random();

}

xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
}



function stateChanged() 
{ 
if (xmlHttp.readyState==4)
{ 
document.getElementById("showswitches").innerHTML=xmlHttp.responseText;
}
}


function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp;
}