var SimpleWindowManager={generatePopUpWindow:function(B){if($("notificationbox_container")){$("notificationbox_container").remove()}var A="";A+='<div class="szene1_quickinfo" id="notificationbox_container" ';A+='      style="position: absolute; width:300px; display:none; text-align: left;">';A+=B;A+="</div>";try{new Insertion.Bottom("szene1AdditionalWindows",A);Position.center($("notificationbox_container"));Effect.Appear($("notificationbox_container"),{duration:1});new Draggable($("notificationbox_container"))}catch(C){}},generateCloseableWindow:function(D,B){if($("notificationbox_container")){$("notificationbox_container").remove()}var A='<div class="szene1_quickinfo" id="notificationbox_container" style="position: absolute; width:300px; display:none; text-align: left;"><div class="edge_top"><div><div>&nbsp;</div></div></div><div class="title"><div class="title_body"><b>'+D+'</b></div><div class="close"><a onclick="$(\'notificationbox_container\').remove();"><img src="/images/quickpage/qi_icon_close.png"  border="0" /></a></div><br class="clearme" /><div class="line_left"><div class="line_right"></div></div></div><div class="body" style="padding:8px;">'+B+'</div><div class="edge_bottom"><div><div>&nbsp;</div></div></div></div>';try{new Insertion.Bottom("szene1AdditionalWindows",A);Position.center($("notificationbox_container"));Effect.Appear($("notificationbox_container"),{duration:1});new Draggable($("notificationbox_container"))}catch(C){}},generateAlertWindow:function(A,D,B){var C="";C+='  <div class="edge_top"><div><div>&nbsp;</div></div></div>';C+='  <div class="body" style="padding:8px; ';C+='    font-size: 11px; text-align: center;" ';C+='       id="'+D+'">';C+="      "+A+"\n";C+="  </div>";C+='  <div class="edge_bottom"><div><div>&nbsp;</div></div></div>';SimpleWindowManager.generatePopUpWindow(C);if(B!=null){window.setTimeout("Effect.Fade($('notificationbox_container'), {duration:.5});",B)}},generateContentBox:function(A,C){if($(C)){$(C).innerHTML=A}else{var B="";B+='  <div class="edge_top"><div><div>&nbsp;</div></div></div>';B+='  <div class="body" style="padding:8px;" ';B+='       id="'+C+'">';B+="      "+A+"\n";B+="  </div>";B+='  <div class="edge_bottom"><div><div>&nbsp;</div></div></div>';SimpleWindowManager.generatePopUpWindow(B)}},generateLoadingBox:function(B){var A='<center><img src="/images/icons/ajax-loader-white.gif" border="0"> '+Szene1Translator.translate("loadingDots",null)+"</center>";SimpleWindowManager.generateContentBox(A,B)},printErrorMessage:function(A,C,B){if(!A){A="<center>";Szene1Translator.translate("errorSavingPreferences",null)+"<br />"+Szene1Translator.translate("pleaseTryAgain",null);+"</center>"}if(C&&$(C)){$(C).innerHTML=A;$("notificationbox_container").show()}else{SimpleWindowManager.generateContentBox(A,C)}if(B==true){window.setTimeout("Effect.Fade($('notificationbox_container'), {duration:.5});","5000")}},clearWindow:function(){if($("notificationbox_container")){$("notificationbox_container").remove()}}};