// JavaScript Document

function changeImageHome(){
	if(homeBtn.getAttribute("src")
  var homeBtn = document.getElementById("homeBtn");
  homeBtn.setAttribute("src", "Images/HOME_SELECT.png");
}

function changeImageAboutUs(){
  var aboutUsBtn = document.getElementById("aboutUsBtn");
  aboutUsBtn.setAttribute("src", "Images/ABOUT_US_SELECT.png");
}

function changeImageProducts(){
  var productsBtn = document.getElementById("productsBtn");
  productsBtn.setAttribute("src", "Images/PROD_N_SERV_SELECT.png");
}

function changeImageContactUs(){
  var contactBtn = document.getElementById("contactBtn");
  contactBtn.setAttribute("src", "Images/CONTACT_US_SELECT.png");
}

function changeImageBack(){
  var homeBtn = document.getElementById("homeBtn");
  var aboutUsBtn = document.getElementById("aboutUsBtn");
  var productsBtn = document.getElementById("productsBtn");
  var contactBtn = document.getElementById("contactBtn");
  homeBtn.setAttribute("src", "Images/HOME_UNSELECT.png");
  aboutUsBtn.setAttribute("src", "Images/ABOUT_US_UNSELECT.png");
  productsBtn.setAttribute("src", "Images/PROD_N_SERV_UNSELECT.png");
  contactBtn.setAttribute("src", "Images/CONTACT_US_UNSELECT.png");
}

function getFlashMovieObject(movieName)
{
  if (window.document[movieName]) 
  {
    return window.document[movieName];
  }
  if (navigator.appName.indexOf("Microsoft Internet")==-1)
  {
    if (document.embeds && document.embeds[movieName])
      return document.embeds[movieName]; 
  }
  else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
  {
    return document.getElementById(movieName);
  }
}

function PlayFlashMovie()
{
	var flashMovie=getFlashMovieObject("header");
	flashMovie.Stop()
}

/*
function ChangeDisplayHome(){
	var disp = document.getElementById("Body");
	disp.setAttribute("src","Home.html");
}

function ChangeDisplayAbout(){
	var disp = document.getElementById("Body");
	disp.setAttribute("src","About.html");
}

function ChangeDisplayProduct(){
	var disp = document.getElementById("Body");
	disp.setAttribute("src","Product.html");
}

function ChangeDisplayContact(){
	var disp = document.getElementById("Body");
	disp.setAttribute("src","Contact.html");
}

function show(lyr) {
document.all.invisible.style.width='290px'; }

function hide(lyr) {
document.all.invisible.style.width='190px';}

function start() {
document.all.invisible.style.height='190px';}*/
