
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=1&prod=46">Terios - Including the £2000 Daihatsu scrappage scheme allowance the Terios is available from £10,725.00</a>'

tickercontent[3]='&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[4]='&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[5]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=118">Proton Savvy Style - £3,925.00</a>'

tickercontent[6]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=4&prod=176">2007 07 Reg DAIHATSU Materia 1.5 - WAS £7650 SAVE £1275 NOW ONLY £6,375.00</a>'

tickercontent[7]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=2&prod=252">Ecologic - Up to £750 deposit allowance £9,995.00</a>'

tickercontent[8]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=2&prod=253">Gen2 - Save £500 on list price! Now only £8,445.00</a>'

tickercontent[9]='&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[10]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=4&prod=82">Daihatsu Charade - £4,300.00</a>'

tickercontent[11]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=269"> 2002 AUDI TT 1.8 T Quattro  - WAS £9750 SAVE £1775 NOW £7,975.00</a>'

tickercontent[12]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=277">2005 FORD Ka 1.3i Design - WAS £3975 SAVE £1175 NOW £2,800.00</a>'

tickercontent[13]='&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[14]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=288">2006 PROTON Gen-2 1.6 GLS - £3,975.00</a>'

tickercontent[15]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=290">2005 FIAT Punto 1.2 Active  - WAS £3575 SAVE £300 NOW ONLY £3,275.00</a>'

tickercontent[16]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=291">2006 FIAT Grande Punto 1.4 Active Sport  - WAS £5525 SAVE £550 NOW £4,975.00</a>'

tickercontent[17]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=301">2004 VAUXHALL Meriva 1.6 8v Life - £3,800.00</a>'

tickercontent[18]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=4&prod=302">2008 PROTON Gen-2 1.6 GSX  - £7,975.00</a>'

tickercontent[19]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=303">2007 DAIHATSU Sirion 1.0 S  - £4,975.00</a>'

tickercontent[20]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=312">2006 FORD Focus 1.6 TDCi LX  - £6,000.00</a>'

tickercontent[21]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=313">2006 TOYOTA Corolla 1.6 VVT-i Colour Collection  - £6,000.00</a>'

tickercontent[22]='&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[23]='&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[24]='&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[25]='&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[26]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=284">2005 VAUXHALL Astra 1.7 CDTi 16v Club  - £5,975.00</a>'

tickercontent[27]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=294">2002 MERCEDES-BENZ C220 CDI Elegance - £5,975.00</a>'

tickercontent[28]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=295">2004 PROTON Satria 1.5 Lxi Sport  - £2,975.00</a>'

tickercontent[29]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=298">2008 DAIHATSU Terios 1.5 SX  - £10,775.00</a>'

tickercontent[30]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=305">2003 HONDA CIVIC 2.0 I-VTEC TYPE-S 5DR  - £4,975.00</a>'

tickercontent[31]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=308">PROTON Gen-2 1.3 GLS LE  - £4,000.00</a>'

tickercontent[32]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=4&prod=309">PROTON Gen-2 1.6 ecoLogic  - £8,000.00</a>'

tickercontent[33]='&nbsp;&nbsp;&nbsp;<a href="product.asp?cat=7&prod=310">PROTON Gen-2 1.6 ecoLogic - £8,000.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])
}
