<!--

if (document.images) {
  var btn_whatis_on = new Image(217,25);
  btn_whatis_on.src = "images/hfe_tem_whatis_on.gif";
  var btn_whatis_off = new Image(217,25);
  btn_whatis_off.src = "images/hfe_tem_whatis.gif";
  
  var btn_jewelry_on = new Image(101,25);
  btn_jewelry_on.src = "images/hfe_tem_jewelry_on.gif";
  var btn_jewelry_off = new Image(101,25);
  btn_jewelry_off.src = "images/hfe_tem_jewelry.gif";
  
  var btn_locate_on = new Image(99,25);
  btn_locate_on.src = "images/hfe_tem_locate_on.gif";
  var btn_locate_off = new Image(99,25);
  btn_locate_off.src = "images/hfe_tem_locate.gif";
  
  var btn_new_on = new Image(72,25);
  btn_new_on.src = "images/hfe_tem_new_on.gif";
  var btn_new_off = new Image(72,25);
  btn_new_off.src = "images/hfe_tem_new.gif";
  
  var btn_ads_on = new Image(80,25);
  btn_ads_on.src = "images/hfe_tem_ads_on.gif";
  var btn_ads_off = new Image(80,25);
  btn_ads_off.src = "images/hfe_tem_ads.gif";
  
  var btn_brochures_on = new Image(147,25);
  btn_brochures_on.src = "images/hfe_tem_brochures_on.gif";
  var btn_brochures_off = new Image(147,25);
  btn_brochures_off.src = "images/hfe_tem_brochures.gif";
  
  var btn_about_on = new Image(60,25);
  btn_about_on.src = "images/hfe_tem_about_on.gif";
  var btn_about_off = new Image(60,25);
  btn_about_off.src = "images/hfe_tem_about.gif";
  
  var btn_contact_on = new Image(72,25);
  btn_contact_on.src = "images/hfe_tem_contact_on.gif";
  var btn_contact_off = new Image(72,25);
  btn_contact_off.src = "images/hfe_tem_contact.gif";
  
  var btn_jeweler_on = new Image(186,26);
  btn_jeweler_on.src = "images/hfe_tem_jeweler_on.gif";
  var btn_jeweler_off = new Image(186,26);
  btn_jeweler_off.src = "images/hfe_tem_jeweler.gif";
  
  var btn_arctic_on = new Image(186,27);
  btn_arctic_on.src = "images/hfe_tem_arctic_on.gif";
  var btn_arctic_off = new Image(186,27);
  btn_arctic_off.src = "images/hfe_tem_arctic.gif";
  
  var btn_video_on = new Image(227,25);
  btn_video_on.src = "images/hfe_whatis_videoon.gif";
  var btn_video_off = new Image(227,25);
  btn_video_off.src = "images/hfe_whatis_videooff.gif";
  
  var btn_reflexions_on = new Image(227,25);
  btn_reflexions_on.src = "images/hfe_new_viewon.gif";
  var btn_reflexions_off = new Image(227,25);
  btn_reflexions_off.src = "images/hfe_new_viewoff.gif";
  
  var btn_jewelerenter_on = new Image(159,25);
  btn_jewelerenter_on.src = "images/hfe_jewelers_enter_on.gif";
  var btn_jewelerenter_off = new Image(159,25);
  btn_jewelerenter_off.src = "images/hfe_jewelers_enter_off.gif";
  
  var btn_email_on = new Image(120,25);
  btn_email_on.src = "images/hfe_details_email_on.gif";
  var btn_email_off = new Image(120,25);
  btn_email_off.src = "images/hfe_details_email.gif";
  
  var btn_print_on = new Image(120,25);
  btn_print_on.src = "images/hfe_details_print_on.gif";
  var btn_print_off = new Image(120,25);
  btn_print_off.src = "images/hfe_details_print.gif";
  
  var btn_back_on = new Image(120,25);
  btn_back_on.src = "images/hfe_details_back_on.gif";
  var btn_back_off = new Image(120,25);
  btn_back_off.src = "images/hfe_details_back.gif";
}

function act(imgName) {
  if (document.images) 
    document.images[imgName].src = eval(imgName + "on.src");
}

function inact(imgName) {
  if (document.images)
    document.images[imgName].src = eval(imgName + "off.src");
}

Menu = {timer : null, current : null};
Menu.getStyle = function(name){
	if(document.getElementById) return document.getElementById(name).style;
	else if(document.all) return document.all[name].style;
	else if(document.layers) return document.layers[name];
}
Menu.show = function(name){
	if(this.timer) clearTimeout(this.timer);
	this.getStyle(name).visibility = "visible";
	this.current = name;
}
Menu.hide = function(){
	this.timer = setTimeout("Menu.doHide()",200);
}
Menu.doHide = function(){
	if(this.current){
		this.getStyle(this.current).visibility = "hidden";
		this.current = null;
	}
}

var screenwidth = window.innerWidth;
var totalmargin = screenwidth-968;
var leftmargin = totalmargin/2;
	if (leftmargin<0) {
		leftmargin=0;
		}
var jewelrywidth = leftmargin+218;
var subwidth = jewelrywidth+100;
var networkwidth = leftmargin+347;
// -->

