
var tickercontent=new Array()
tickercontent[0]='&nbsp;&nbsp;&nbsp;<a href="category.asp?area=newvehicles">Click here to view our range of new vehicles</a>'
tickercontent[1]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=4&prod=33">Daihatsu Sirion 1.3 SE - £5,250.00</a>'

tickercontent[2]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=185">PROTON Gen-2 1.6 GLS - £3,725.00</a>'

tickercontent[3]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=1&prod=46">Terios - Including the £2000 Daihatsu scrappage scheme allowance the Terios is available from £10,725.00</a>'

tickercontent[4]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=1&prod=47">Sirion - Including the £2000 Daihatsu scrappage scheme allowance the Sirion is available from £6,320.00</a>'

tickercontent[5]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=1&prod=103">Materia - Including the £2000 Daihatsu scrappage scheme allowance the Materia is available from £8,770.00</a>'

tickercontent[6]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=118">Proton Savvy Style - £3,925.00</a>'

tickercontent[7]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=4&prod=176">2007 07 Reg DAIHATSU Materia 1.5 - £7,650.00</a>'

tickercontent[8]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=2&prod=252">Ecologic - Including the £2000 Proton scrappage scheme allowance the Gen2 Ecologic is now available from £7,995.00</a>'

tickercontent[9]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=2&prod=253">Gen2 - Including the £2000 Proton scrappage scheme allowance the Gen2 is now available from £6,995.00</a>'

tickercontent[10]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=255">2006 06 Reg NISSAN Note 1.4 SE - WAS £6475 SAVE £1000 NOW £5,475.00</a>'

tickercontent[11]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=263">2003 03 Reg HONDA Civic 2.0 i-VTEC Type-S - £4,975.00</a>'

tickercontent[12]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=264">2006 56 Reg HONDA Jazz 1.4 i-DSi SE CVT-7 - WAS £7925 SAVE £1000 NOW £6,925.00</a>'

tickercontent[13]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=1&prod=74">Copen - Including the £2000 Daihatsu scrappage scheme allowance the Copen is available from £9,745.00</a>'

tickercontent[14]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=4&prod=82">Daihatsu Charade - £4,300.00</a>'

tickercontent[15]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=4&prod=83">Proton Satria Neo GSX - £5,575.00</a>'

tickercontent[16]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=8&prod=200">MITSUBISHI L200 Double Cab TD GL 4WD 113Bhp - PRICE PLUS VAT £3,995.00</a>'

tickercontent[17]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=2&prod=258">Satria - Including the £2000 Proton scrappage scheme allowance the Satria is now available from £6,995.00</a>'

tickercontent[18]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=8&prod=266">2003 53 Reg MERCEDES-BENZ Sprinter 3.5t High Roof Van - Excl VAT £3,995.00</a>'

tickercontent[19]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=8&prod=268">Ford Transit T300 - Excl VAT £2,995.00</a>'

tickercontent[20]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=269"> 2002 AUDI TT 1.8 T Quattro  - £9,750.00</a>'

tickercontent[21]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=270"> 2003 FIAT Punto 1.2 Active - £2,975.00</a>'

tickercontent[22]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=272"> 2006 VAUXHALL Astra 1.4i 16v Active - £6,750.00</a>'

tickercontent[23]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=273">2007 57 Reg VAUXHALL Corsa 1.2i 16V SXi - SALE!! WAS £7525 NOW  £6,775.00</a>'

tickercontent[24]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=275">2002 TOYOTA Yaris 1.0 16v VVTi GLS - £3,625.00</a>'

tickercontent[25]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=276">2007 FIAT Bravo 1.4 Active - £6,975.00</a>'

tickercontent[26]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=277">2005 FORD Ka 1.3i Design - £3,975.00</a>'

tickercontent[27]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=5&prod=278">0% Finance on Selected GEN-2 and Satria Neo Models - From £9,315.00</a>'

tickercontent[28]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=283">2006 FIAT Grande Punto 1.4 Active Sport  - £5,525.00</a>'

