/* Floating Slide Show Script C.2004 by CodeLifter.com */

// You *must* add onload="runSlideShow()" to the <body> tag
// of the page.

// In the section marked Edit the HTML, above, remember to
// set the path and size for the first image.

// =======================================
// Set the following variables
// =======================================

// Set slideShowSpeed (milliseconds):
var slideShowSpeed = 4000

// Duration of crossfade (seconds) for IE:
var crossFadeDuration = 3

// Set the positioning variables, below:
// Negative numbers are relative to right (whereX) or bottom (whereY)
// Positive numbers are relative to left (whereX) or (whereY) top
// Experiment with values to get positioning exact, and allow
// for the dimensions of the image in the positioning

var whereX = 140;
var whereY = -233;

// Specify the image files:
var Pic = new Array() // don't touch this!
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = '../i/slideshow/ferrari_enzo.gif'
Pic[1] = 'images/cars/header/lamborghini_gallardo_lp560_white114.gif'
Pic[2] = '../i/slideshow/ferrari_enzo_edo_competition.jpg'
Pic[3] = 'images/cars/header/lamborghinimurcielargosupercar114.gif'
Pic[4] = '../i/slideshow/bmw_x5.gif'
Pic[5] = 'images/cars/header/lamborghini_gallardo_spyder114.gif'
Pic[6] = '../i/slideshow/bmw_x5_ac.gif'
Pic[7] = 'images/cars/header/lamborghini+white114.gif'
Pic[8] = 'images/cars/header/lamborghinimurcielargofade114.gif'
Pic[9] = '../i/cars/2006astonmartinvantagesilver.jpg'
Pic[10] = 'images/cars/header/bmw_m5_rear.gif'
Pic[11] = 'images/cars/header/bmw_m5_fronseat.gif'
Pic[12] = 'images/cars/header/bmw5series.gif'
Pic[13] = 'images/cars/header/bmw_m5frontlight.gif'
Pic[14] = 'images/cars/header/bmw_m5_sedan_gearshift.gif'
Pic[15] = 'images/cars/header/bmwm5_lamma+orange114.gif'
Pic[15] = 'images/cars/header/bmwm5lumma114.gif'
Pic[16] = 'images/cars/header/bmw_m5_bluegrey.gif'
Pic[17] = 'images/cars/header/bmwm5red114.gif'
Pic[18] = 'images/cars/header/bmwm5silver.gif'
Pic[19] = 'images/cars/header/bmwm5.gif'
Pic[20] = 'images/cars/header/bmw_m5_touring.gif'
Pic[21] = 'images/cars/header/bmwm5cockpit.gif'



// =======================================
// Do not edit *anything* below this line!
// =======================================

var nn=(navigator.appName.indexOf("Netscape")!=-1);
var t;var j=0;var p=Pic.length;var preLoad=new Array();
for (i=0;i<p;i++){preLoad[i]=new Image();preLoad[i].src = Pic[i];}
function runSlideShow(){
if (document.all){
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();}
if (document.all || document.getElementById){document.images.SlideShow.src = preLoad[j].src;}else{
document.FloatSlideShow.document.images["SlideShow"].src = preLoad[j].src;}
if (document.all){document.images.SlideShow.filters.blendTrans.Play();}
j=j+1;if (j>(p-1))j=0;t=setTimeout('runSlideShow()', slideShowSpeed);}
var dD=document,dH=dD.html,dB=dD.body,px=dD.layers?'':'px';

