  <!--  Banner 1
  //http://www.daxassist.com/js/rotatingbanners.cfm
    //specify interval between rotating banners (in milli seconds)
  var currentlink = 0;
  var currentimage = 0;
  var delay = 4000;
  var newbrowser = true;
	
  //specify banners
  if(document.images) {
    banpics = new Array();
	banpics[0] = new Image();
    banpics[0].src = "images/home/main-subaru.jpg";
	banpics[1] = new Image();
    banpics[1].src = "/images/home/cotw/uos-300112-4.jpg";
	banpics[2] = new Image();
    banpics[2].src = "/images/home/subaru-banner/forester-161110-2.jpg";
	banpics[3] = new Image();
	banpics[3].src = "/images/home/subaru-banner/impreza-161110-2.jpg";
	banpics[4] = new Image();
	banpics[4].src = "/images/home/subaru-banner/legacy-161110-2.jpg";
	banpics[5] = new Image();
	banpics[5].src = "/images/home/subaru-banner/outback-161110-2.jpg";
	banpics[6] = new Image();
	banpics[6].src = "/images/home/subaru-banner/wrx-161110-2.jpg";
	banpics[7] = new Image();
	banpics[7].src = "/images/home/subaru-banner/vale-160112.jpg";


    //specify banner links
    banlinks = new Array();	
	banlinks[0] = "http://somersetsubaru.co.uk/offers/";
	banlinks[1] = "/Used-car-details.aspx?regnumber=wn05vpp";   
	
	///Used-car-details.aspx?regnumber=hy55oxr
	banlinks[2] = "http://somersetsubaru.co.uk/offers/";
	banlinks[3] = "http://somersetsubaru.co.uk/offers/";
	banlinks[4] = "http://somersetsubaru.co.uk/offers/";
	banlinks[5] = "http://somersetsubaru.co.uk/offers/";
	banlinks[6] = "http://somersetsubaru.co.uk/offers/";
	banlinks[7] = "/pdfs/vale-160112.pdf";
	
  }		
			
  function bannerchanger(from) {
    if(document.images) {
      document.images[from].src = banpics[currentimage].src;
      currentlink = currentimage;			
      if (currentimage < banpics.length-1) 
        currentimage = currentimage + 1;
      else 
        currentimage = 0;
      setTimeout("bannerchanger('" + from + "')", delay);
    }
  }
	
  function FollowLink() {
    if(document.images) {
      if (newbrowser = true) {
        window.open(banlinks[currentlink], 'newwindow', '', false);			
      } else
        document.location.href = banlinks[currentlink];
    }
  }
	
  //-->

