function lighton(b)
{
document.getElementById("link"+[b]).style.backgroundColor= "rgb(101,194,243)" ;
}

function lightoff(b)
{
document.getElementById("link"+[b]).style.backgroundColor= "white" ;
}

function cookie(x)
{
document.cookie="name="+[x]+"; expires=Fri, 30-Dec-2011 00:00:00 GMT;";
}

function redirect()
{
window.location.href ='http://www.joulon.com/EN.php';
}

function redirectFR()
{
window.location.href ='http://www.joulon.com/FR.php';
}

function checkCookie()
{
var cs = document.cookie.split(';');
for(var i=0;i < cs.length;i++) {
var c = cs[i];
var cookiea = c.substring(6,8);
var cookieb = c.substring(5,7);
if (cookiea == 'EN' || cookieb =='EN') 
{
window.location.href ='http://www.joulon.com/EN.php';
}
else if (cookiea == 'FR' || cookieb =='FR') 
{
window.location.href ='http://www.joulon.com/FR.php';
 }

}

}


function tagon(a){document.getElementById("tag"+[a]).style.color= "rgb(101,194,243)";
document.getElementById("tag"+[a]).style.fontWeight= "bold"}

function tagoff(b){document.getElementById("tag"+[b]).style.color= "black";
document.getElementById("tag"+[b]).style.fontWeight= "normal"}

