function redirect(event)
{ 
   s_linkTrackVars='s_events';
   s_linkTrackEvents=event;
   s_linkType='o';
   s_events=event;
  
}
function openCompareBrands(){
window.open('/consumer/comparebrands.html', 'compare', 'width=675, height=420, resizable=0, scrollbars=0');
}
function showpops(id, value)
{
	document.getElementById(id).style.display = value;
	
}
function hideopenboxes()
{
	document.getElementById("situpbox").style.display = "none";
	document.getElementById("bicepbox").style.display = "none";
	document.getElementById("crosskickbox").style.display = "none";
	document.getElementById("kickoutbox").style.display = "none";
	document.getElementById("tricepbox").style.display = "none";
	document.getElementById("xraisebox").style.display = "none";
	document.getElementById("thighbox").style.display = "none";
	document.getElementById("legcurlsbox").style.display = "none";
	document.getElementById("crosspullsbox").style.display = "none";
	document.getElementById("pushoutbox").style.display = "none";
	
}

function showGlossarySection(id)
{
	document.getElementById(id).style.display = "block";

	
}
function hideGlossarySections()
{
	document.getElementById("a_thru_g").style.display = "none";
	document.getElementById("h_thru_m").style.display = "none";
	document.getElementById("n_thru_s").style.display = "none";
	document.getElementById("t_thru_z").style.display = "none";
	
}
function showa_thru_g(){
	document.getElementById("a_thru_g_bold").style.display = "block";
	document.getElementById("h_thru_m_nobold").style.display = "block";
	document.getElementById("n_thru_s_nobold").style.display = "block";
	document.getElementById("t_thru_z_nobold").style.display = "block";
		
	document.getElementById("a_thru_g_nobold").style.display = "none";
	document.getElementById("h_thru_m_bold").style.display = "none";
	document.getElementById("n_thru_s_bold").style.display = "none";
	document.getElementById("t_thru_z_bold").style.display = "none";
}
function showh_thru_m(){
	document.getElementById("h_thru_m_bold").style.display = "block";
	document.getElementById("a_thru_g_nobold").style.display = "block";
	document.getElementById("n_thru_s_nobold").style.display = "block";
	document.getElementById("t_thru_z_nobold").style.display = "block";
		
	document.getElementById("a_thru_g_bold").style.display = "none";
	document.getElementById("h_thru_m_nobold").style.display = "none";
	document.getElementById("n_thru_s_bold").style.display = "none";
	document.getElementById("t_thru_z_bold").style.display = "none";
}
function shown_thru_s(){
	document.getElementById("n_thru_s_bold").style.display = "block";
	document.getElementById("a_thru_g_nobold").style.display = "block";
	document.getElementById("h_thru_m_nobold").style.display = "block";
	document.getElementById("t_thru_z_nobold").style.display = "block";
	
	document.getElementById("a_thru_g_bold").style.display = "none";
	document.getElementById("h_thru_m_bold").style.display = "none";
	document.getElementById("n_thru_s_nobold").style.display = "none";
	document.getElementById("t_thru_z_bold").style.display = "none";
}
function showt_thru_z(){
	document.getElementById("t_thru_z_bold").style.display = "block";
	document.getElementById("a_thru_g_nobold").style.display = "block";
	document.getElementById("n_thru_s_nobold").style.display = "block";
	document.getElementById("h_thru_m_nobold").style.display = "block";
	
	document.getElementById("a_thru_g_bold").style.display = "none";
	document.getElementById("h_thru_m_bold").style.display = "none";
	document.getElementById("n_thru_s_bold").style.display = "none";
	document.getElementById("t_thru_z_nobold").style.display = "none";
}
function setPrescriptionQ(){
	document.getElementById("landingquestionYes").style.display = "none";
	document.getElementById("landingquestionNo").style.display = "none";
}
function prescriptionYes(){

	//document.getElementById("landingquestionYes").style.display = "block";
	//redirect("event22");
	//event_value="event22";
	window.location ="/consumer/lovaza-info-yes.jsp";

}
function prescriptionNo(){

	//document.getElementById("landingquestion").style.display = "none";
	//document.getElementById("landingquestionYes").style.display = "none";
	//document.getElementById("landingquestionNo").style.display = "block";
	//redirect("event23");
	//event_value="event23";
	
		window.location ="/consumer/lovaza-info-no.jsp";
	
}
