        // SHOWTAB FUNCTION CONTROLS THE TABBED PAGE CONTENT _JORY_12_20_2006_
	
	function showTab(tab,tabLink)  {
	
	 		// RESET ALL BIN CLASSES
	 		
			var tabBins = document.getElementById('tabBin').getElementsByTagName("div");
				for (var i=0;i<tabBins.length;i++)
				{ 
					eachTab = tabBins[i];
					nee = tabBins[i].className;
					// alert (nee);
					
					if (nee == "tabFree") 
					{
					 eachTab.className = "tab";
					
					} 
					 else if ( nee == "showTab")
					{
					eachTab.className = "tab";
					} 
					/*
					else 
					{ 
					eachTab.className = nee + " tab";					
					}
					*/
                         	}
	
			// RESET ALL LINK CLASSES
			
			var tabLinks = document.getElementById('midNav').getElementsByTagName("a");
				for (var i=0;i<tabLinks.length;i++)
			  	{ 

			  		eachTab = tabLinks[i];
			  		eachTab.className = "tabOff";
                         	}
                         
  
  			// SHOW SELECTED TAB - HIGHLIGHT SELECTED LINK
  			
			var newTab = document.getElementById(tab);
			var tabLink = document.getElementById(tabLink);
			newTab.className = "showTab";
			tabLink.className = "tabOn";
			
					
	}
	// popup window for large image
	function MM_openBrWindow(theURL,winName,features) { //v2.0
  	window.open(theURL,winName,features);
	}
	
	// popup window for product 360
	function MM_openBrWindow360(theURL,winName,features) { //v2.0
  	window.open(theURL,winName,features);
	}
	
	
	
