function change_size_artikel_topimg(bild_url_big,bild_url_small) { if (document.getElementById('artikel_img').style.width != '655px' ) { document.getElementById('artikel_bild').style.width = '655px'; document.getElementById('artikel_bild').style.height = '511px'; document.getElementById('artikel_img').style.width = '655px'; document.getElementById('artikel_img').style.height = '491px'; document.getElementById('artikel_img').src = bild_url_big; document.getElementById('marginalie').style.top = '546px'; document.getElementById('artikel_img_lupe').src = '/bremenvier/_px/icons/lupe_minus.jpg'; $('#artikel_bild').css('float','none'); setTimeout(function(){ $('#artikel_bild').css('float','left'); },100); } else { document.getElementById('artikel_bild').style.width = '285px'; document.getElementById('artikel_bild').style.height = '241px'; document.getElementById('artikel_img').style.width = '285px'; document.getElementById('artikel_img').style.height = '214px'; document.getElementById('artikel_img').src = bild_url_small; document.getElementById('marginalie').style.top = '280px'; document.getElementById('artikel_img_lupe').src = '/bremenvier/_px/icons/lupe_plus.jpg'; } } function change_size_team_topimg(bild_url_big,bild_url_small) { if (document.getElementById('artikel_img').style.width != '655px' ) { document.getElementById('artikel_bild').style.width = '655px'; document.getElementById('artikel_bild').style.height = '511px'; document.getElementById('artikel_img').style.width = '655px'; document.getElementById('artikel_img').style.height = '491px'; document.getElementById('artikel_img').src = bild_url_big; document.getElementById('marginalie').style.top = '546px'; document.getElementById('artikel_img_lupe').src = '/bremenvier/_px/icons/lupe_minus.jpg'; } else { document.getElementById('artikel_bild').style.width = '260px'; document.getElementById('artikel_bild').style.height = '222px'; document.getElementById('artikel_img').style.width = '260px'; document.getElementById('artikel_img').style.height = '195px'; document.getElementById('artikel_img').src = bild_url_small; document.getElementById('marginalie').style.top = '257px'; document.getElementById('artikel_img_lupe').src = '/bremenvier/_px/icons/lupe_plus.jpg'; } } function showday_ns(day) { document.getElementById("day0").style.display="none"; document.getElementById("day1").style.display="none"; document.getElementById("day2").style.display="none"; document.getElementById("day3").style.display="none"; document.getElementById("day4").style.display="none"; document.getElementById("day5").style.display="none"; document.getElementById("day6").style.display="none"; document.getElementById("day7").style.display="none"; document.getElementById("day8").style.display="none"; document.getElementById("day9").style.display="none"; document.getElementById("day10").style.display="none"; document.getElementById(day).style.display="block"; } function showallday() { document.getElementById("day0").style.display="block"; document.getElementById("day1").style.display="block"; document.getElementById("day2").style.display="block"; document.getElementById("day3").style.display="block"; document.getElementById("day4").style.display="block"; document.getElementById("day5").style.display="block"; document.getElementById("day6").style.display="block"; document.getElementById("day7").style.display="block"; document.getElementById("day8").style.display="block"; document.getElementById("day9").style.display="block"; document.getElementById("day10").style.display="block"; // Aktuelle Scroll-Position var scrOfX = 0, scrOfY = 0; if(typeof(window.pageYOffset) == 'number') { //NS scrOfY = window.pageYOffset; scrOfX = window.pageXOffset; } else if(document.body && (document.body.scrollLeft || document.body.scrollTop)) { //DOM scrOfY = document.body.scrollTop; scrOfX = document.body.scrollLeft; } else if(document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)) { //IE6 scrOfY = document.documentElement.scrollTop; scrOfX = document.documentElement.scrollLeft; } for (var i = scrOfY; i<600; i=i+1) { var jetzt = new Date(); var oldtime=jetzt.getTime(); window.scrollTo(0,i); var dann = new Date(); i=i+(dann.getTime()-oldtime); } } function showday(day) { document.getElementById("day0").style.display="none"; document.getElementById("day1").style.display="none"; document.getElementById("day2").style.display="none"; document.getElementById("day3").style.display="none"; document.getElementById("day4").style.display="none"; document.getElementById("day5").style.display="none"; document.getElementById("day6").style.display="none"; document.getElementById("day7").style.display="none"; document.getElementById("day8").style.display="none"; document.getElementById("day9").style.display="none"; document.getElementById("day10").style.display="none"; document.getElementById(day).style.display="block"; // Aktuelle Scroll-Position var scrOfX = 0, scrOfY = 0; if(typeof(window.pageYOffset) == 'number') { //NS scrOfY = window.pageYOffset; scrOfX = window.pageXOffset; } else if(document.body && (document.body.scrollLeft || document.body.scrollTop)) { //DOM scrOfY = document.body.scrollTop; scrOfX = document.body.scrollLeft; } else if(document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)) { //IE6 scrOfY = document.documentElement.scrollTop; scrOfX = document.documentElement.scrollLeft; } for (var i = scrOfY; i<600; i=i+1) { var jetzt = new Date(); var oldtime=jetzt.getTime(); window.scrollTo(0,i); var dann = new Date(); i=i+(dann.getTime()-oldtime); } } function settapetvcookie() { var ablauf = new Date(); var lange = ablauf.getTime() + (365 * 24 * 60 * 60 * 1000); ablauf.setTime(lange); document.cookie = "ttv=true; path=/; expires=" +ablauf.toGMTString(); location.reload(); } function setshorttapetvcookie() { var ablauf = new Date(); var lange = ablauf.getTime() + 5000; ablauf.setTime(lange); document.cookie = "ttv=true; path=/; expires=" +ablauf.toGMTString(); location.reload(); } function setscribblecookie() { var ablauf = new Date(); var lange = ablauf.getTime() + (365 * 24 * 60 * 60 * 1000); ablauf.setTime(lange); document.cookie = "scrib=true; path=/; expires=" +ablauf.toGMTString(); location.reload(); } function setytubecookie() { var ablauf = new Date(); var lange = ablauf.getTime() + (365 * 24 * 60 * 60 * 1000); ablauf.setTime(lange); document.cookie = "ytube=true; path=/; expires=" +ablauf.toGMTString(); location.reload(); }