var isMSIE = /*@cc_on!@*/false; 
/* (C) 2002 www.CodeLifter.com
http://www.codelifter.com
Free for all users, but leave in this header.*/

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 2000;
var SlideShowSpeed2 = 2500;

// set loops
var loops = 1;
var done_loops = 0;

// set loops show 2
var loops2 = 2;
var done_loops2 = 0;


// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 3;

var Picture = []; // don't change this
var Caption = []; // don't change this

// Set the duration of crossfade (in seconds)
var CrossFadeDuration2 = 3;

var Picture2 = []; // don't change this
var Caption2 = []; // don't change this


// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines starting at the end of the Picture array.

Picture[1]  = 'images/pro-right/frame0.gif';
Picture[2]  = 'images/pro-right/frame1.gif';
Picture[3]  = 'images/pro-right/frame2.gif';
Picture[4]  = 'images/pro-right/frame3.gif';
Picture[5]  = 'images/pro-right/frame4.gif';
Picture[6]  = 'images/pro-right/frame5.gif';
Picture[7]  = 'images/pro-right/frame5.gif';


Picture2[1]  = 'images/pro-left/frame1.gif';
Picture2[2]  = 'images/pro-left/frame2.gif';
Picture2[3]  = 'images/pro-left/frame3.gif';
Picture2[4]  = 'images/pro-left/frame4.gif';
Picture2[5]  = 'images/pro-left/frame11.gif';
Picture2[6]  = 'images/pro-left/frame10.gif';
Picture2[7]  = 'images/pro-left/frame7.gif';
Picture2[8]  = 'images/pro-left/frame06.gif';
Picture2[9]  = 'images/pro-left/frame6.gif';
Picture2[10]  = 'images/pro-left/frame8.gif';
Picture2[11]  = 'images/pro-left/frame9.gif';
Picture2[12]  = 'images/pro-left/frame12.gif';
Picture2[13]  = 'images/pro-left/frame1.gif';

// To add more captions, just continue the pattern, adding to the array below.
// To use fewer captions, remove lines starting at the end of the Caption array.



Caption[1]  = "proCAB - built for HGV and truck drivers";
Caption[2]  = "allows you to plan routes and then avoid";
Caption[3]  = "bollards, width restrictions and narrow lanes";
Caption[4]  = "weight limits and exclusions zones";
Caption[5]  = "and low bridges and weight limits ...";
Caption[6]  = "find Industrial Estates, Petrol Stations, Lay-bys";
Caption[7]  = "Truckstops, Supermarkets, Services, Trading Estates  ....";


Caption2[1]  = "proCAB works on all tomtom models";
Caption2[2]  = "Autoroute, Garmin and Navman units";
Caption2[3]  = "buy a copy for your CURRENT SATNAV !";
Caption2[4]  = "available in DOWNLOAD or CD-ROM format";
Caption2[5]  = "adjust your vehicle size/weight and width";
Caption2[6]  = "then just drive whilst proCAB works for you";
Caption2[7]  = "proCAB here is shown on basic Garmin unit";
Caption2[8]  = "this widescreen pic is from a tomtom model";
Caption2[9]  = "whatever the model - proCAB helps find the way";
Caption2[10]  = "proCAB includes over 1 million points";
Caption2[11]  = "updates are provided free each month - as roads alter";
Caption2[12]  = "with the new MULTIDROP/MULTISTOP feature";
Caption2[13]  = "if you need more info click your model below";



// START CODE PROPER //

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;


var tss2;
var iss2;
var jss2 = 1;
var pss2 = Picture2.length-1;
var secondshow = true;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++)
								{
								preLoad[iss] = new Image();
								preLoad[iss].src = Picture[iss];
								}
var preLoad2 = new Array();
for (iss2 = 1; iss2 < pss2+1; iss2++)
								{
								preLoad2[iss2] = new Image();
								preLoad2[iss2].src = Picture2[iss2];
								}
								
								
function runSlideShow2()
						{
						if (done_loops2 >= loops2)
													{
													if (isMSIE)
																{
																document.images.PictureBox2.filters.blendTrans.Stop();
																}
													return;
													}
						if (isMSIE)		
																{
																document.images.PictureBox2.style.filter="blendTrans(duration=3)";
																document.images.PictureBox2.style.filter="blendTrans(duration=CrossFadeDuration)";
																document.images.PictureBox2.filters.blendTrans.Apply();
																}
						document.images.PictureBox2.src = preLoad2[jss2].src;
						if (document.getElementById) 	
																{
																document.getElementById("CaptionBox").innerHTML= Caption2[jss2];
																}														
						if (isMSIE)				
																{
																document.images.PictureBox2.filters.blendTrans.Play();
																}
						jss2 = jss2 + 1;	
						/* SlideShowSpeed = 3000;  speed it after initial delay */
						/* if (jss > (pss)) jss=1;  old line replay*/
						if (jss2 > pss2) 
																{
																done_loops2=done_loops2+1;
																jss2=1;
																}
						tss2 = setTimeout('runSlideShow2()', SlideShowSpeed2);
						}
						
						
function runSlideShow()
						{
						document.images.PictureBox.style.marginTop = "0px";
						if (done_loops >= loops)
										{
												if (isMSIE)	
												{
												document.images.PictureBox.filters.blendTrans.Stop();
												}
												if (secondshow) {
																tss2 = setTimeout('runSlideShow2()', SlideShowSpeed2);
																}
												return;
												}
						if (isMSIE)		
																{
																document.images.PictureBox.style.filter="blendTrans(duration=3)";
																document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
																document.images.PictureBox.filters.blendTrans.Apply();
																}
						document.images.PictureBox.src = preLoad[jss].src;
						if (document.getElementById) 	
																{
																document.getElementById("CaptionBox").innerHTML= Caption[jss];
																}														
						if (isMSIE)				
																{
																document.images.PictureBox.filters.blendTrans.Play();
																}
						jss = jss + 1;	
						/* SlideShowSpeed = 3000;  speed it after initial delay */
						/* if (jss > (pss)) jss=1;  old line replay*/
						if (jss > pss) 
																{
																done_loops=done_loops+1;
																jss=1;
																}
						tss = setTimeout('runSlideShow()', SlideShowSpeed);
						}

/* <body onload="setTimeout('runSlideShow()',4500)" bgcolor="#000000"> */
function startup ()
{
document.images.PictureBox.style.marginTop = "100px";
showhide("slidearea","show");
startupmov();
setTimeout('runSlideShow()',4500);
}

