<!-- (JSP_START) /InsideLine/InsideLineWeb/WebRoot/scripts/multimediajs.jsp -->


































function stylePhotoFlipper(photoId,styleId) {
		var photoWindow = window.open('/insideline/do/MediaNav/styleId=' + styleId + '/firstNav=Gallery/photoId=' + photoId + '', 'myWin', 'width=810,height=690,scrollbars=no,menubar=no,statusbar=no,resizable=no');
                photoWindow.focus();
		return true;
	}

var picturesArray = new Array();
var spyButtonIndex;

function pictureObject(url, linkUrl) {
	this.url = url;
    this.linkUrl = linkUrl;
}

function buildSpyPictures(spyButtonIndex) {
	var picObject;
	var pictureNumber = 0;
	var url;
	var linkUrl;


	

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=130969" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..1.*\'; setTID(\'edmunds.il.medlanding.spyshots..1.*\');" >Exclusive Spy Video and Photos: 2010 Jaguar XF-R</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=130969" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..1.*\'; setTID(\'edmunds.il.medlanding.spyshots..1.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.jaguar.xf.r/10.jaguar.xfr.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 Jaguar XF-R" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=130646" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..2.*\'; setTID(\'edmunds.il.medlanding.spyshots..2.*\');" >Spy Video and Photos: 2009 Mercedes-Benz SLR McLaren Speedster</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=130646" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..2.*\'; setTID(\'edmunds.il.medlanding.spyshots..2.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/09.mercedes.benz.slr.mclaren.speedster/09.mb.slr.speedster.f34.160.jpg" alt="Spy Video and Photos: 2009 Mercedes-Benz SLR McLaren Speedster" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=130310" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..3.*\'; setTID(\'edmunds.il.medlanding.spyshots..3.*\');" >Exclusive Spy Video and Photos: 2010 GMC Terrain</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=130310" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..3.*\'; setTID(\'edmunds.il.medlanding.spyshots..3.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.gmc.terrain/10.gmc.terrain.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 GMC Terrain" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=130326" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..4.*\'; setTID(\'edmunds.il.medlanding.spyshots..4.*\');" >Exclusive Spy Video and Photos: 2010 Porsche Panamera </a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=130326" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..4.*\'; setTID(\'edmunds.il.medlanding.spyshots..4.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.porschepanamera/10.porsche.panamera.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 Porsche Panamera " width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=130147" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..5.*\'; setTID(\'edmunds.il.medlanding.spyshots..5.*\');" >Exclusive Spy Video and Photos: 2010 Subaru Impreza WRX STI Spec C</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=130147" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..5.*\'; setTID(\'edmunds.il.medlanding.spyshots..5.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.subaru.impreza.wrx.sti.spec.c/10.subaru.wrx.sti.spec.c.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 Subaru Impreza WRX STI Spec C" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=130017" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..6.*\'; setTID(\'edmunds.il.medlanding.spyshots..6.*\');" >Exclusive Spy Video and Photos: 2011 Chevrolet Cruze</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=130017" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..6.*\'; setTID(\'edmunds.il.medlanding.spyshots..6.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/11.chevrolet.cruze/11.chevrolet.cruze.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2011 Chevrolet Cruze" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=129969" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..7.*\'; setTID(\'edmunds.il.medlanding.spyshots..7.*\');" >Exclusive Spy Video and Photos: 2010 Mercedes-Benz E63 AMG</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=129969" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..7.*\'; setTID(\'edmunds.il.medlanding.spyshots..7.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.mercedes.benz.e63.amg/10.bm.e63.amg.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 Mercedes-Benz E63 AMG" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=129808" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..8.*\'; setTID(\'edmunds.il.medlanding.spyshots..8.*\');" >Exclusive Spy Video and Photos: 2010 BMW X6 50is</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=129808" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..8.*\'; setTID(\'edmunds.il.medlanding.spyshots..8.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.bmw.x6.50is/10.bmw.x6.50is.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 BMW X6 50is" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=129607" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..9.*\'; setTID(\'edmunds.il.medlanding.spyshots..9.*\');" >Exclusive Spy Video and Photos: 2010 Honda Hybrid </a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=129607" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..9.*\'; setTID(\'edmunds.il.medlanding.spyshots..9.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.honda.hybrid.sedan/10.honda.hybrid.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 Honda Hybrid " width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=129486" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..10.*\'; setTID(\'edmunds.il.medlanding.spyshots..10.*\');" >Exclusive Spy Video and Photos: 2010 BMW X6 Hybrid</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=129486" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..10.*\'; setTID(\'edmunds.il.medlanding.spyshots..10.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.bmw.x6.hybrid/10.bmw.hybrid.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 BMW X6 Hybrid" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=128666" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..11.*\'; setTID(\'edmunds.il.medlanding.spyshots..11.*\');" >Exclusive Spy Video and Photos: 2009 Audi TT-RS</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=128666" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..11.*\'; setTID(\'edmunds.il.medlanding.spyshots..11.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/09.audi.tt.rs/09.audi.tt.rs.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2009 Audi TT-RS" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=128474" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..12.*\'; setTID(\'edmunds.il.medlanding.spyshots..12.*\');" >Exclusive Spy Video and Photos: 2010 Ford F-150 Raptor</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=128474" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..12.*\'; setTID(\'edmunds.il.medlanding.spyshots..12.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.ford.f150.raptor/10.ford.raptor.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 Ford F-150 Raptor" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=127892" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..13.*\'; setTID(\'edmunds.il.medlanding.spyshots..13.*\');" >Exclusive Spy Video and Photos: 2009 BMW 7 Series</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=127892" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..13.*\'; setTID(\'edmunds.il.medlanding.spyshots..13.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/09.bmw.7.series/09.bmw.7series.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2009 BMW 7 Series" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=127846" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..14.*\'; setTID(\'edmunds.il.medlanding.spyshots..14.*\');" >Exclusive Spy Video and Photos: 2011 BMW 5 Series</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=127846" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..14.*\'; setTID(\'edmunds.il.medlanding.spyshots..14.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/11.bmw.5.series.b/11.bmw.5series.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2011 BMW 5 Series" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=127446" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..15.*\'; setTID(\'edmunds.il.medlanding.spyshots..15.*\');" >Exclusive Spy Video and Photos: 2011 Acura NSX</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=127446" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..15.*\'; setTID(\'edmunds.il.medlanding.spyshots..15.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/11.acura.nsx/11.acura.nsx.ring.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2011 Acura NSX" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=127269" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..16.*\'; setTID(\'edmunds.il.medlanding.spyshots..16.*\');" >Exclusive Spy Video and Photos: 2009 Mercedes-Benz CLK</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=127269" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..16.*\'; setTID(\'edmunds.il.medlanding.spyshots..16.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/09.mercedes.benz.clk/09.mb.clk.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2009 Mercedes-Benz CLK" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=126898" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..17.*\'; setTID(\'edmunds.il.medlanding.spyshots..17.*\');" >Spy Video and Photos: 2009 Lotus Eagle</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=126898" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..17.*\'; setTID(\'edmunds.il.medlanding.spyshots..17.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/09.lotus.eagle/10.lotus.eagle.f34.160.jpg" alt="Spy Video and Photos: 2009 Lotus Eagle" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=126572" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..18.*\'; setTID(\'edmunds.il.medlanding.spyshots..18.*\');" >Exclusive Spy Video and Photos: 2011 Mercedes-Benz SLC AMG</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=126572" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..18.*\'; setTID(\'edmunds.il.medlanding.spyshots..18.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/11.mercedes.benz.slc.amg/2011.mb.slc.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2011 Mercedes-Benz SLC AMG" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=126540" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..19.*\'; setTID(\'edmunds.il.medlanding.spyshots..19.*\');" >Exclusive Spy Video and Photos: 2010 Porsche 911 GT3</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=126540" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..19.*\'; setTID(\'edmunds.il.medlanding.spyshots..19.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.porsche.911.gt3/10.porsche.911.gt3.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 Porsche 911 GT3" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=126454" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..20.*\'; setTID(\'edmunds.il.medlanding.spyshots..20.*\');" >Exclusive Spy Video and Photos: 2010 Cadillac BRX Crossover</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=126454" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..20.*\'; setTID(\'edmunds.il.medlanding.spyshots..20.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.cadillac.brx.crossover/2010.cadillac.brx.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 Cadillac BRX Crossover" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=126317" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..21.*\'; setTID(\'edmunds.il.medlanding.spyshots..21.*\');" >Exclusive Spy Video and Photos: 2010 Cadillac CTS Wagon</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=126317" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..21.*\'; setTID(\'edmunds.il.medlanding.spyshots..21.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.cadillac.cts.wagon/2010.cadillac.cts.wagon.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 Cadillac CTS Wagon" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=126178" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..22.*\'; setTID(\'edmunds.il.medlanding.spyshots..22.*\');" >Exclusive Spy Video and Photos: 2010 Ford Mustang</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=126178" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..22.*\'; setTID(\'edmunds.il.medlanding.spyshots..22.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.ford.mustang/2010.ford.mustang.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 Ford Mustang" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=126126" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..23.*\'; setTID(\'edmunds.il.medlanding.spyshots..23.*\');" >Exclusive Spy Video: 2009 Aston Martin V12 Vantage RS</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=126126" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..23.*\'; setTID(\'edmunds.il.medlanding.spyshots..23.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/09.aston.martin.v12.vantage.rs/09.am.v12.vantage.f34.160.jpg" alt="Exclusive Spy Video: 2009 Aston Martin V12 Vantage RS" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=125985" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..24.*\'; setTID(\'edmunds.il.medlanding.spyshots..24.*\');" >Exclusive Spy Video and Photos: 2010 Chevrolet Equinox</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=125985" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..24.*\'; setTID(\'edmunds.il.medlanding.spyshots..24.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.chevrolet.equinox/2010.chevrolet.equinox.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 Chevrolet Equinox" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=125898" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..25.*\'; setTID(\'edmunds.il.medlanding.spyshots..25.*\');" >Exclusive Spy Video and Photos: 2009 Mercedes-Benz CLK</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=125898" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..25.*\'; setTID(\'edmunds.il.medlanding.spyshots..25.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/09.mb.clk/mb.clk.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2009 Mercedes-Benz CLK" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=125765" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..26.*\'; setTID(\'edmunds.il.medlanding.spyshots..26.*\');" >Exclusive Spy Video and Photos: 2011 BMW X1</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=125765" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..26.*\'; setTID(\'edmunds.il.medlanding.spyshots..26.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/11.bmw.x1/2011.bmw.x1.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2011 BMW X1" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=125622" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..27.*\'; setTID(\'edmunds.il.medlanding.spyshots..27.*\');" >Exclusive Spy Video and Photos: 2010 Aston Martin Rapide</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=125622" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..27.*\'; setTID(\'edmunds.il.medlanding.spyshots..27.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.aston.martin.rapide/2010.am.rapide.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 Aston Martin Rapide" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		

	linkUrl = '<a href="/insideline/do/GeneralFuture/articleId=125591" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..28.*\'; setTID(\'edmunds.il.medlanding.spyshots..28.*\');" >Exclusive Spy Video and Photos: 2010 Nissan GT-R V Spec</a>';
	url = '<a href="/insideline/do/GeneralFuture/articleId=125591" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..28.*\'; setTID(\'edmunds.il.medlanding.spyshots..28.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/future/10.nissan.gtr.v.spec/10.nissan.gtr.vspec.f34.160.jpg" alt="Exclusive Spy Video and Photos: 2010 Nissan GT-R V Spec" width="87" height="55" border="0" /></a>';
	picObject = new pictureObject(url, linkUrl);
	picturesArray[pictureNumber] = picObject;
				pictureNumber++;
		
		loadSection(spyButtonIndex);
	}
