﻿/*
<script language="JavaScript1.2">

Cross browser Marquee script- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/

//Specify the marquee's width (in pixels)
var marqueewidth="515px"
//Specify the marquee's height
var marqueeheight="20px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=2
//configure background color:
var marqueebgcolor=""
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1




//Hier den Inhalt für den Newsticker eingeben, <nobr> nicht löschen)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):
//Weihnachts und Silvesterticker nicht löschen

var marqueecontent='<nobr><font face="Arial" size="2.5em" color="" style="bold"><strong></strong>Fröhliche Weihnachten und ein gutes neues Jahr! + Merry Christmas and a Happy New Year! + Joyeux Noël et bonne année! + Buon Natale e Felice Anno Nuovo! + Feliz Natal e um próspero Ano Novo! + Веселого Рождества и счастливого Нового Года! + Новым Годом и Рождеством! + Feliz navidad y próspero año nuevo! + Wesołych Świąt i szczęśliwego nowego roku! + Kellemes karácsonyi ünnepeket és boldog új évet! + Prettig Kerstfeest en een gelukkig nieuwjaar! + Crăciun Fericit şi un An Nou Fericit! + Mutlu Noeller ve Mutlu Yıllar! + God Jul och ett Gott Nytt År! + Hyvää joulua ja onnellista uutta vuotta! + God Jul og Godt Nytt År! + Veselé vianoce a Štastný nový rok! + Čestit Božić i sretna Nova godina! + Καλά Χριστούγεννα κι ευτυχισμένος ο καινούργιος χρόνος + Veselé Vánoce a Šťastný Nový rok! + Glædelig jul og godt nytår! + Feliĉan kristnaskon kaj prosperan novjaron! + Gajan kristnaskon kaj bonan novjaron! + Vesel božič in Srečno novo leto! + Bon Nadal i Feliç Any Nou! + Srećan Božić i Nova Godina! + häid jõule ja head uut aastat! + Linksmų Kalėdų ir laimingų Naujųjų Metų + souksaan wan Christmas sawatdii pimaï + Весела Коледа и Щастлива Нова година! + Feliz Natal e um Próspero Ano Novo! + Natale hilare et annum faustum! + Gleðileg Jól og farsælt nýtt ár! + Geseënde Kersfees en n gelukkige nuwe jaar! + Gledhilig Jol og eydnurikt nyggjar! + Rojî daykbûnî Hezret Îsa pîroz û Cejnî Salî Nwê pîroz bê + Среќен Божик и среќна Нова година + Priecīgus Ziemassvētkus un laimīgu Jauno Gadu! + Selamat Hari Natal dan Tahun Baru! + Веселого Різдва і з Новим роком ; Христос рождається / родився! З Новим роком! + Танд кристмас ба шинэ жилийн мэнд хүргэе! + Selamat Hari Natal and Selamat Tahun Baru! + Maligayang pasko at manigong bagong taon! + Zorionak eta urte berri on! + Nedeleg laouen ha bloavez mad! + Noflike Krystdagen en folle lok en seine! + </font></nobr>'

//var marqueecontent='<nobr><font face="Arial" size="2.5em" color="" style="bold"><a href="../projekte/WBGS/de.php" target="_self">+ + +     <strong></strong>Beim EU-weit ausgeschriebenen Verfahren für den Um- und Zubau zum Bundesgymnasium Seekirchen haben <strong>Wimmer Zaic Architekten</strong> unter 61 Projekten den 2. Rang erreicht.</a>   + + +   <a href="../projekte/WBGS/en.php" target="_self"><strong>Wimmer Zaic Architekten</strong> have won 2nd prize in an EU-wide competition on the extension of the Seekirchen Highschool with 61 teams participating.<strong></strong>  + + +</a></font></nobr>'


// var marqueecontent='<nobr><font face="Arial" size="2.5em" color="" style="bold"><a href="../projekte/LWM/de.php" target="_self">+ + +     <strong>Architekturpreis 2008</strong> Land Salzburg Anerkennung an Wimmer Zaic Architekten für die Nachverdichtung der <strong>Wohnanlage Lanserhofwiese</strong>   + + +   LH-Stv. Mag. David Brenner verleiht den Preis am 3.12.2008 im Großen Saal des Salzburger Kunstvereins</a>   + + +   <a href="../projekte/LWM/en.php" target="_self"><strong>Architecture Award 2008 of the Government of Salzburg</strong> honorable mention awarded to Wimmer Zaic Architekten for the <strong>Lanserhofwiese Redensification </strong>  + + +  Award presented by vice governor David Brenner on 3rd December 2008 at the Grand Hall of the Salzburg Kunstverein  + + +</a></font></nobr>'


// So sieht ein Link aus ......     <a href="http://www.wza.at" target="_blank">WZA.AT</a>






////NO NEED TO EDIT BELOW THIS LINE////////////
marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+marqueecontent+'</span>')
var actualwidth=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.left=parseInt(marqueewidth)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.left=parseInt(marqueewidth)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualwidth=ns_marquee.document.width
}
lefttime=setInterval("scrollmarquee()",20)
}
window.onload=populate

function scrollmarquee(){
if (iedom){
if (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8))
cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+"px"
else
cross_marquee.style.left=parseInt(marqueewidth)+8+"px"

}
else if (document.layers){
if (ns_marquee.left>(actualwidth*(-1)+8))
ns_marquee.left-=copyspeed
else
ns_marquee.left=parseInt(marqueewidth)+8
}
}

if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee" bgColor='+marqueebgcolor+'>')
write('<layer name="ns_marquee2" left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
/*
</script>
*/
