function initPage()
{
	var box = document.getElementById("advantages");
	if (box)
	{
		
			box.onmouseover = function () 
			{
				if (this.className.indexOf("hover") == -1)
				{
					this.className += " hover";
				}
			}
			box.onmouseout = function ()
			{
				this.className = this.className.replace(" hover", "");
			}
		
	}
}
if (window.attachEvent && !window.opera)
	window.attachEvent("onload", initPage);
	
/*----Language-Fix)--*/
function langLinks(){
	if ($$('.langs a')){
		$$('.langs a').each(function(elem, i){
			if(i == 0){elem.getParent().setStyles({background:'none'});};
			//if (elem.getParent().hasClass('current_language_item')) {var a = elem; elem.setProperty('href', '');};
			/*if (elem.getProperty('href').indexOf('/lang/fr') != -1){
				elem.setProperty('href', 'http://www.sleepcountry.ca/francais-intro.html');
			}
			else{
				elem.setProperty('href', 'http://www.sleepcountry.ca/lang/en/');
			}*/
		});
	}
}
$(Window).addEvent('domready', function(){ langLinks();})

	