function loadSection(spyButtonIndex) {

    var LIST_DISPLAY_SIZE = 3;
	var startIndex        = 0;
	var endIndex          = 0;
	var listSize          = 0;
	var i                 = 0;
	if( spyButtonIndex == 0 ) {
		startIndex = 0;
	} else if( spyButtonIndex == 1){
		startIndex = 4;
	} else if (spyButtonIndex == 2){
	    startIndex = 8;
	}


	endIndex = startIndex +LIST_DISPLAY_SIZE;

    var outputOne = document.getElementById("left-spyshots");
    var htmlStringOne = "";
    var htmlStringOne = '<h3>Spy Shots: Photos &amp; Video</h3>';
    htmlStringOne = htmlStringOne + '<ul class="gallery">';

      for(i=startIndex; i<=endIndex; i++)
    {

     if (i == 0 || i == 2 || i == 4 || i == 6 || i == 8 || i == 10)
     
    {
      htmlStringOne = htmlStringOne + '<li class="oddnumber">';
   	}
   	else
   	{
   	htmlStringOne = htmlStringOne + '<li>';
   	}
    htmlStringOne = htmlStringOne + picturesArray[i].url;
    htmlStringOne = htmlStringOne +  picturesArray[i].linkUrl;
   	htmlStringOne = htmlStringOne + '</li>';
    }

    htmlStringOne = htmlStringOne + '</ul>';
    htmlStringOne = htmlStringOne + '<div class="pvf-nav">';
    if(spyButtonIndex == 0){
        htmlStringOne = htmlStringOne + '<a href="#1300" onClick="loadSection(2);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/prev_blk.gif" border="0" /></a>';
    }
    else if (spyButtonIndex == 1){
     htmlStringOne = htmlStringOne + '<a href="#1300" onClick="loadSection(0);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/prev_blk.gif" border="0" /></a>';
    }
      else if (spyButtonIndex == 2){
     htmlStringOne = htmlStringOne + '<a href="#1300" onClick="loadSection(1);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/prev_blk.gif" border="0" /></a>';
    }
	if (spyButtonIndex == 0){
	htmlStringOne = htmlStringOne + '<img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/01_on_44.gif" border="0" />';
    } else {
    htmlStringOne = htmlStringOne + '<a href="#1301" onClick="loadSection(0);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/01_off_44.gif" border="0" /></a>';
    }
    if (spyButtonIndex == 1 ){
    htmlStringOne = htmlStringOne + '<img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/02_on_44.gif" border="0" />';
        } else {
    htmlStringOne = htmlStringOne + '<a href="#1302" onClick="loadSection(1);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/02_off_44.gif" border="0" /></a>';
    }
    if (spyButtonIndex == 2){
     htmlStringOne = htmlStringOne + '<img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/03_on_44.gif" border="0" />';
      } else {
     htmlStringOne = htmlStringOne + '<a href="#1303" onClick="loadSection(2);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/03_off_44.gif" border="0" /></a>';
    }
    if(spyButtonIndex == 0){
     htmlStringOne = htmlStringOne + '<a href="#1304" onClick="loadSection(1);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/nxt_blk.gif" border="0" /></a>';
     }
     else if (spyButtonIndex == 1){
     htmlStringOne = htmlStringOne + '<a href="#1304" onClick="loadSection(2);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/nxt_blk.gif" border="0" /></a>';
     }
      else if (spyButtonIndex == 2){
     htmlStringOne = htmlStringOne + '<a href="#1304" onClick="loadSection(0);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/nxt_blk.gif" border="0" /></a>';
     }
    htmlStringOne = htmlStringOne + '</div><p class="more">';
    htmlStringOne = htmlStringOne +'<a href="/insideline/do/FeaturesIndex/subsubtypeId=227/subsubtypeName=Future%20Vehicles" onClick=" s_objectID=\'edmunds.il.medlanding.spyshots..19.*\'; setTID(\'edmunds.il.medlanding.spyshots..19.*\');" >More Spy Shots</a>';
	htmlStringOne = htmlStringOne + '</p><br clear="all" />';

	outputOne.innerHTML = htmlStringOne;
}
















