// JavaScript Document
function LOAD(){
	document.getElementById('home').style.backgroundImage="url(image/bt_black.jpg)";
	document.getElementById('tesol').style.backgroundImage="url(image/bt_white.jpg)";
	document.getElementById('trainers').style.backgroundImage="url(image/bt_black.jpg)";
	document.getElementById('faq').style.backgroundImage="url(image/bt_black.jpg)";
	document.getElementById('gallery').style.backgroundImage="url(image/bt_black.jpg)";
	document.getElementById('contact').style.backgroundImage="url(image/bt_black.jpg)";
	document.getElementById('submit').style.backgroundImage="url(image/bt_black.jpg)";
	}

function OVER(id)
{
var valor = id;

switch(valor)
	{
		case "home":
		{
			document.getElementById('home').style.backgroundImage="url(image/bt_white.jpg)";
			//document.images["somos"].src="../img/botonera/somos_1.jpg";
			break;
		}
		case "tesol":
		{
			
			break;
		}
		case "spanish":
		{
			document.getElementById('spanish').style.backgroundImage="url(image/bt_white.jpg)";
			//document.images["somos"].src="../img/botonera/somos_1.jpg";
			break;
		}
		case "faq":
		{
			document.getElementById('faq').style.backgroundImage="url(image/bt_white.jpg)";
			//document.images["somos"].src="../img/botonera/somos_1.jpg";
			break;
		}
		case "gallery":
		{
			document.getElementById('gallery').style.backgroundImage="url(image/bt_white.jpg)";
			//document.images["somos"].src="../img/botonera/somos_1.jpg";
			break;
		}
		case "contact":
		{
			document.getElementById('contact').style.backgroundImage="url(image/bt_white.jpg)";
			//document.images["somos"].src="../img/botonera/somos_1.jpg";
			break;
		}
		case "submit":
		{
			document.getElementById('submit').style.backgroundImage="url(image/bt_white.jpg)";
			//document.images["somos"].src="../img/botonera/somos_1.jpg";
			break;
		}
	}
}

function OUT(id)
{
var valor = id;

switch(valor)
	{
		case "home":
		{
			document.getElementById('home').style.backgroundImage="url(image/bt_black.jpg)";
			//document.images["somos"].src="../img/botonera/somos_1.jpg";
			break;
		}
		case "tesol":
		{
			
			break;
		}
		case "spanish":
		{
			document.getElementById('spanish').style.backgroundImage="url(image/bt_black.jpg)";
			//document.images["somos"].src="../img/botonera/somos_1.jpg";
			break;
		}
		case "faq":
		{
			document.getElementById('faq').style.backgroundImage="url(image/bt_black.jpg)";
			//document.images["somos"].src="../img/botonera/somos_1.jpg";
			break;
		}
		case "gallery":
		{
			document.getElementById('gallery').style.backgroundImage="url(image/bt_black.jpg)";
			//document.images["somos"].src="../img/botonera/somos_1.jpg";
			break;
		}
		case "contact":
		{
			document.getElementById('contact').style.backgroundImage="url(image/bt_black.jpg)";
			//document.images["somos"].src="../img/botonera/somos_1.jpg";
			break;
		}
		case "submit":
		{
			document.getElementById('submit').style.backgroundImage="url(image/bt_black.jpg)";
			//document.images["somos"].src="../img/botonera/somos_1.jpg";
			break;
		}

	}
}

function CLICK(id)
{
var valor = id;

switch(valor)
	{
		case "home":
		{
			document.getElementById('tesol').style.backgroundImage="url(image/bt_black.jpg)";
			window.location = "../";
			break;
		}
		case "tesol":
		{
			
			break;
		}
		case "spanish":
		{
			document.getElementById('spanish').style.backgroundImage="url(image/bt_black.jpg)";
			window.location = "../spanish/";
			break;
		}
		case "faq":
		{
			document.getElementById('faq').style.backgroundImage="url(image/bt_black.jpg)";
			window.location = "../faq/";
			break;
		}
		case "gallery":
		{
			document.getElementById('gallery').style.backgroundImage="url(image/bt_black.jpg)";
			window.location = "../gallery/";
			break;
		}
		case "contact":
		{
			document.getElementById('contact').style.backgroundImage="url(image/bt_black.jpg)";
			window.location = "../contact/";
			break;
		}
		case "submit":
		{
			document.getElementById('submit').style.backgroundImage="url(image/bt_black.jpg)";
			window.location = "../submit/";
			break;
		}

	}
}
