function MM_Gallery(pk,id) { MM_window('/_misc/galleries/detail.cfm?pk=' + pk + '&id=' + id,'Bildergalerie','width=890,height=750,resizable=yes,scrollbars=yes'); }
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_preloadStyles() { var d=document; if(d.Styles){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadStyles.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];}}} 
function MM_print(pid,pk) { MM_window('/_misc/article/print/index.cfm?pid=' + pid + '&pk=' + pk + '&op=prn','Drucken','width=768,height=600,resizable=no,scrollbars=yes'); }
function MM_printtp(pid,pk) { MM_window('/_misc/article/print/indextp.cfm?pid=' + pid + '&pk=' + pk + '&op=prn','Drucken','width=768,height=600,resizable=no,scrollbars=yes'); }
function MM_send(QueryString) { MM_window('/_misc/article/send/index.cfm?' + QueryString,'Verschicken','width=500,height=450,resizable=no,scrollbars=yes'); }
function MM_comment(pk) { MM_window('/_misc/article/comments/index.cfm?pk=' + pk,'Kommentar','width=700,height=680,resizable=no,scrollbars=yes'); }
function MM_SavePoll(pk) { MM_window('/_misc/polls/index.cfm?pk=' + pk,'Umfrage','width=500,height=450,resizable=no,scrollbars=yes'); eval('document.Poll_' + pk).submit(); }
function MM_ShowPoll(pk) { MM_window('/_misc/polls/index.cfm?pk=' + pk,'Umfrage','width=500,height=450,resizable=no,scrollbars=yes'); }
function MM_ImgDetailTP(pk) { MM_window('/_misc/img/detailtp.cfm?pk=' + pk,'BildPopup','width=800,height=600,resizable=yes,scrollbars=yes'); }
function MM_window(theURL,wname,features) { window.open(theURL,wname,features);	}
function ClearFormField(FF, FFValue) { if(FF.value == FFValue) { FF.value = ''; } else if(FF.value == '') { FF.value = FFValue; } }	/* Funktion fuer Loeschen bzw. Fuellen der Formularfelder beim Focus bzw. Blur */
function MM_ShowMovies(pk) { MM_window('/_misc/movies/index.cfm?pk=' + pk,'Movies','width=550,height=700,resizable=no,scrollbars=yes'); }
function MM_ShowEPaper(pk) { MM_window('/_misc/epaper/index.cfm?pk=' + pk,'ePaper','width=1000,height=800,resizable=yes,scrollbars=yes'); }
function isnotdefined( variable) {    return (typeof(window[variable]) == "undefined")?  true: false;}
function MM_SavePollPopUp(pk) { eval('document.Poll_' + pk).submit(); }
function OpenWissensquiz(pk) { MM_window('/_misc/quiz/index.cfm?pk=' + pk,'Quiz','width=650,height=500,toolbar=no,locationbar=no,directories=no,scrollbars=yes,status=no,menubar=yes,resizable=no'); }
function MM_ImgDetail(pk) { MM_window('/_misc/img/detail.cfm?fk=0&pk=' + pk,'BildPopup','width=800,height=600,resizable=yes,scrollbars=yes'); }
function MM_ImgDetailfk(pk,fk) { MM_window('/_misc/img/detail.cfm?fk='+fk+'&pk=' + pk,'BildPopup','width=800,height=600,resizable=yes,scrollbars=yes'); }