// JavaScript Document

	var aTabs = new Array( "sales", "service", "business", "opportunity" );
function SwitchActiveTab( sActive, NewClassName )
{
	for( var i = 0; i < aTabs.length; i++ )
	{
		var el = document.getElementById( aTabs[ i ] );
		var sectionContent = document.getElementById( el.id + "_content" );
		if( el.id == sActive.id )
			{
				el.className = NewClassName;
				sectionContent.style.display = "block";
			}
		else 
			{
				el.className = "";
				sectionContent.style.display = "none";
			}
		el = null;
		sectionContent = null;
	}
	return false;
}
function openWindow(url,width,height){
	newWin = window.open(url, 'viewWin', 'toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,left='+(screen.width-width)/2+',top='+(screen.height-height)/2+',width=' + width + ',height=' + height + '');
}	