/**
 * Tab function for MS Injections page
 * 
 */
 
function updateTabs(){
	
						// Tabs on MS Infusions page
						$("img[id*='tysabri_button']").click(function() {
								                          																	
								$("tr[id*='novantrone']").hide();	
								$("tr[id*='tysabri']").show();
                                return false; 
                        }); 		
						
						 $("img[id*='novantrone_button']").click(function() {
							                               																	
								$("tr[id*='novantrone']").show();	
								$("tr[id*='tysabri']").hide();
								
                                return false; 
                        }); 	
						
							
						// Tabs on MS Injections page
						$("#AVONEX").click(function() {                               														
								
								$("#avonex_body_on").show(); 
								$("#avonex_body_off").hide(); 
								$("#footer_it_on").show(); 
								$("#footer_it_off").hide(); 
								
								$("tr[id*='st_copaxone']").hide();	
								$("tr[id*='st_extavia']").hide();		
								$("tr[id*='st_rebif']").hide();	
								$("tr[id*='st_betaseron']").hide();	
								$("tr[id*='st_off_buttons']").show();	
								$("#footer_on").hide(); 
								$("#footer_st_off").show(); 									
								
								$.scrollTo('#intramuscular_treatment',800);	
								closeTip();				
								
                                return false; 
                        }); 
                        $("td[id*='betaseron_button']").click(function() {                                 																	
								$("tr[id*='st_copaxone']").hide();	
								$("tr[id*='st_extavia']").hide();		
								$("tr[id*='st_rebif']").hide();	
								$("tr[id*='st_betaseron']").show();	
													
								$("tr[id*='st_off']").hide();																
								$("#footer_on").show(); 
								
								// hide AVONEX
								$("#avonex_body_off").show(); 
								$("#avonex_body_on").hide(); 
								$("#footer_it_on").hide(); 
								$("#footer_it_off").show(); 
								
								$.scrollTo('#subcutaneous_treatments',800);
								closeTip();
								
								
                                return false; 
                        }); 						 
						
						$("td[id*='copaxone_button']").click(function() {  
						
								$("tr[id*='st_betaseron']").hide();	
								$("tr[id*='st_extavia']").hide();	
								$("tr[id*='st_rebif']").hide();																							
								$("tr[id*='st_copaxone']").show();	
								
                               	$("tr[id*='st_off']").hide();												
								$("#footer_on").show(); 
								

								// hide AVONEX
								$("#avonex_body_off").show(); 
								$("#avonex_body_on").hide(); 
								$("#footer_it_on").hide(); 
								$("#footer_it_off").show(); 
								
								$.scrollTo('#subcutaneous_treatments',800);
								closeTip();
								
                                return false; 
                        });
						
						$("td[id*='extavia_button']").click(function() {
                               
								$("tr[id*='st_betaseron']").hide();																									
								$("tr[id*='st_copaxone']").hide();	
								$("tr[id*='st_rebif']").hide();	
								$("tr[id*='st_extavia']").show();									
								
                               	$("tr[id*='st_off']").hide();											
								$("#footer_on").show(); 
								
								// hide AVONEX
								$("#avonex_body_off").show(); 
								$("#avonex_body_on").hide(); 
								$("#footer_it_on").hide(); 
								$("#footer_it_off").show(); 
								
								$.scrollTo('#subcutaneous_treatments',800);
								closeTip();
								
                                return false; 
                        }); 						
						
						$("td[id*='rebif_button']").click(function() {
                               $("tr[id*='st_betaseron']").hide();																									
								$("tr[id*='st_copaxone']").hide();	
								$("tr[id*='st_extavia']").hide();
								$("tr[id*='st_rebif']").show();		
								
                               	$("tr[id*='st_off']").hide();											
								$("#footer_on").show(); 
								
								// hide AVONEX
								$("#avonex_body_off").show(); 
								$("#avonex_body_on").hide(); 
								$("#footer_it_on").hide(); 
								$("#footer_it_off").show(); 
								
								$.scrollTo('#subcutaneous_treatments',800);
								closeTip();
								
                                return false; 
                        });

}


