var nRandom = Math.round( Math.random() * 999998 + 1 ); var tpng=1; var ntvuagent=navigator.userAgent.toLowerCase(); if(ntvuagent.indexOf("msie")>-1){ ievers=ntvuagent.substr(ntvuagent.indexOf("msie")+5, 1); if(ievers<7){ tpng=0; } } function clickToBig( href, w, h ) { w += 30; h += 30; imageBig = window.open( href + ".html?tpl=bigpic", "Image", "width="+ w +",height=" + h + ",resizable=yes,scrollbars=yes,location=no,status=no,toolbar=no" ); imageBig.focus(); } function imgMouseOut( id, w, h ) { elem = document.getElementById( id ); elem.style.background = "url( /s/symbole/lupe_mini.gif ) no-repeat bottom left"; elem.style.height = h-2; elem.style.width = w-2; elem.style.cursor = "default"; } function imgMouseOver( id, w, h ) { elem = document.getElementById( id ); elem.style.background = "url( /s/symbole/lupe_rollover.gif ) no-repeat center"; elem.style.height = h-2; elem.style.width = w-2; elem.style.cursor = "pointer"; } function menuShow(){ } function menuOut(){ } function druck_window(doc_id){ Druckfenster = window.open( "/" + doc_id + ".html?tpl=druck","Druckfenster","width=500,height=800, left=100, top=50 ,scrollbars=yes,toolbar=no,status=no,menubar=no,location=no,directories=no"); Druckfenster.focus(); } function change_bhead( target ){ bild=new Image(); bild.src="/s/ext/ov/bhead_" + target + ".gif"; document.head_applet.src=bild.src; bild.src = "http://chart4.ntv.onvista.de/intra_kl_info_n-tv.html?ID_NOTATION=" + target; document.images["chart_applet"].src=bild.src; } function boerse(){ borse = new Image(); borse.src="http://ntv.ivwbox.de/cgi-bin/ivw/CP/n_boerse?r=" + escape(document.referrer) + "&" + parseInt(' ' + Math.random() * 99999 ); return true; } function check_search(){ if( document.sucheapplet.query.value == '' ){ alert('Bitte geben Sie einen Suchbegriff ein!'); document.sucheapplet.query.focus(); return false; } else{ if ( document.sucheapplet.m[0].checked == true ){ document.sucheapplet.action = "/469.html"; } else{ document.sucheapplet.action = "/472.html"; } return true; } } function check_search_new(){ if( document.sucheapplet.p.value == '' ){ alert('Bitte geben Sie einen Suchbegriff ein!'); document.sucheapplet.p.focus(); return false; } else{ if ( document.sucheapplet.m[0].checked == true ){ //document.sucheapplet.action = "/469.html"; } else{ document.sucheapplet.query.value=document.sucheapplet.p.value; document.sucheapplet.target="_self"; document.sucheapplet.action = "/472.html"; } return true; } } function check_search_neu(form){ if( form.p.value == '' ){ alert('Bitte geben Sie einen Suchbegriff ein!'); form.p.focus(); return false; } else{ if ( form.m[0].checked == true ){ //document.sucheapplet.action = "/469.html"; } else{ form.query.value=form.p.value; form.target="_self"; form.action = "/472.html"; } return true; } } function pop(url, width, height, scrollbars, resize, name){ var opt = ""; if ( width ){ opt = "width=" + width; if ( height ){ opt += ",height=" + height; if ( scrollbars == "yes" ){ opt += ",scrollbars=1"; if ( resize == "yes" ){ opt += ",resizable=1"; } } } } if ( name ) { fenster = window.open( url, name, opt ); } else{ fenster = window.open( url, 'pop_win', opt); } fenster.focus(); return; } function medienfenster( doc_id, seite ){ if ( seite ){ medienwindow = window.open( "/" + doc_id + ".html?seite=" + seite + "","medienfenster","width=835,height=600,scrollbar=no,toolbar=no,status=no,menubar=no,location=no,directories=no"); medienwindow.focus(); } else{ medienwindow = window.open("/" + doc_id + ".html","medienfenster","width=835,height=600,scrollbar=no,toolbar=no,status=no,menubar=no,location=no,directories=no"); medienwindow.focus();} } var frameivw=0; function getframeivw(){ window.scrollTo(0, 0); if(frameivw>0){ ivw_image=new Image(); ivw_image.src="http://ntv.ivwbox.de/cgi-bin/ivw/CP"+ivw+"_intern?r="+escape(document.referrer)+"&"+parseInt(' ' + Math.random()*99999); } frameivw++; } function switchIntelliTxt(state,ipid){ document.location.href="http://n-tv.de.intellitxt.com/intellitxt/switch.asp?ipid="+ipid+"&state="+state+"&url="+encodeURIComponent(document.location.href); } function showBookTarget(txt){ document.getElementById('bookTarget').innerHTML=txt; } function bookThis(bookTarget) { doc=encodeURIComponent(location.href); title=encodeURIComponent(document.title); switch(bookTarget) { case 'delicious': window.open('http://del.icio.us/post?url='+doc+'&title='+sbtitle); break; case 'mrwong': window.open('http://www.mister-wong.de/index.php?action=addurl&bm_url='+doc+'&bm_description='+title); break; case 'blinkList': window.open('http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url='+doc+'&Title='+title); break; case 'yahoo': window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?u='+doc+'&t='+title); break; case 'yigg': window.open('http://yigg.de/neu?exturl='+doc+'&exttitle='+title); break; case 'furl': window.open('http://www.furl.net/storeIt.jsp?u='+doc+'&t='+title); break; case 'oneview': window.open('http://beta.oneview.de:80/quickadd/neu/addBookmark.jsf?URL='+doc+'&title='+title); break; case 'folkd': window.open('http://www.folkd.com/submit/page/'+doc); break; case 'linkarena': window.open('http://linkarena.com/bookmarks/addlink/?url='+doc+'&title='+title+'&desc=&tags='); break; case 'google': window.open('http://www.google.com/bookmarks/mark?op=add&hl=de&bkmk='+doc+'&title='+title); break; case 'webnews': window.open('http://www.webnews.de/einstellen?url='+doc+'&title='+title); break; } }