function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

/*************************************************************************
  This code is from Dynamic Web Coding at dyn-web.com
  Copyright 2001-5 by Sharon Paine 
  See Terms of Use at www.dyn-web.com/bus/terms.html
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/

// for preloading images
imageHandler.path = "banner/";
// put images to preload here
imageHandler.preload("Finance.png", "Care-Plans.png");

function initBanner() {
    if ( !document.getElementById ) return;
    // arguments: id, delay (amount of time in milliseconds you linger on each item)
    // set up pause onmouseover and resume onmouseout? (boolean) 
    var ban1 = new dw_Banner('bannerDiv', 4500, true);
    // put your items here
	ban1.addItem('<a href="http://www.cardealwarehouse.co.uk/NEWSITE/Finance/Car-Finance-Explained.php"><img src="banner/Finance.png" border="0" alt="Car Finance Explained"></a>');
    ban1.addItem('<a href="http://www.cardealwarehouse.co.uk/NEWSITE/Warranties/Car-Warranties.php"><img src="banner/Care-Plans.png" border="0" alt="Car Care Plans"></a>');
    
    ban1.rotate();  // Begin the rotation 
}