//<![CDATA[
tImgPath 			= "/Banniere/";
tItems				= new Array();

// --- Die News Elemente
tItems.push('<a href="http://ztele.com" style="text-decoration:none"><img src="' + tImgPath +  'ztele_hd.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.argent.canoe.com/" style="text-decoration:none"><img src="' + tImgPath +  'argent.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.discoverychannel.ca/" style="text-decoration:none"><img src="' + tImgPath +  'discovery.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.canalvie.com/" style="text-decoration:none"><img src="' + tImgPath +  'canalvie_hd.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.thefightnetwork.com/" style="text-decoration:none"><img src="' + tImgPath +  'fight1.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.prise2.canoe.com" style="text-decoration:none"><img src="' + tImgPath +  'prise2n.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.rds.ca" style="text-decoration:none"><img src="' + tImgPath +  'rds_hd.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.seriesplus.com" style="text-decoration:none"><img src="' + tImgPath +  'series_hd.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://publicite.radio-canada.ca/A2007/VFran/02_Radio-Canada/Infos_HD/services_hd.asp" style="text-decoration:none"><img src="' + tImgPath +  'src_hd.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.superecran.com/SEHD/" style="text-decoration:none"><img src="' + tImgPath +  'superecran_hd.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.yoopa.ca/" style="text-decoration:none"><img src="' + tImgPath +  'yoopa.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.wildtv.ca" style="text-decoration:none"><img src="' + tImgPath +  'wildtv.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.radio-canada.ca" style="text-decoration:none"><img src="' + tImgPath +  'superecran_hd.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.arttv.ca" style="text-decoration:none"><img src="' + tImgPath +  'wildtv.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.cinepop.ca/" style="text-decoration:none"><img src="' + tImgPath +  'cinepop.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://tvasports.ca/" style="text-decoration:none"><img src="' + tImgPath +  'tvasports.gif" alt="" style="border:0" /></a>');
tItems.push('<a href="http://www.teletoon.com/teletoon3/retro.php?language=Fr" style="text-decoration:none"><img src="' + tImgPath +  'teletoon_retro.gif" alt="" style="border:0" /></a>');

// --- Espace entre les images
tDelimiter  =' &nbsp; ';

// --- Interval en ms
tInterval   		= 30;

// --- Arrete si la souris survole le menu
tStop       		= true;

// --- Nombre de fois qu'il passe a la suite..minimum:1
tRepeat     		= 3;

// --- Bordure
tBorder     		= '0';

// --- Largeur
tWidth      		= 218;

// --- Hauteur
tHeight     		= 80;

//--- Abstand des Inhalts(#ticker) zum Rahmen(#marquee), ist absolut posinioniert. 
tXY    				= 'left:0;top:5px;';

//--- Hintergrundfarbe
tBackgroundColor	= '#FFFFFFF';

// --- Linkziele des Tickers im neuen Fenster öffnen?
tLinkNewWin			= true;

function tSetTarget( obj ) {
	obj.setAttribute( 'target', '_blank' );
}

function tBlurMe() { this.blur(); }

/*
 * DER TICKER
 *
 */
IE  = document.all&&!window.opera;
DOM = document.getElementById&&!IE;

if( DOM || IE ) {
    var tGo,
	tPos  = 0,
	tStop = tStop?'onmouseover="clearInterval(tGo)"'+ 'onmouseout="tGo=setInterval(\'tTicken()\','+tInterval+')"':'',
	tTxt  = tDelimiter+tItems.join(tDelimiter),
	tItems = tTxt;
	
	for( i = 1; i < tRepeat; ++i ) {
		tItems+=tTxt;
	}
	  
	document.write( '<div id="marquee" style="position:relative;overflow:hidden;border:' + tBorder +
					';width:' + tWidth + 'px;height:' + tHeight + 'px;' + 'background:' + tBackgroundColor + ';">' +
					'<div style="position:absolute;' + tXY + 'width:' + tWidth + 'px;height:' + tHeight + 'px;'+
					'overflow:hidden;clip:rect(0px '+tWidth+'px '+tHeight+'px 0px)">'+
					'<span id="ticker" style="color:#fff; white-space:nowrap;position:relative;"' + tStop + '>' + tItems + 
					'</span></div></div>' );
	
	tObj = IE ? document.all.ticker : document.getElementById( 'ticker' );
    
	if ( tLinkNewWin ) {
		
			aTicker = ticker.getElementsByTagName( "a" );
			for( i=0; i < aTicker.length; i++ )	{
				aTicker[i].onfocus = tBlurMe;
				tSetTarget( aTicker[i] );
				
		}
	}

	function tTicken() {
        tOffset = tObj.offsetWidth/tRepeat;
        if( Math.abs( tPos ) > tOffset ) {
            tPos = 0;
        }
        tObj.style.left = tPos + 'px';
        tPos = parseInt( tPos ) - 1;
    }
		
}

//]]