tickercontent[29]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=2&prod=232">Savvy - Including the £2000 Proton scrappage scheme allowance the Savvy is now available from £5,995.00</a>'

tickercontent[30]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=5&prod=279">0% Finance and 5 Year Warranty on GEN-2 SE - From £11,995.00</a>'

tickercontent[31]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=5&prod=280">GEN-2 1.6 GSX now available with FREE leather - From £10,995.00</a>'

tickercontent[32]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=5&prod=281">Free leather on the 1.6 GSX ecoLogic - From £10,995.00</a>'

tickercontent[33]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=282">2006 FORD Fiesta 1.25 Freedom  - £6,250.00</a>'

tickercontent[34]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=284">2005 VAUXHALL Astra 1.7 CDTi 16v Club  - £5,975.00</a>'

tickercontent[35]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=285">2006 PEUGEOT 207 1.4 S - £6,525.00</a>'


/***********************************************
* DHTML Ticker script- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

function domticker(content, divId, divClass, delay, fadeornot){
this.content=content
this.tickerid=divId //ID of master ticker div. Message is contained inside first child of ticker div
this.delay=delay //Delay between msg change, in miliseconds.
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over ticker (and pause it if it is)
this.pointer=1
this.opacitystring=(typeof fadeornot!="undefined")? "width: 100%; filter:progid:DXImageTransform.Microsoft.alpha(opacity=100); -moz-opacity: 1" : ""
if (this.opacitystring!="") this.delay+=500 //add 1/2 sec to account for fade effect, if enabled
this.opacitysetting=0.2 //Opacity value when reset. Internal use.
document.write('<div id="'+divId+'" class="'+divClass+'"><div style="'+this.opacitystring+'">'+content[0]+'</div></div>')
var instanceOfTicker=this
setTimeout(function(){instanceOfTicker.initialize()}, delay)
}

domticker.prototype.initialize=function(){
var instanceOfTicker=this
this.contentdiv=document.getElementById(this.tickerid).firstChild //div of inner content that holds the messages
document.getElementById(this.tickerid).onmouseover=function(){instanceOfTicker.mouseoverBol=1}
document.getElementById(this.tickerid).onmouseout=function(){instanceOfTicker.mouseoverBol=0}
this.rotatemsg()
}

domticker.prototype.rotatemsg=function(){
var instanceOfTicker=this
if (this.mouseoverBol==1) //if mouse is currently over ticker, do nothing (pause it)
setTimeout(function(){instanceOfTicker.rotatemsg()}, 100)
else{
this.fadetransition("reset") //FADE EFFECT- RESET OPACITY
this.contentdiv.innerHTML=this.content[this.pointer]
this.fadetimer1=setInterval(function(){instanceOfTicker.fadetransition('up', 'fadetimer1')}, 100) //FADE EFFECT- PLAY IT
this.pointer=(this.pointer<this.content.length-1)? this.pointer+1 : 0
setTimeout(function(){instanceOfTicker.rotatemsg()}, this.delay) //update container
}
}

// -------------------------------------------------------------------
// fadetransition()- cross browser fade method for IE5.5+ and Mozilla/Firefox
// -------------------------------------------------------------------

domticker.prototype.fadetransition=function(fadetype, timerid){
var contentdiv=this.contentdiv
if (fadetype=="reset")
this.opacitysetting=0.2
if (contentdiv.filters && contentdiv.filters[0]){
if (typeof contentdiv.filters[0].opacity=="number") //IE6+
contentdiv.filters[0].opacity=this.opacitysetting*100
else //IE 5.5
contentdiv.style.filter="alpha(opacity="+this.opacitysetting*100+")"
}
else if (typeof contentdiv.style.MozOpacity!="undefined" && this.opacitystring!=""){
contentdiv.style.MozOpacity=this.opacitysetting
}
else
this.opacitysetting=1
if (fadetype=="up")
this.opacitysetting+=0.2
if (fadetype=="up" && this.opacitysetting>=1)
clearInterval(this[timerid])
}
