var ServiceStatus = 'Off';


function ToggleServices() {
	
	if (ServiceStatus == 'On') {
		$("#Services").slideUp(400); 
		ServiceStatus = 'Off';
		Get('ToggleButtonOn').style.display='none';
		Get('ToggleButtonOff').style.display='block';
		window.setTimeout('HideService()',600);
	} else {
		$("#Services").slideDown(400); 	
		ServiceStatus = 'On';
		Get('ToggleButtonOn').style.display='block';
		Get('ToggleButtonOff').style.display='none';
		window.setTimeout('ShowService()',600);
	}
}

function ShowService() {
	Get('Services').style.display = 'block';
}

function HideService() {
	Get('Services').style.display = 'none';
		
}

function Get(ID){
	return document.getElementById(ID);
}

function Go(Url) {
	location.href= BasePath + Url;	
}

function GoExternal(Url) {
	newWin = window.open(Url);
//	location.href= BasePath + Url;	
}