


var activeTabId = null;
var moreDetailsSwapper = function(key) {
				var currentTab = document.getElementById("tab-"+key);
				
				var activeTab = null;
				var activeInfo = null;

				if(activeTabId != null){
					activeTab = document.getElementById("tab-" + activeTabId);
					activeInfo = document.getElementById("info-" + activeTabId);
				}
				if (activeTab != null && currentTab.id == activeTab.id)
					return; //the tab is already active so ignore it
				var currentInfo = document.getElementById("info-"+key);
 				if (currentTab != null && currentInfo != null) {
 					
 					if(activeTab != null){
 						activeTab.className = "inactiveDetail";
 					}

 					if(activeInfo != null){
 						activeInfo.className = "inactiveDetail";
 					}


 					currentInfo.className = currentTab.className = "activeDetail";
 					
					 activeTabId = key;
					 try{
					 
						 s.prop8=key;
						var s_code=s.t();if(s_code)document.write(s_code);
					}catch(e){
						//ignore
					}
				}
			};

function setActiveTabId(tabId){
	activeTabId = tabId;
	try{
		s.prop8=tabId;
	}catch(e){
		//ignore
	}

}





