// Used to Show-Hide the contents of the Service Practiced Page
// ************************************************************

function showHideContent(topic)	{
	//alert(topic);
	if(topic == 'web')	{
		showWeb();
		hideEmail();
		hideSeo();
		hidePay();
		hideDigital();
		hideAffiliate();
	}
	else if(topic == 'email')	{
		showEmail();
		hideWeb();
		hideSeo();
		hidePay();
		hideDigital();
		hideAffiliate();
	}
	else if(topic == 'seo')	{
		showSeo();
		hideEmail();
		hideWeb();
		hidePay();
		hideDigital();
		hideAffiliate();
	}
	else if(topic == 'pay')	{
		showPay();
		hideEmail();
		hideWeb();
		hideSeo();
		hideDigital();
		hideAffiliate();
	}
	else if(topic == 'digital')	{
		showDigital();
		hideEmail();
		hideWeb();
		hideSeo();
		hidePay();
		hideAffiliate();
	}
	else if(topic == 'affiliate')	{
		showAffiliate();
		hideDigital();
		hideEmail();
		hideWeb();
		hideSeo();
		hidePay();
	}
}
//*******************************************************************************************
function showWeb() {
	document.getElementById('service-web-header').style.backgroundColor = '#818181';
	document.getElementById('service-web-header').style.color = '#FFFFFF';
	document.getElementById('service-web-content').style.display = 'block';
}
function hideWeb() {
	document.getElementById('service-web-header').style.backgroundColor = '#EBEBEB';
	document.getElementById('service-web-header').style.color = '#000000';
	document.getElementById('service-web-content').style.display = 'none';
}
//*******************************************************************************************
function showEmail() {
	document.getElementById('service-email-header').style.backgroundColor = '#818181';
	document.getElementById('service-email-header').style.color = '#FFFFFF';
	document.getElementById('service-email-content').style.display = 'block';
}
function hideEmail() {
	document.getElementById('service-email-header').style.backgroundColor = '#EBEBEB';
	document.getElementById('service-email-header').style.color = '#000000';
	document.getElementById('service-email-content').style.display = 'none';
}
//*******************************************************************************************
function showSeo() {
	document.getElementById('service-seo-header').style.backgroundColor = '#818181';
	document.getElementById('service-seo-header').style.color = '#FFFFFF';
	document.getElementById('service-seo-content').style.display = 'block';
}
function hideSeo() {
	document.getElementById('service-seo-header').style.backgroundColor = '#EBEBEB';
	document.getElementById('service-seo-header').style.color = '#000000';
	document.getElementById('service-seo-content').style.display = 'none';
}
//*******************************************************************************************
function showPay() {
	document.getElementById('service-pay-header').style.backgroundColor = '#818181';
	document.getElementById('service-pay-header').style.color = '#FFFFFF';
	document.getElementById('service-pay-content').style.display = 'block';
}
function hidePay(){
	document.getElementById('service-pay-header').style.backgroundColor = '#EBEBEB';
	document.getElementById('service-pay-header').style.color = '#000000';
	document.getElementById('service-pay-content').style.display = 'none';
}
//*******************************************************************************************
function showDigital() {
	document.getElementById('service-digital-header').style.backgroundColor = '#818181';
	document.getElementById('service-digital-header').style.color = '#FFFFFF';
	document.getElementById('service-digital-content').style.display = 'block';
}
function hideDigital(){
	document.getElementById('service-digital-header').style.backgroundColor = '#EBEBEB';
	document.getElementById('service-digital-header').style.color = '#000000';
	document.getElementById('service-digital-content').style.display = 'none';
}
//*******************************************************************************************
function showAffiliate() {
	document.getElementById('service-affiliate-header').style.backgroundColor = '#818181';
	document.getElementById('service-affiliate-header').style.color = '#FFFFFF';
	document.getElementById('service-affiliate-content').style.display = 'block';
}
function hideAffiliate(){
	document.getElementById('service-affiliate-header').style.backgroundColor = '#EBEBEB';
	document.getElementById('service-affiliate-header').style.color = '#000000';
	document.getElementById('service-affiliate-content').style.display = 'none';
}
