	function MM_reloadPage(init) {  //reloads the window if Nav4 resized
		PreloadImages();
		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();
		}
	}
	
	function PreloadImages()
	{
		var img_name = "<?php echo getBannerImageName($item); ?>";
		var img = new Image();
		img.src = "<?php echo $config_live_site.$template_image_path;?>/left/" + img_name;
		img.src = "<?php echo $config_live_site.$template_image_path;?>/right/" + img_name;
	}
