﻿<!--
		function collapseblock (postid) { 
			try {
			var whichpost = document.getElementById(postid); 
			var whichpost2 = document.getElementById('li' + postid);
			whichpost.className="ProductSearchTabScoller collapseblock"; 
			whichpost2.className="";
		    } catch(e) {}
		} 
		
		function expandblock (postid) { 
			try {
			var whichpost = document.getElementById(postid); 
			var whichpost2 = document.getElementById('li' + postid);			
			whichpost.className="ProductSearchTabScoller expandblock"; 
			whichpost2.className="active";}
			catch(e) {}
		} 
		
		function collapseblockTreatment (postid) { 
			try {
			var whichpost = document.getElementById(postid); 
			var whichpost2 = document.getElementById('Tab' + postid);
			whichpost.className="TreatmentTabScoller collapseblock"; 
			whichpost2.className="";
			} catch(e) {}
		} 
		
		function toggleblock (postid) { 
			try {
			var whichpost = document.getElementById(postid); 
			var whichpost2 = document.getElementById('Tab' + postid);			
			if (whichpost.className=="TreatmentTabScoller expandblock") { 
				whichpost.className="TreatmentTabScoller collapseblock";
				whichpost2.className=""; 
			} else { 
			    whichpost.className="TreatmentTabScoller expandblock"; 
			    whichpost2.className="active";}
			} catch(e) {}
		} 
		
		function toggleblocks (postid) { 
			var whichpost = document.getElementById(postid); 
				if (whichpost.className=="expandblock") { 
				whichpost.className="collapseblock"; 
				} 
				else { 
				whichpost.className="expandblock"; 
				} 
		} 
		
		function collapseblockProducts (postid) { 
			try {
			var whichpost = document.getElementById(postid); 
			var whichpost2 = document.getElementById('li' + postid);
			whichpost.className="ProductTabScoller collapseblock"; 
			whichpost2.className="";
			} catch(e) {}
		} 
		
		function expandblockProducts (postid) { 
			try {
			var whichpost = document.getElementById(postid); 
			var whichpost2 = document.getElementById('li' + postid);			
			whichpost.className="ProductTabScoller expandblock"; 
			whichpost2.className="active";}
			catch(e) {}
		}			

-->