// Javascript Document
mqAry1=['http://horecasupply.com/imgs/brandlogos/acquapanna.png', 'http://horecasupply.com/imgs/brandlogos/alcisa.png', 'http://horecasupply.com/imgs/brandlogos/blackthorn.png', 'http://horecasupply.com/imgs/brandlogos/chateauvendome.png', 'http://horecasupply.com/imgs/brandlogos/divella.png', 'http://horecasupply.com/imgs/brandlogos/ellevire.png', 'http://horecasupply.com/imgs/brandlogos/erdinger.png', 'http://horecasupply.com/imgs/brandlogos/guinness.png', 'http://horecasupply.com/imgs/brandlogos/hengstenberg.png', 'http://horecasupply.com/imgs/brandlogos/hoegaarden.png', 'http://horecasupply.com/imgs/brandlogos/kookaburra.png', 'http://horecasupply.com/imgs/brandlogos/lavazza.png', 'http://horecasupply.com/imgs/brandlogos/leffe.png', 'http://horecasupply.com/imgs/brandlogos/magnolia.png', 'http://horecasupply.com/imgs/brandlogos/mccain.png', 'http://horecasupply.com/imgs/brandlogos/monsoonvalley.png', 'http://horecasupply.com/imgs/brandlogos/montclair.png', 'http://horecasupply.com/imgs/brandlogos/oldeenglish.png', 'http://horecasupply.com/imgs/brandlogos/petervella.png', 'http://horecasupply.com/imgs/brandlogos/spellegrino.png', 'http://horecasupply.com/imgs/brandlogos/stellaartois.png', 'http://horecasupply.com/imgs/brandlogos/ticinella.png', 'http://horecasupply.com/imgs/brandlogos/unioliva.png', 'http://horecasupply.com/imgs/brandlogos/warsteiner.png', 'http://horecasupply.com/imgs/brandlogos/weihenstephan.png']; function start() { new mq('m1',mqAry1,100); mqRotate(mqr); } window.onload = start; var mqr = []; function mq(id,ary,wid){this.mqo=document.getElementById(id); var heit = this.mqo.style.height; this.mqo.onmouseout=function() {mqRotate(mqr);}; this.mqo.onmouseover=function() {clearTimeout(mqr[0].TO);}; this.mqo.ary=[]; var maxw = ary.length; for (var i=0;i<maxw;i++){this.mqo.ary[i]=document.createElement('img'); this.mqo.ary[i].src=ary[i]; this.mqo.ary[i].style.position = 'absolute'; this.mqo.ary[i].style.left = (wid*i)+'px'; this.mqo.ary[i].style.width = wid+'px'; this.mqo.ary[i].style.height = heit; this.mqo.appendChild(this.mqo.ary[i]);} mqr.push(this.mqo);} function mqRotate(mqr){if (!mqr) return; for (var j=mqr.length - 1; j > -1; j--) {maxa = mqr[j].ary.length; for (var i=0;i<maxa;i++){var x = mqr[j].ary[i].style;  x.left=(parseInt(x.left,10)-1)+'px';} var y = mqr[j].ary[0].style; if (parseInt(y.left,10)+parseInt(y.width,10)<0) {var z = mqr[j].ary.shift(); z.style.left = (parseInt(z.style.left) + parseInt(z.style.width)*maxa) + 'px'; mqr[j].ary.push(z);}} mqr[0].TO=setTimeout('mqRotate(mqr)',30);}