var exclusivePicturesArray = new Array();
var buttonIndexExclusive;
var exclusivePictureNumber = 0;

function exclusivePictureObject(urlExclusive, linkUrlExclusive) {
	this.urlExclusive = urlExclusive;
    this.linkUrlExclusive = linkUrlExclusive;
}
function buildExclusivePictures(buttonIndexExclusive) {
	var exclusivePicObject;


	var linkUrlExclusive;
	var urlExclusive;

	

    
	linkUrlExclusive = '<a href="/insideline/do/Features/articleId=107534" onClick=" s_objectID=\'edmunds.il.medlanding.slideshows..1.*\'; setTID(\'edmunds.il.medlanding.slideshows..1.*\');" >Volvo&#039;s Overseas Delivery Program</a>';
	
	urlExclusive = '<a href="/insideline/do/Features/articleId=107534" onClick=" s_objectID=\'edmunds.il.medlanding.slideshows..1.*\'; setTID(\'edmunds.il.medlanding.slideshows..1.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/features/general/volvos.overseas.delivery.program/volvo.160.jpg " alt="Volvo&#039;s Overseas Delivery Program" width="87" height="55" border="0" /></a>';
	exclusivePicObject = new exclusivePictureObject(urlExclusive, linkUrlExclusive);
	exclusivePicturesArray[exclusivePictureNumber] = exclusivePicObject;
			exclusivePictureNumber++;

		

    
	linkUrlExclusive = '<a href="/insideline/do/Features/articleId=107085" onClick=" s_objectID=\'edmunds.il.medlanding.slideshows..2.*\'; setTID(\'edmunds.il.medlanding.slideshows..2.*\');" >Ford GT Factory Tour</a>';
	
	urlExclusive = '<a href="/insideline/do/Features/articleId=107085" onClick=" s_objectID=\'edmunds.il.medlanding.slideshows..2.*\'; setTID(\'edmunds.il.medlanding.slideshows..2.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/features/general/ford.gt.factory.tour/ford.sign.160.jpg " alt="Ford GT Factory Tour" width="87" height="55" border="0" /></a>';
	exclusivePicObject = new exclusivePictureObject(urlExclusive, linkUrlExclusive);
	exclusivePicturesArray[exclusivePictureNumber] = exclusivePicObject;
			exclusivePictureNumber++;

		

    
	linkUrlExclusive = '<a href="/insideline/do/Features/articleId=107019" onClick=" s_objectID=\'edmunds.il.medlanding.slideshows..3.*\'; setTID(\'edmunds.il.medlanding.slideshows..3.*\');" >European Touring Sedans in Their Native Lands</a>';
	
	urlExclusive = '<a href="/insideline/do/Features/articleId=107019" onClick=" s_objectID=\'edmunds.il.medlanding.slideshows..3.*\'; setTID(\'edmunds.il.medlanding.slideshows..3.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/features/driving/european.touring.sedans/05.mas.quattroporte.front.160.jpg " alt="European Touring Sedans in Their Native Lands" width="87" height="55" border="0" /></a>';
	exclusivePicObject = new exclusivePictureObject(urlExclusive, linkUrlExclusive);
	exclusivePicturesArray[exclusivePictureNumber] = exclusivePicObject;
			exclusivePictureNumber++;

		

    
	linkUrlExclusive = '<a href="/insideline/do/Features/articleId=105515" onClick=" s_objectID=\'edmunds.il.medlanding.slideshows..4.*\'; setTID(\'edmunds.il.medlanding.slideshows..4.*\');" >How to Build a Pickup</a>';
	
	urlExclusive = '<a href="/insideline/do/Features/articleId=105515" onClick=" s_objectID=\'edmunds.il.medlanding.slideshows..4.*\'; setTID(\'edmunds.il.medlanding.slideshows..4.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/features/general/nummi/nummi.160.jpg " alt="How to Build a Pickup" width="87" height="55" border="0" /></a>';
	exclusivePicObject = new exclusivePictureObject(urlExclusive, linkUrlExclusive);
	exclusivePicturesArray[exclusivePictureNumber] = exclusivePicObject;
			exclusivePictureNumber++;

		

    
	linkUrlExclusive = '<a href="/insideline/do/Features/articleId=106120" onClick=" s_objectID=\'edmunds.il.medlanding.slideshows..5.*\'; setTID(\'edmunds.il.medlanding.slideshows..5.*\');" >Is Herbie Really Fully Loaded?</a>';
	
	urlExclusive = '<a href="/insideline/do/Features/articleId=106120" onClick=" s_objectID=\'edmunds.il.medlanding.slideshows..5.*\'; setTID(\'edmunds.il.medlanding.slideshows..5.*\');"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/media/il/features/general/herbie/herbie.160.jpg " alt="Is Herbie Really Fully Loaded?" width="87" height="55" border="0" /></a>';
	exclusivePicObject = new exclusivePictureObject(urlExclusive, linkUrlExclusive);
	exclusivePicturesArray[exclusivePictureNumber] = exclusivePicObject;
			exclusivePictureNumber++;

		
		loadSectionExclusive(buttonIndexExclusive,exclusivePictureNumber);
	}
