// browsererkennung (wird im moment nur bei drag&drop für erkennung vom ie verwendet) userAgent = navigator.userAgent.toLowerCase(); isIE = ((userAgent.indexOf("msie") != -1) && (userAgent.indexOf("opera") == -1)); isOpera = (userAgent.indexOf("opera") != -1); isMac = (userAgent.indexOf("mac") != -1); isMacIE = (isIE && isMac); isWinIE = (isIE && !isMac); isSafari = (userAgent.indexOf("safari") != -1); isGecko = (navigator.product == "Gecko" && !isSafari); function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i1) { var eingabe; eingabe=confirm(question); } else { var eingabe=true; } if (eingabe) { if (document.getElementById('scrollposition')) { var scroll_position; if (window.pageYOffset) { scroll_position=window.pageYOffset; } else if (document.body) { scroll_position=document.body.scrollTop; } else { scroll_position='x'; } change_prop(form, 'scrollposition', scroll_position, false, ''); } document.getElementById(field).value=new_value; document.getElementById(form).submit(); } } else { document.getElementById(field).value=new_value; } } function change_language(which, page) { var language_id=which.options[which.selectedIndex].value; if (document.getElementById('pageform')) { if (document.getElementById('screen')) { change_prop('pageform', 'screen', 'new_lang|'+language_id, true, ''); } else { location.href=page+"&new_lang="+language_id; } } else { location.href=page+"&new_lang="+language_id; } } function predefined_input_focus(was, bezeichnung) { if (was.value==bezeichnung) { was.value=""; } } function predefined_input_blur(was, bezeichnung) { if (was.value=="" || was.value==" " || was.value==" " || was.value==" ") { was.value=bezeichnung; } } function predefined_input_submit(was, bezeichnung) { if (was.value==bezeichnung) { was.value=""; } return true; } function show_images(welcher) { if (document.getElementById(welcher)) { var bildleiste=document.getElementById(welcher); if (bildleiste.style.display=="block") { bildleiste.style.display="none"; } else { bildleiste.style.display="block"; } } } function show_hide_divtag(welcher, pfad) { if (document.getElementById(welcher)) { var divtag=document.getElementById(welcher).style; if (divtag.display=="block") { document.getElementById(welcher+'_symbol') ? document.getElementById(welcher+'_symbol').src=pfad+"images/system/plus.gif" : null; document.getElementById(welcher+'_notshown') ? document.getElementById(welcher+'_notshown').style.display="block" : null; document.getElementById(welcher+'_first') ? document.getElementById(welcher+'_first').style.display="block" : null; divtag.display="none"; } else { document.getElementById(welcher+'_symbol') ? document.getElementById(welcher+'_symbol').src=pfad+"images/system/minus.gif" : null; document.getElementById(welcher+'_notshown') ? document.getElementById(welcher+'_notshown').style.display="none" : null; document.getElementById(welcher+'_first') ? document.getElementById(welcher+'_first').style.display="none" : null; divtag.display="block"; } } } var tooltipbreite=200; var mausbreite=60; var maushoehe=60; var scrollbarbreite=20; var scrollbarhoehe=20; var y_scrollposition; function tooltip(which_call, which_div, what) { // var y_start=-document.getElementById('header').offsetHeight; var y_start=0; var tooltip=document.getElementById('tooltip_'+which_div); if (what=='show') { // die x-position definieren var aktuelles=which_call; var x_position=mausbreite/2; if (isIE) { var fensterbreite=document.body.offsetWidth-scrollbarbreite; var fensterhoehe=document.body.offsetHeight-scrollbarhoehe; } else { var fensterbreite=window.innerWidth-scrollbarbreite; var fensterhoehe=window.innerHeight-scrollbarhoehe; } document.body ? y_scrollposition=document.body.scrollTop+y_start : y_scrollposition=window.pageYOffset+y_start; while(aktuelles!=null) { x_position+=aktuelles.offsetLeft; aktuelles=aktuelles.offsetParent; } if (tooltip.attributes['posx']) { tooltip.attributes['posx'] ? tooltip.style.left=x_position+parseInt(tooltip.attributes['posx'].value) : tooltip.style.left=x_position; } else { fensterbreitey_scrollposition+fensterhoehe ? y_position-=tooltip.offsetHeight : 0; y_position