			
	//top tab nav
$(document).ready(function() {		
	//Default Action

	$(".tab_content").hide(); //Hide all content
	$("ul.tabs li:first").addClass("active").show(); //Activate first tab
	$(".tab_content:first").show(); //Show first tab content

	//On Click Event
	$("ul.tabs li").click(function() {
		$("ul.tabs li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active content
		return false;
	});
});
	//end top tab nav
	//start img click div swap
	if(document.getElementById)
	document.write('<style type="text/css">.partner_detail {float:left;display:none;}#zero_reseller {display:block;}<\/style>');//preload zero_reseller because it is the first element seen
	function reveal(det){  //continue with div swaps
	if(!document.getElementById) return;
	if (!document.getElementsByClassName){
	document.getElementsByClassName = function(cn){
	cn = cn.replace(/ +/g, ' ').split(' ');
	var ar = [], testname = function(n){
	for (var re, i = cn.length - 1; i > -1; --i){
	re = new RegExp('(^|\W)' + cn[i] + '(\W|$)');
	if(!re.test(n)) return false;
	}
	return true;
	}
	for(var d = document.all || document.getElementsByTagName('*'), i = 0; i < d.length; ++i)
	if(testname(d[i].className))
	ar[ar.length] = d[i];
	return ar;
	};
	document.getElementsByClassName.spoof = true;
	}
	for (var d = document.getElementsByClassName('partner_detail'), i = d.length - 1; i > -1; --i)
	d[i].style.display = 'none';
	document.getElementById(det).style.display = 'block';
	if (document.getElementsByClassName.spoof)
	document.getElementsByClassName.spoof = document.getElementsByClassName = null;
	}


