<!--
	// Browser version checker
	// Get browser version
	// -------------------
var browser = new Object();

function getVersion(){
	return Math.round(parseFloat(navigator.appVersion) * 1000);
}

function checkBrowser(){
	browser.version= getVersion();
	//tests to see if running the required browser
	if (browser.version>=4000){
	//DO ALL THE HEADER SWAPPING CODE
	}
	else {
	document.writeln("<IMG height=50 width=300 src='images/header1.jpeg' alt='Silver jewellery for that special person in your life'>");
	}
}

/* define all rotating images to be used in document and preload */

   one=new Image;
   one.src="images/header1.jpeg";

   two=new Image;
   two.src="images/header2.jpeg";

   three=new Image;
   three.src="images/header3.jpeg";

   four=new Image;
   four.src="images/header4.jpeg"  ;        

   five=new Image;
   five.src="images/header5.jpeg";

   six=new Image;
   six.src="images/header6.jpeg";    
      
   seven=new Image;
   seven.src="images/header7.jpeg";         

   /* define an array for each rotating image containing the    */
   /* images to be used in that location and the location lable */

   target1=new Array();
      target1[0]=one.src;    /* list images first for the LABEL below */
      target1[1]=two.src;
	  target1[2]=three.src;
	  target1[3]=four.src;
	  target1[4]=five.src;
	  target1[5]=six.src;
	  target1[6]=seven.src;
	  target1[7]="header"; /* NAME label from document */
	  					   /* tells the script which image to replace */
   /* this is an array for listing all the rotating image arrays */
   /* defined above, don't forget to update if you change the    */
   /* number of rotating images in the document                  */

   targets=new Array();
      targets[0]=target1;  /* list target arrays name here */
	    
   /* this array list the number of images defined for each      */
   /* rotating image array, don't forget to update if you change */
   /* the number of rotating images in the document              */

   targetsLEN=new Array();
      targetsLEN[0]=(target1.length-2);  /* number of images in array for each target */
                                         /* minus two, because numbering starts from  */
                                         /* 0 and the last location is the label name */
  

   var pause           = 3600 ;  /* pause between image changes looks a little */
                                /* more random, because it sometimes loads    */
                                /* the same image in the same location        */

   var numberOfTargets = (targets.length-1);
   var targetINDEX     = Math.round(Math.random() * numberOfTargets);
   var imageINDEX      = Math.round(Math.random() * targetsLEN[targetINDEX]);
   var target          = targets[targetINDEX];
   var place           = target[targetsLEN[targetINDEX]+1];
   var pic             = target[imageINDEX];
   
   function display()
      {
         targetINDEX = Math.round(Math.random() * numberOfTargets);
         imageINDEX  = Math.round(Math.random() * targetsLEN[targetINDEX]);
         target      = targets[targetINDEX];
         place       = target[targetsLEN[targetINDEX]+1];
         pic         = target[imageINDEX];
         window.document.images[place].src=pic;

       }

   function startDisplay() 
      {
         window.setInterval('display()', pause);
      }            
// -->