function loadSectionExclusive(buttonIndexExclusive,exclusivePictureNumber) {

    var LIST_DISPLAY_EXCLUSIVE = 2;
	var startIndexExclusive        = 0;
	var endIndexExclusive          = 0;
	var listSizeExclusive          = 0;
	var m                 = 0;
	if( buttonIndexExclusive == 0 ) {
		startIndexExclusive = 0;
		endIndexExclusive = startIndexExclusive +LIST_DISPLAY_EXCLUSIVE;
	} else if( buttonIndexExclusive == 1){
		startIndexExclusive = 3;
		endIndexExclusive = exclusivePictureNumber -1;
	}


    var outputExclusive = document.getElementById("left-slideshows");
    var htmlStringExclusive = "";
    var htmlStringExclusive = '<h3><i>Inside Line</i>-Exclusive Slideshows</h3>';
    htmlStringExclusive = htmlStringExclusive + '<ul class="gallery">';

      for(m=startIndexExclusive; m<=endIndexExclusive; m++)
    {
    htmlStringExclusive = htmlStringExclusive + '<li>';
    htmlStringExclusive = htmlStringExclusive + exclusivePicturesArray[m].urlExclusive;
    htmlStringExclusive = htmlStringExclusive + '<br />';
    htmlStringExclusive = htmlStringExclusive +  exclusivePicturesArray[m].linkUrlExclusive;
   	htmlStringExclusive = htmlStringExclusive + '</li>';
    }
    htmlStringExclusive = htmlStringExclusive + '</ul>';
    htmlStringExclusive = htmlStringExclusive + '<div class="pvf-nav">';
    if(buttonIndexExclusive == 0){
        htmlStringExclusive = htmlStringExclusive + '<a href="#1000" onClick="loadSectionExclusive(1,exclusivePictureNumber);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/prev_blk.gif" border="0" /></a>';
    }
    else if (buttonIndexExclusive == 1){
     htmlStringExclusive = htmlStringExclusive + '<a href="#1000" onClick="loadSectionExclusive(0,exclusivePictureNumber);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/prev_blk.gif" border="0" /></a>';
    }
   	if (buttonIndexExclusive == 0){
	htmlStringExclusive = htmlStringExclusive + '<img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/01_on_2a.gif" border="0" />';
    } else {
    htmlStringExclusive = htmlStringExclusive + '<a href="#1001" onClick="loadSectionExclusive(0,exclusivePictureNumber);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/01_off_2a.gif" border="0" /></a>';
    }
    if (buttonIndexExclusive == 1 ){
    htmlStringExclusive = htmlStringExclusive + '<img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/02_on_2a.gif" border="0" />';
        } else {
    htmlStringExclusive = htmlStringExclusive + '<a href="#1002" onClick="loadSectionExclusive(1,exclusivePictureNumber);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/02_off_2a.gif" border="0" /></a>';
    }
      if(buttonIndexExclusive == 0){
     htmlStringExclusive = htmlStringExclusive + '<a href="#1003" onClick="loadSectionExclusive(1,exclusivePictureNumber);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/nxt_blk.gif" border="0" /></a>';
     }
     else if (buttonIndexExclusive == 1){
     htmlStringExclusive = htmlStringExclusive + '<a href="#1003" onClick="loadSectionExclusive(0,exclusivePictureNumber);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/nxt_blk.gif" border="0" /></a>';
     }
      htmlStringExclusive = htmlStringExclusive + '</div>';

	outputExclusive.innerHTML = htmlStringExclusive;
}


 



	 











 
 var galleryPicturesArray = new Array();
 var galleryButtonIndex;
 
 var photoGalleryLink;
 var gallerypictureLink;
 var galleryCaptionLink;

   function pictureGalleryObject(photoGalleryLink,gallerypictureLink,galleryCaptionLink) {
	this.photoGalleryLink = photoGalleryLink;
	this.gallerypictureLink = gallerypictureLink;
	this.galleryCaptionLink = galleryCaptionLink;
	
  }

