<!--
 // nbsp / MB / 2007-04-03 HH:mm / JS-Funktion aus preloadstyles.js genommen, gehoert hier her.
 function MM_window(theURL,wname,features) {window.open(theURL,wname,features);}
 // nbsp / MB / 2007-04-03 HH:mm / JS-Funktionen fuer PopUps
 function MM_Video(pk,id) { MM_window('/videoplayer/popup/video.cfm?pk=' + pk + '&id=' + id,'Videoplayer','width=890,height=640,resizable=yes,scrollbars=no'); }
 function MM_preloadImages() { var d=document; if(d.Images){ if(!d.MM_pi) d.MM_pi=new Array(); var i,j=d.MM_pi.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_pi[j]=new Image; d.MM_pi[j++].src=a[i];}}}
 function MM_ImgDetail(pk,fk,id) { MM_window('/_misc/img/detail.cfm?pk=' + pk + '&fk=' + fk + '&id=' + id,'BildPopup','width=800,height=600,resizable=yes,scrollbars=yes');}
 function MM_ImgDetailGal(pk,fk) { MM_window('/_misc/galleries/detail.cfm?pk=' + pk + '&fk=' + fk,'GalleryPopup','width=800,height=600,resizable=yes,scrollbars=yes'); }
 function MM_print(pid,pk) { MM_window('/_misc/article/print/index.cfm?pid=' + pid + '&pk=' + pk + '&op=prn','Drucken','width=700,height=600,resizable=yes,scrollbars=yes');}
 function MM_send(pid,pk) { MM_window('/_misc/article/send/index.cfm?pid=' + pid + '&pk=' + pk,'Drucken','width=520,height=700,resizable=no,scrollbars=yes'); }
 function MM_pdf(pid,pk) { MM_window('/_misc/article/print/index.cfm?pid=' + pid + '&pk=' + pk + '&op=pdf','PDF','width=700,height=600,resizable=yes,scrollbars=yes');}
 function isnotdefined( variable) { return (typeof(window[variable]) == "undefined")? true: false;}
 // urtech / cu / 15.02.2008 / Tabbed Teaser Highlighting
 function navAllInactive(tb) { oNav = document.getElementById(tb); oLis = oNav.getElementsByTagName('LI'); for (i = 0; i < oLis.length; i++) { oLis[i].className = ''; } }
//-->
// nbsp / MB / 2007-04-04 HH:mm / JS-Funktionen Preloads Styles
function nbspPreloadStyles() { var d=document; if(d.Styles){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=nbspPreloadStyles.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Style; d.MM_p[j++].src=a[i];}}}
// nbsp / MB / 2007-04-04 HH:mm / JS-Funktionen Preloads Images
function nbspPreloadImages() 
{ 
 var d=document; 
 if(d.images)
 { 
 if(!d.MM_p) d.MM_p=new Array();
 var i,j=d.MM_p.length,a=nbspPreloadImages.arguments; 
 for(i=0; i<a.length; i++)
 if (a[i].indexOf("#")!=0)
 { 
 d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];
 }
 }
}
<!--
 function print_popup() {
 window.open('/_misc/print/article_print.cfm?pk=<cfoutput>#pkarticles#</cfoutput>','Print','width=600,resizable=yes, scrollbars=yes');
 }
 function send_popup() {
 window.open('/_misc/send/article_send.cfm?pk=<cfoutput>#pkarticles#</cfoutput>','Print','width=500,height=400,resizable=yes, scrollbars=yes');
 }
 function resizeWindow(img) {
 if (img.width < 750) {
 if (img.width <= 640) {
 window.resizeTo(700,img.height+500);
 } else {
 window.resizeTo(850,img.height+250);
 }
 } else if (img.height > 750) {
 window.resizeTo(img.width+100,750);
 } else {
 window.resizeTo(img.width+100,img.height+250);
 }
 }
 function addBookmark(title,url) {
 if (window.sidebar) {
 window.sidebar.addPanel(title, url,"");
 } else if( document.all ) {
 window.external.AddFavorite( url, title);
 } else if( window.opera && window.print ) {
 return true;
 }
 } 
  
 function CheckForm()
 {
 if (document.faq_form.txt_name.value.length == 0)
 {
 alert('Bitte geben Sie Ihren Namen ein!');
 return false;
 }
 if (document.faq_form.txt_question.value.length == 0)
 {
 alert('Bitte geben Sie Ihre Frage ein!');
 return false;
 }
 return true;
 } 

 function reloadStatistic (code,id) {
 if(!id) { 
 var id = "";
 } else {
 id = "." + id;
 }
 var get_rand = "d=" + (Math.random()*100000);
 var get_referer = "r=" + escape(document.referrer);
 var countIVW = new Image();
 var lowercode = code.toLowerCase();
 countIVW.src = "http://pcwelt.ivwbox.de/cgi-bin/ivw/CP/" + code + "?" + get_referer + "&" + get_rand;
 var countSitestat = new Image();
 
 if (id.indexOf("69714") >= 0) {
 countSitestat.src = "http://de.sitestat.com/idgcom-de/projekt2/s?start.specials.pc-welt-intel-virtual-notebook-special." + lowercode + id + ".home&" + get_rand;
 } else {
 countSitestat.src = "http://de.sitestat.com/idgcom-de/pcwelt/s?ajax_elemente." + lowercode + id + ".home&" + get_rand;
 }
 }
//-->
function breadcrumbDatum() {
 var Wochentage = new Array( "Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag");
 var Heute = new Date();
 var Tage = Heute.getDate();
 var Wochentag = Heute.getDay();
 var Monate = Heute.getMonth() +1;
 var Jahre = Heute.getYear();
 if (Jahre < 1900) {
 Jahre += 1900;
 }
 var HeuteFormatiert =
 Wochentage[Wochentag] + ", " + ((Tage < 10) ? "0" : "") + Tage + "." 
 + ((Monate < 10) ? "0" : "") + Monate + "." 
 + Jahre;
 document.write(HeuteFormatiert);
}
