/* Créé par Ling pour Multiple-Media.com le 25 avril 2007  */

function ClearContent(para, remind){

	if (remind == null) {
		remind = "Search";
	}
	
	obj = document.getElementById("SearchField");
	if (para == 0){
	   if (obj.value==remind)
	     obj.value="";
	}
	else
	{
		 if (obj.value==""){
	     obj.value=remind;
	     obj.select();
	   }
	}
}

function highlightItem(index)
{  document.getElementById("menuTop_" + index).className="TabItemHighlight";
   document.getElementById("imgTop_" + index).className="tabPointerVisible";
   document.getElementById("txtTop_" + index).className="MenuHighlight";
}
function normalItem(index)
{  document.getElementById("menuTop_" + index).className="TabItem";
   document.getElementById("imgTop_" + index).className="tabPointerHidden";
   document.getElementById("txtTop_" + index).className="Menu";
}

var SearchButton = "../files/images/template/search-button.gif";
var SearchButtonHighlight = "../files/images/template/search-button-highlight.gif";
var LearnMore = "../files/images/template/learn-more.gif";
var LearnMoreHighlight = "../files/images/template/learn-more-highlight.gif";

function highlightButton(index)
{
	 if (index == 0)
	   document.getElementById("Bouton" + index).src=SearchButtonHighlight;
	 else if (index == 1)
     document.getElementById("Bouton" + index).src=LearnMoreHighlight;
}
function normalButton(index)
{
	 if (index == 0)
	   document.getElementById("Bouton" + index).src=SearchButton;
	 else if (index == 1)
     document.getElementById("Bouton" + index).src=LearnMore;
}