function buildGalleryPictures(galleryButtonIndex) {
	var picGalleryObject;
	var galleryPictureNumber = 0;



  	
  	gallerypictureLink='<a href="#" onClick="photoFlipper(\'20236083\',\'101030029\')"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/pictures/VEHICLE/2009/Mazda/2009.mazda.mazda6.20236083-E.jpg" alt="2009 Mazda MAZDA6" width="350" height="220" border="0" /></a>';
  	galleryCaptionLink = '2009 Mazda MAZDA6';
  	photoGalleryLink = '<a href="#" onClick=" stylePhotoFlipper(\'20236083\',\'101030029\')">View this Gallery</a>';
    
    
    picGalleryObject = new pictureGalleryObject(photoGalleryLink,gallerypictureLink,galleryCaptionLink);
  	galleryPicturesArray[galleryPictureNumber] = picGalleryObject;
  				galleryPictureNumber++;
    
        
    			

  	
  	gallerypictureLink='<a href="#" onClick="photoFlipper(\'20126746\',\'100895739\')"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/pictures/VEHICLE/2008/Volvo/2008.volvo.v50.20126746-E.jpg" alt="2008 Volvo V50" width="350" height="220" border="0" /></a>';
  	galleryCaptionLink = '2008 Volvo V50';
  	photoGalleryLink = '<a href="#" onClick=" stylePhotoFlipper(\'20126746\',\'100895739\')">View this Gallery</a>';
    
    
    picGalleryObject = new pictureGalleryObject(photoGalleryLink,gallerypictureLink,galleryCaptionLink);
  	galleryPicturesArray[galleryPictureNumber] = picGalleryObject;
  				galleryPictureNumber++;
    
        
    			

  	
  	gallerypictureLink='<a href="#" onClick="photoFlipper(\'20118578\',\'101001824\')"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/pictures/VEHICLE/2008/Nissan/2008.nissan.armada.20118578-E.jpg" alt="2009 Nissan Armada" width="350" height="220" border="0" /></a>';
  	galleryCaptionLink = '2009 Nissan Armada';
  	photoGalleryLink = '<a href="#" onClick=" stylePhotoFlipper(\'20118578\',\'101001824\')">View this Gallery</a>';
    
    
    picGalleryObject = new pictureGalleryObject(photoGalleryLink,gallerypictureLink,galleryCaptionLink);
  	galleryPicturesArray[galleryPictureNumber] = picGalleryObject;
  				galleryPictureNumber++;
    
        
    			

  	
  	gallerypictureLink='<a href="#" onClick="photoFlipper(\'20225507\',\'100994560\')"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/pictures/VEHICLE/2008/BMW/2008.bmw.1 series.20225507-E.jpg" alt="2008 BMW 1 Series" width="350" height="220" border="0" /></a>';
  	galleryCaptionLink = '2008 BMW 1 Series';
  	photoGalleryLink = '<a href="#" onClick=" stylePhotoFlipper(\'20225507\',\'100994560\')">View this Gallery</a>';
    
    
    picGalleryObject = new pictureGalleryObject(photoGalleryLink,gallerypictureLink,galleryCaptionLink);
  	galleryPicturesArray[galleryPictureNumber] = picGalleryObject;
  				galleryPictureNumber++;
    
        
    			

  	
  	gallerypictureLink='<a href="#" onClick="photoFlipper(\'20232597\',\'101006925\')"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/pictures/VEHICLE/2009/Honda/2009.honda.pilot.20232597-E.jpg" alt="2009 Honda Pilot" width="350" height="220" border="0" /></a>';
  	galleryCaptionLink = '2009 Honda Pilot';
  	photoGalleryLink = '<a href="#" onClick=" stylePhotoFlipper(\'20232597\',\'101006925\')">View this Gallery</a>';
    
    
    picGalleryObject = new pictureGalleryObject(photoGalleryLink,gallerypictureLink,galleryCaptionLink);
  	galleryPicturesArray[galleryPictureNumber] = picGalleryObject;
  				galleryPictureNumber++;
    
        
    			

		loadSectionGallery(galleryButtonIndex);

	}
	

