// Source code Copyright © ASD Solutions 

var currentObject = "welcome";

function showWelcome() {
	if (currentObject!="welcome")
	{
		setObjDisp(currentObject + "_pane",'none'); 
		document.getElementById(currentObject + "_button").className = "";
		
		currentObject = "welcome";
		document.getElementById(currentObject + "_button").className = "selected";
		
		Effect.Appear(currentObject + "_pane", { duration:0.4 });
	}
}

function showITConsulting() {
	if (currentObject!="it_consulting")
	{
		setObjDisp(currentObject + "_pane",'none'); 
		document.getElementById(currentObject + "_button").className = "";
		
		currentObject = "it_consulting";
		document.getElementById(currentObject + "_button").className = "selected";
		
		Effect.Appear(currentObject + "_pane", { duration:0.4 });
	}
}

function showWebSolutions() {
	if (currentObject!="web_solutions")
	{
		setObjDisp(currentObject + "_pane",'none'); 
		document.getElementById(currentObject + "_button").className = "";
	
		currentObject = "web_solutions";
		document.getElementById(currentObject + "_button").className = "selected";
	
		Effect.Appear(currentObject + "_pane", { duration:0.4 });
	}
}

function showSoftwareDevelopment() {
	if (currentObject!="software_development")
	{
		setObjDisp(currentObject + "_pane",'none'); 
		document.getElementById(currentObject + "_button").className = "";
				
		currentObject = "software_development";
		document.getElementById(currentObject + "_button").className = "selected";
		
		Effect.Appear(currentObject + "_pane", { duration:0.4 });
	}
}