﻿function Switch(toSwitch, sStatus) {

    if (sStatus == 'e') {
    
        $("#results" + toSwitch).show();
        $("#" + toSwitch + "_On").hide();        
        $("#" + toSwitch + "_Off").show();                
       
    
    } else {
    
    
        $("#results" + toSwitch).hide();    
        $("#" + toSwitch + "_Off").hide();        
        $("#" + toSwitch + "_On").show();                

    
    }


}
