b0off = new Image();
b0off.src = "/img/menu/jewellery.png";
b0on = new Image();
b0on.src = "/img/menu/jewellery2.png";

b4off = new Image();
b4off.src = "/img/menu/timepieces.png";
b4on = new Image();
b4on.src = "/img/menu/timepieces2.png";

b1off = new Image();
b1off.src = "/img/menu/services.png";
b1on = new Image();
b1on.src = "/img/menu/services2.png";

b2off = new Image();
b2off.src = "/img/menu/testimony.png";
b2on = new Image();
b2on.src = "/img/menu/testimony2.png";

b3off = new Image();
b3off.src = "/img/menu/aboutus.png";
b3on = new Image();
b3on.src = "/img/menu/aboutus2.png";

b5off = new Image();
b5off.src = "/img/menu/home.png";
b5on = new Image();
b5on.src = "/img/menu/home2.png";


tacorioff = new Image();
tacorioff.src = "/img/signature/tacori.jpg";
tacorion = new Image();
tacorion.src = "/img/signature/tacori2.jpg";

gabrielleoff = new Image();
gabrielleoff.src = "/img/signature/gabrielle.jpg";
gabrielleon = new Image();
gabrielleon.src = "/img/signature/gabrielle2.jpg";

scottkayoff = new Image();
scottkayoff.src = "/img/signature/scott-kay.jpg";
scottkayon = new Image();
scottkayon.src = "/img/signature/scott-kay2.jpg";

martinflyeroff = new Image();
martinflyeroff.src = "/img/signature/martin-flyer.jpg";
martinflyeron = new Image();
martinflyeron.src = "/img/signature/martin-flyer2.jpg";

verragiooff = new Image();
verragiooff.src = "/img/signature/verragio.jpg";
verragioon = new Image();
verragioon.src = "/img/signature/verragio2.jpg";

simongoff = new Image();
simongoff.src = "/img/signature/simong.jpg";
simongon = new Image();
simongon.src = "/img/signature/simong2.jpg";

mapleleafoff = new Image();
mapleleafoff.src = "/img/signature/maple-leaf.jpg";
mapleleafon = new Image();
mapleleafon.src = "/img/signature/maple-leaf2.jpg";


tagheueroff = new Image();
tagheueroff.src = "/img/signature/timepieces/tag-heuer.jpg";
tagheueron = new Image();
tagheueron.src = "/img/signature/timepieces/tag-heuer2.jpg";

tissotoff = new Image();
tissotoff.src = "/img/signature/timepieces/tissot.jpg";
tissoton = new Image();
tissoton.src = "/img/signature/timepieces/tissot2.jpg";

guccioff = new Image();
guccioff.src = "/img/signature/timepieces/gucci.jpg";
guccion = new Image();
guccion.src = "/img/signature/timepieces/gucci2.jpg";

dgoff = new Image();
dgoff.src = "/img/signature/timepieces/dg.jpg";
dgon = new Image();
dgon.src = "/img/signature/timepieces/dg2.jpg";

twsteeloff = new Image();
twsteeloff.src = "/img/signature/timepieces/twsteel.jpg";
twsteelon = new Image();
twsteelon.src = "/img/signature/timepieces/twsteel2.jpg";


   function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
        var point = new GLatLng(55.192925, -118.791304);
        map.setCenter(point, 13);
        map.setUIToDefault();
        
        map.addOverlay(new GMarker(point));
      }
    }

function slideSwitch(id) {
	var $active = $('#'+id+' IMG.active');
    if ( $active.length == 0 ) $active = $('#'+id+' IMG:last');
    // use this to pull the images in the order they appear in the markup
    var $next =  $active.next().length ? $active.next()
        : $('#'+id+' IMG:first');
    // uncomment the 3 lines below to pull the images in random order
    // var $sibs  = $active.siblings();
    // var rndNum = Math.floor(Math.random() * $sibs.length );
    // var $next  = $( $sibs[ rndNum ] );
    $active.addClass('last-active');
    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            $active.removeClass('active last-active');
        });
}



/*
function myfun() {
	if (xmenu == 0) {
		document.gfx['b1'].src=b1off.src;
	}
}

function myfun2() {
	if (ymenu == 0) {
		document.gfx['b2'].src=b2off.src;
	}
}
*/
function displayWindow(url, width, height) {
	var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=no,menubar=no,left=10,top=10,'  );
}