function loadSectionGallery(galleryButtonIndex) {
        
	var startIndexPhoto        = 0;
	var endIndexPhoto          = 0;
 	var k                 = 0;
 	
	if( galleryButtonIndex == 0 ) {
		startIndexPhoto = 0;
	} else if( galleryButtonIndex == 1){
		startIndexPhoto = 1;
	} else if (galleryButtonIndex == 2){
	    startIndexPhoto = 2;
	}
	else if (galleryButtonIndex == 3){
	    startIndexPhoto = 3;
	
	} else if (galleryButtonIndex == 4){
	    startIndexPhoto = 4;
	}
		
	endIndexPhoto = startIndexPhoto;

    var output = document.getElementById("pgfeatured");
    var htmlString = "";
  
      for(k=startIndexPhoto; k<=endIndexPhoto; k++)
    {

   	htmlString = htmlString + '<p class="pg-vehicleimg">';
    htmlString = htmlString + galleryPicturesArray[k].gallerypictureLink;
    htmlString = htmlString + '</p><p class="pg-vehiclename">';
    
    htmlString = htmlString + galleryPicturesArray[k].galleryCaptionLink;
    htmlString = htmlString + '</p>';
        
    htmlString = htmlString + '<p class="pg-vehiclelink">';
   
    htmlString = htmlString + galleryPicturesArray[k].photoGalleryLink;
    
    htmlString = htmlString + '</p>';
    }
    
    htmlString = htmlString + '<div class="pvf-nav">';
    if(galleryButtonIndex == 0){
                                                                                                                         
     htmlString = htmlString + '<a href="#1100" onClick="loadSectionGallery(4);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/prev_blk.gif" border="0" /></a>';
    }
    else if (galleryButtonIndex == 1){

     htmlString = htmlString + '<a href="#1100" onClick="loadSectionGallery(0);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/prev_blk.gif" border="0" /></a>';
    }
      else if (galleryButtonIndex == 2){
     htmlString = htmlString + '<a href="#1100" onClick="loadSectionGallery(1);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/prev_blk.gif" border="0" /></a>';
    }
    
     else if (galleryButtonIndex == 3){
     htmlString = htmlString + '<a href="#1100" onClick="loadSectionGallery(2);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/prev_blk.gif" border="0" /></a>';
    }
    
     else if (galleryButtonIndex == 4){
     htmlString = htmlString + '<a href="#1100" onClick="loadSectionGallery(3);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/prev_blk.gif" border="0" /></a>';
    }
	if (galleryButtonIndex == 0){
	htmlString = htmlString + '<img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/01_on_blk.gif" border="0" />';
    } else {
    htmlString = htmlString + '<a href="#1101" onClick="loadSectionGallery(0);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/01_off_blk.gif" border="0" /></a>';
    }
    if (galleryButtonIndex == 1 ){
    htmlString = htmlString + '<img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/02_on_blk.gif" border="0" />';
        } else {
    htmlString = htmlString + '<a href="#1102" onClick="loadSectionGallery(1);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/02_off_blk.gif" border="0" /></a>';
    }
    if (galleryButtonIndex == 2){
     htmlString = htmlString + '<img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/03_on_blk.gif" border="0" />';
      } else {
     htmlString = htmlString + '<a href="#1103" onClick="loadSectionGallery(2);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/03_off_blk.gif" border="0" /></a>';
    }
    if (galleryButtonIndex == 3){
     htmlString = htmlString + '<img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/04_on_blk.gif" border="0" />';
      } else {
     htmlString = htmlString + '<a href="#1104" onClick="loadSectionGallery(3);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/04_off_blk.gif" border="0" /></a>';
    }
    if (galleryButtonIndex == 4){
     htmlString = htmlString + '<img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/05_on_blk.gif" border="0" />';
      } else {
     htmlString = htmlString + '<a href="#1105" onClick="loadSectionGallery(4);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/05_off_blk.gif" border="0" /></a>';
    }
    if(galleryButtonIndex == 0){
     htmlString = htmlString + '<a href="#1106" onClick="loadSectionGallery(1);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/nxt_blk.gif" border="0" /></a>';
     }
     else if (galleryButtonIndex == 1){
     htmlString = htmlString + '<a href="#1106" onClick="loadSectionGallery(2);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/nxt_blk.gif" border="0" /></a>';
     }
      else if (galleryButtonIndex == 2){
     htmlString = htmlString + '<a href="#1106" onClick="loadSectionGallery(3);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/nxt_blk.gif" border="0" /></a>';
     }
      else if (galleryButtonIndex == 3){
     htmlString = htmlString + '<a href="#1106" onClick="loadSectionGallery(4);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/nxt_blk.gif" border="0" /></a>';
     }
      else if (galleryButtonIndex == 4){
     htmlString = htmlString + '<a href="#1106" onClick="loadSectionGallery(0);"><img src="http://a332.g.akamai.net/f/332/936/12h/www.edmunds.com/il/media/landingpages/multimedia/nxt_blk.gif" border="0" /></a>';
     }
    htmlString = htmlString + '</div>';

	output.innerHTML = htmlString;
}



<!-- (JSP_END) /InsideLine/InsideLineWeb/WebRoot/scripts/multimediajs.jsp -->
