anchor.diff:  Event.observe(window, 'load',
         function() { 
         	$('ccForm').reset(); //force reset on soft refresh
  +      	$('covariates').hide(); //this is for IE, it ignores the display:none
         }
       );
   
  
positive.code: 			$('nonselectedGroups').style.border="1px solid red";
  			return false;
  		}
  		if($('statisticalMethod').selectedIndex == 0 && $('selectedGroups').length>1)	{
  			//need a baseline
  			alert("Please select only 1 baseline and 1 comparison group for this type of analysis");
  			$('selectedGroups').style.border="1px solid red";
  			return false;
  		}
  		
  		//save the selectedGroups
  		MenuSwapper.saveMe( $('selectedGroups'),$('nonselectedGroups') );
  		return true;
  	
  	}
  
  }
  </script>
  <html:form action="classComparison.do?method=submit" onsubmit="return CCForm.validate(); " styleId="ccForm">
  <html:errors property="queryErrors" />
  
  <p>
  
negative.code: 		
  		if(el.selectedIndex != 0)	{
  			//tissue
  			//$('nonselectedGroups').innerHTML = $('tissueGroupsOptions').innerHTML;
  			// ^^ IE wont just inject the HTML, so need to create each option manually
  			var ops = $('tissueGroupsOptions').getElementsByTagName("option");
  			try	{
  				for(var ii=0; ii<ops.length; ii++)	{
  					$('nonselectedGroups').options[ii] = new Option(ops[ii].text, ops[ii].value);
  				}
  			}catch(e)	{ debug(e.message); }
  
  		}
  		else	{
  			//blood
  			//$('nonselectedGroups').innerHTML = $('bloodGroupsOptions').innerHTML;	
  
  			var ops = $('bloodGroupsOptions').getElementsByTagName("option");
  			try	{
  				for(var ii=0; ii<ops.length; ii++)	{
  					$('nonselectedGroups').options[ii] = new Option(ops[ii].text, ops[ii].value);
  				}
  			}catch(e)	{ debug(e.message); }
  			
  		}
  		
  	},
  	'validate': function(fromwhere)	{
  		if($('analysisName').value == "")	{
  			alert("Please enter an Analysis Name");
  			$('analysisName').style.border="1px solid red";
  