<!--
var range = 6;
var x = Math.floor(Math.random() * range) + 1;

document.write('<link rel="stylesheet" type="text/css" href="inc/h'+ x +'.css">')

if(document.images){
	ab = new Image();
	ab.src = "img/h-n-about.gif";
	ab1 = new Image();
	ab1.src = "img/h-n-about1.gif";
	
	t1 = new Image();
	t1.src = "img/h-tour1.gif";
	t11 = new Image();
	t11.src = "img/h-tour11.gif";
	t2 = new Image();
	t2.src = "img/h-tour2.gif";
	t21 = new Image();
	t21.src = "img/h-tour21.gif";
	
	ch = new Image();
	ch.src = "img/h-n-champagne" + x + ".gif";
	ch1 = new Image();
	ch1.src = "img/h-n-champagne" + x + "-1.gif";
	
	v = new Image();
	v.src = "img/h-n-video.jpg";
	v1 = new Image();
	v1.src = "img/h-n-video1.jpg";
	
	sp = new Image();
	sp.src = "img/h-n-spotlight.gif";
	sp1 = new Image();
	sp1.src = "img/h-n-spotlight1.gif";
	
	bo = new Image();
	bo.src = "img/h-n-buy.gif";
	bo1 = new Image();
	bo1.src = "img/h-n-buy1.gif";
	
	pat1 = new Image();
	pat1.src = "img/h-pat1.gif";
	pat11 = new Image();
	pat11.src = "img/h-ph1.jpg"
	
	pat3 = new Image();
	pat3.src = "img/h-pat3.gif";
	pat31 = new Image();
	pat31.src = "img/h-ph3.jpg"
	
	pat4 = new Image();
	pat4.src = "img/h-pat4.gif";
	pat41 = new Image();
	pat41.src = "img/h-ph4.jpg"
	
	function iC(i, iName){
    	document.images[i].src = eval(i + iName + ".src");
	}
}

function initVideo(){
    var video = document.getElementById("videopop")
    addAnEvent(video,'click',VidPopup);
}

function VidPopup(){
        appWindow = window.open(this.href,"video","width=420,height=320,toolbar=0,scrollbars=0,resizable=0");
        appWindow.focus ();
        return false;        
}

function addAnEvent( target, eventName, functionName){
   eval('target.on'+eventName+'=functionName');
}

function initialize(){
    if ( document.getElementById ){
        if (document.getElementById("videopop")) initVideo();
    }
}

window.onload=initialize;

//-->
