var mqAry1 = [
'/Home/images/I-A&E.gif',
'/Home/images/I-APL.gif',
'/Home/images/I-CNN.gif',
'/Home/images/I-DISC.gif',
'/Home/images/I-DISW.gif',
'/Home/images/I-FOOD.gif',
'/Home/images/I-HBO-E.gif',
'/Home/images/I-HIST.gif',
'/Home/images/I-NFL.gif',
'/Home/images/I-NTGEO.gif',
'/Home/images/I-ABCFM.gif',
'/Home/images/I-TBS.gif',
'/Home/images/I-CNBC.gif',
'/Home/images/I-dish.gif',
'/Home/images/I-ESPN.gif',
'/Home/images/I-FXNWS.gif',
'/Home/images/I-HGTV.gif',
'/Home/images/I-MTV.gif',
'/Home/images/I-NHLN.gif',
'/Home/images/I-OWN.gif',
'/Home/images/I-TLC.gif',
'/Home/images/I-A&E.gif',
'/Home/images/I-APL.gif',
'/Home/images/I-CNN.gif',
'/Home/images/I-DISC.gif',
'/Home/images/I-DISW.gif',
'/Home/images/I-FOOD.gif',
'/Home/images/I-HBO-E.gif',
'/Home/images/I-HIST.gif',
'/Home/images/I-NFL.gif',
'/Home/images/I-NTGEO.gif',
'/Home/images/I-ABCFM.gif',
'/Home/images/I-TBS.gif',
'/Home/images/I-CNBC.gif',
'/Home/images/I-dish.gif',
'/Home/images/I-ESPN.gif',
'/Home/images/I-FXNWS.gif',
'/Home/images/I-HGTV.gif',
'/Home/images/I-MTV.gif',
'/Home/images/I-NHLN.gif',
'/Home/images/I-OWN.gif',
'/Home/images/I-TLC.gif', ];

function start() {
   new mq('m1',mqAry1);
   //new mq('m2',mqAry2,60);// repeat for as many fields as required
   mqRotate(mqr); // must come last
}
//window.onload = start;

// Continuous Image Vertical Scroller
// copyright 23rd June 2010 by Stephen Chapman
// http://javascript.about.com
// permission to use this Javascript on your web page is granted
// provided that all of the code below in this script (including these
// comments) is used without any alteration
//var mqr=[];function mq(id,ary,heit){this.mqo=document.getElementById(id);var wid=this.mqo.style.width; 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.top = (heit*i)+'px'; this.mqo.ary[i].style.height = heit+'px'; this.mqo.ary[i].style.width = wid; 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.top=(parseInt(x.top,10)-1)+'px';} var y = mqr[j].ary[0].style; if (parseInt(y.top,10)+parseInt(y.height,10)<0) {var z = mqr[j].ary.shift(); z.style.top = (parseInt(z.style.top) + parseInt(z.style.height)*maxa) + 'px'; mqr[j].ary.push(z);}} mqr[0].TO=setTimeout('mqRotate(mqr)',10);}
var mqr = [];

    var offsetS = 15;

function mq(id, ary) {

    var wid = 60;
    var heit = 30;


this.mqo = document.getElementById(id); 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.top = ((heit + offsetS) * i) + 'px'; this.mqo.ary[i].style.height = heit + 'px';
        this.mqo.ary[i].style.width = wid + 'px'; 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.top = (parseInt(x.top, 10) - 1) + 'px'; } var y = mqr[j].ary[0].style;
        if (parseInt(y.top, 10) + parseInt(y.height, 10) < 0) { var z = mqr[j].ary.shift(); z.style.top = (parseInt(z.style.top) + (parseInt(z.style.height) + offsetS) * (maxa)) + 'px'; mqr[j].ary.push(z); } 
    } mqr[0].TO = setTimeout('mqRotate(mqr)', 30);
}

