//<![CDATA[

tImgPath 			= "http://www.ttc-neuhausen.ch/ttcneuha/templates/trueblue/images/";

tItems				= new Array();

// --- Die News Elemente
tItems.push('<a href="http://www.hirslanden.ch/de/klinikenzentren/institute/klinik.cfm?&ClinicID=21" style="text-decoration:none"><img src="' + tImgPath +  'hirslanden_klinik_belair.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.gasthaus-adler.ch/" style="text-decoration:none"><img src="' + tImgPath +  'adler.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.sig.ch/" style="text-decoration:none"><img src="' + tImgPath +  'sig.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.habluetzel-chies.ch/" style="text-decoration:none"><img src="' + tImgPath +  'habl.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.shkb.ch/" style="text-decoration:none"><img src="' + tImgPath +  'shkb.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.hair-design-niggli.ch/" style="text-decoration:none"><img src="' + tImgPath +  'niggli.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.cilag.ch/" style="text-decoration:none"><img src="' + tImgPath +  'cilag.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.rsfolienschriften.ch//" style="text-decoration:none"><img src="' + tImgPath +  'rs.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.immobag.ch" style="text-decoration:none"><img src="' + tImgPath +  'graf.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.hotel-hohberg.ch" style="text-decoration:none"><img src="' + tImgPath +  'hohberg.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.http://www.kebo.com" style="text-decoration:none"><img src="' + tImgPath +  'kebo.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.findar.ch" style="text-decoration:none"><img src="' + tImgPath +  'findar.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.shpower.ch/" style="text-decoration:none"><img src="' + tImgPath +  'stwerke_v2.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.impulsdrogerie.com/" style="text-decoration:none"><img src="' + tImgPath +  'impuls.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.falken.ch/" style="text-decoration:none"><img src="' + tImgPath +  'falken.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.vaudoise.ch/" style="text-decoration:none"><img src="' + tImgPath +  'vaudoise.gif" alt="" style="border:"0" /></a>');

tItems.push('<a href="http://www.sasag.ch/" style="text-decoration:none"><img src="' + tImgPath +  'sasag.gif" alt="" style="border:"0" /></a>');

tItems.push('<a href="http://www.schuetzenhaus.ch/" style="text-decoration:none"><img src="' + tImgPath +  'schuetz.gif" alt="" style="border:"0" /></a>');

tItems.push('<a href="http://www.ritterimmobilien.ch" style="text-decoration:none"><img src="' + tImgPath +  'ritter.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.scheffmacher.ch/" style="text-decoration:none"><img src="' + tImgPath +  'scheff.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.iseli-albrecht.ch/" style="text-decoration:none"><img src="' + tImgPath +  'iseli.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.google.ch/" style="text-decoration:none"><img src="' + tImgPath +  'volkshaus.gif" alt="" style="border:"0" /></a>');

tItems.push('<a href="http://www.schaffhausen.ch/pages/firmenportrait.asp?rio=sh&f_id=1197&shop=&b_id=&bu=&su=sauter" style="text-decoration:none"><img src="' + tImgPath +  'sauter.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.kinepolis.com/" style="text-decoration:none"><img src="' + tImgPath +  'kin.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.druckwerk-sh.ch/" style="text-decoration:none"><img src="' + tImgPath +  'druckwerk.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.shn.ch" style="text-decoration:none"><img src="' + tImgPath +  'shn.gif" alt="" style="border:0" /></a>');

tItems.push('<a href="http://www.graedeldesign.com/" style="text-decoration:none"><img src="' + tImgPath +  'graedeldesign.gif" alt="" style="border:0" /></a>');



// --- Delimiter zwischen den einzelnen News

tDelimiter  =' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ';



// --- Interval in ms

tInterval   		= 12;



// --- Stop bei mouseover?true:false

tStop       		= true;



// --- Falls Leeraum zwischen Items...hier Wert erhoehen...minimum:1

tRepeat     		= 2;



// --- Rahmen

tBorder     		= '0';



// --- Breite

tWidth      		= 950;



// --- Höhe

tHeight     		= 60;



//--- Abstand des Inhalts(#ticker) zum Rahmen(#marquee), ist absolut posinioniert. 

tXY    				= 'left:0;top:15px;';



//--- Hintergrundfarbe

tBackgroundColor	= '#ffffff';



// --- 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 ) {

		if ( ticker = document.getElementById( "ticker" ) ) {

			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;

    }

		



}

//]]
