function writeDate(){ var month_long_german = new Array("Januar", "Februar", "März", "April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"); var weekday_long_german = new Array("Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"); var dateobj = new Date(); var day = dateobj.getDate(); var weekday = dateobj.getDay(); var month = dateobj.getMonth(); var year = dateobj.getFullYear(); var datestring = weekday_long_german[weekday] + ", " + day + ". " + month_long_german[month] + " " + year; document.write(datestring); //document.write("Hello world"); //document.write(year); } function daysBetween(yr, mo, dy) { var SECOND = 1000; // the number of milliseconds in a second var MINUTE = SECOND * 60; // the number of milliseconds in a minute var HOUR = MINUTE * 60; // the number of milliseconds in an hour var DAY = HOUR * 24; // the number of milliseconds in a day var WEEK = DAY * 7; // the number of milliseconds in a week var nDate = new Date(); // current date (local) var nTime = nDate.getTime(); // current time (UTC) var dTime = Date.UTC(yr, mo - 1, dy); // specified time (UTC) var bTime = Math.abs(nTime - dTime) // time difference return Math.round(bTime / DAY); } // ### OPEN NEW WINDOW ### var remote = null; // javascript:detach('popup','http://',600,400) function detach(n,u,w,h) { remote = window.open(u, n, 'width=' + w + ',height=' + h +',resizable=yes,scrollbars=yes'); if (remote != null) { if (remote.opener == null) remote.opener = self; window.name = 'scomnavbar'; remote.location.href = u; } } //Macromediafunktionen function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 0 ) { if (_href.substring(_pos+1)=='subscribe') { document.mail.newsalert[0].checked=true; } else if (_href.substring(_pos+1)=='delete'){ document.mail.newsalert[1].checked=true; } else if (_href.substring(_pos+1)=='recommend'){ document.mail.newsalert[2].checked=true; } else if (_href.substring(_pos+1)=='weeksubscribe'){ document.weekly.news[0].checked=true; } else if (_href.substring(_pos+1)=='weekdelete'){ document.weekly.news[1].checked=true; } } } function memory_pop() { fensterauf = window.open("http://213.185.163.115/0285/site/game/memory.cfm", "Memory", "width=605px,height=564px,scrollbars-no") // fensterauf = window.open("http://www.salzburg.com/spiele/inkuerze.html", "Memory", "width=605px,height=564px,scrollbars-no") } function setHP() { document.all.test.style.behavior='url(#default#Homepage)'; document.all.test.setHomepage('http://www.salzburg.com/'); } function tour() { window.open("http://www.salzburg.com/spiele/tour.html","Tour","width=750,height=450,resizable=no,scrollbars=no"); } function fenster1() { window.open("http://www.salzburg.com/spiele/1.html","Registrierung","width=625,height=450,resizable=yes,scrollbars=yes"); } function zoom(url,titel){ mypic=new Image(); mypic.src = url; if(mypic.width == 0){mypic.width=600}; if(mypic.height == 0){mypic.height=350}; pic = eval( "open('','pic', 'width=" + mypic.width + " height=" + mypic.height + " resizable')" ); pic.document.write('',titel ,' '); pic.document.close(); } function goGeiz(param){ var url="http://www.salzburg.com/geizhals/geizhals2.html?http://salzburg.com.geizhals.at/?such=" + param; top.location = url; } function openPowerwinning() { var pid=null; var tmp01=unescape(document.location.href); //unescape necessary for netscape if((tmp01 != null)&&(tmp01 != 'undefined')&&(tmp01 != '')) { if(tmp01.indexOf('?') != -1) { var tmp02=tmp01.split('?'); if(tmp02[1].indexOf('pid=') != -1) { tmp02=tmp02[1].split('='); if(tmp02[1] != '') { if(tmp02[1].indexOf('&') != -1) // more than one parameter { tmp02=tmp02[1].split('&'); pid=tmp02[0]; } else pid=tmp02[1]; if((pid!=null)&&(pid!='')) parent.powerwinning.location.href="http://www.powerwinning.com/index_ap.jsp?quelle=sana&pid="+pid; else parent.powerwinning.location.href="http://www.powerwinning.com/index_ap.jsp?quelle=sana"; } else parent.powerwinning.location.href="http://www.powerwinning.com/index_ap.jsp?quelle=sana"; } else parent.powerwinning.location.href="http://www.powerwinning.com/index_ap.jsp?quelle=sana"; } else parent.powerwinning.location.href="http://www.powerwinning.com/index_ap.jsp?quelle=sana"; } else parent.powerwinning.location.href="http://www.powerwinning.com/index_ap.jsp?quelle=sana"; }