function getTime() { dateTime=new Date(); hour=dateTime.getHours(); min=dateTime.getMinutes(); if( min<10) min="0"+min; sec=dateTime.getSeconds(); if( sec<10) sec="0"+sec; mon = new Array("Januar","Februar","März","April","Mai","Juni","Juli","Ausgust","September","Oktober","November","Dezember"); mon=mon[dateTime.getMonth()]; day=dateTime.getDate(); dateTime=""+day+". "+mon+" "+hour+":"+min+":"+sec+" Uhr"; document.getElementById("timer").innerText=dateTime; document.getElementById("timer").firstChild.nodeValue=dateTime; setTimeout("getTime()", 1000); } function Window(What,Width,Height) { if (!Width) Width = "800"; if (!Height) Height = "600"; var Url = "pic.php?p=" + What + ""; F1 = open(Url,"Fenster","width=" + Width + ",height=" + Height + ",screenX=0,screenY=0, scrollbars=no, resizable=no"); ScreenWidth = screen.width; ScreenHeight = screen.height; xpos = (ScreenWidth/2)-(Width/2); ypos = (ScreenHeight/2)-(Height/2); F1.moveTo(xpos,ypos); } function Window2(What,Width,Height) { if (!Width) Width = "600"; if (!Height) Height = "500"; var Url = "" + What + ""; F1 = open(Url,"Fenster2","width=" + Width + ",height=" + Height + ",screenX=0,screenY=0, scrollbars=yes, resizable=yes"); ScreenWidth = screen.width; ScreenHeight = screen.height; xpos = (ScreenWidth/2)-(Width/2); ypos = (ScreenHeight/2)-(Height/2); F1.moveTo(xpos,ypos); } function Window3(What,Width,Height,Scrollbars,Resize) { if (!Width) Width = "600"; if (!Height) Height = "500"; var Url = "" + What + ""; F1 = open(Url,"Fenster3","width=" + Width + ",height=" + Height + ",scrollbars=" + Scrollbars + ", resizable=" + Resize + ""); ScreenWidth = screen.width; ScreenHeight = screen.height; xpos = (ScreenWidth/2)-(Width/2); ypos = (ScreenHeight/2)-(Height/2); F1.moveTo(xpos,ypos); } function Window4(What,Width,Height) { if (!Width) Width = "600"; if (!Height) Height = "500"; var Url = "" + What + ""; F1 = open(Url,"Fenster4","width=" + Width + ",height=" + Height + ",screenX=0,screenY=0, scrollbars=yes, resizable=yes"); ScreenWidth = screen.width; ScreenHeight = screen.height; xpos = (ScreenWidth/2)-(Width/2); ypos = (ScreenHeight/2)-(Height/2); F1.moveTo(xpos,ypos); } function import_preview() { var form_id = document.getElementById('form_id'); var group_id = document.getElementById('group_id'); var format = document.getElementById('format'); var file = document.getElementById('file'); var folder = document.getElementById('folder'); Window3('import_preview.php?form_id=' + form_id.value + '&group_id=' + group_id.value + '&format=' + format.value + '&file=' + file.value + '&folder=' + folder.value + '','450','520','no','no'); return true; } function show_url(Field, Width, Height) { if (!Width) Width = "600"; if (!Height) Height = "500"; var setField = "" + Field + ""; var url = document.getElementById(setField); F1 = open(url.value,"Fenster2","width=" + Width + ",height=" + Height + ",screenX=0,screenY=0, scrollbars=yes, resizable=yes"); ScreenWidth = screen.width; ScreenHeight = screen.height; xpos = (ScreenWidth/2)-(Width/2); ypos = (ScreenHeight/2)-(Height/2); F1.moveTo(xpos,ypos); } function open_ed(form,field,id) { window.open("editor.php?f1=" + form + "&f2=" + field + "&f3=" + id + "","editor","width=479,height=395,screenX=0,screenY=0, scrollbars=no, resizable=no"); } function open_ed_full(form,field,id,tracking) { window.open("editor_full.php?f1=" + form + "&f2=" + field + "&f3=" + id + "&tracking=" + tracking + "","editor","width=479,height=395,screenX=0,screenY=0, scrollbars=no, resizable=no"); } function checkAll(thisForm,elmnt,tf,x) { var o = document.forms[thisForm].elements if (o){ for (i=0; i0) {*/ if (setvalue.value==a[i] && setvalue.value>0) { InSolutToolTip('' + c[i] + ''); self.status='' + c[i] + ''; return true; } } } function selectFilterValue(sObj) { with (sObj) return options[selectedIndex].value; } function showList2(thisForm,field,id,long,name) { var a= id.split("|"); var b= long.split("|"); var c= name.split("|"); //var setvalue = document.getElementById('' + field + ''); //var field = '' + field + ''; var setvalue = selectFilterValue(document.forms[thisForm].filter_id); for (var i = 0; i < a.length; ++i) { if (setvalue==a[i] && setvalue>0) { InSolutToolTip('
Filter-Bezeichnung:
' + c[i] + '
Filter-Beschreibung:
' + b[i] + ''); /*self.status='' + b[i] + ''; return true;*/ } } } function setForm(fields) { field = new Array(); var setfield = fields.split(","); for(i=0;i