/*! (c) Ashampoo GmbH & Co. KG */
var _dialogLogfilePrefix="[DIALOG ERROR]: ",bantshee=new bantshee;bant.callback.dialog.onShow=function(){bantshee.currentDialog="dialog.error.html",bantshee.navigate.setDataTargets()},bant.callback.onError=function(e,o){if(e=e||"default",o=o||null,"license"==e)if(157==o||160==o){var a="status-"+o;bant.log.error(_dialogLogfilePrefix+"bant.callback.onError -> error "+o),document.body.className=a}else bant.log.error(_dialogLogfilePrefix+"bant.callback.onError -> No license key found. ("+o+")"),document.body.className="status-nokey";else"server"==e?(bant.log.error(_dialogLogfilePrefix+"bant.callback.onError -> Servers are currently not available."),document.body.className="status-server"):"offline"==e?(bant.log.error(_dialogLogfilePrefix+"bant.callback.onError -> User is offline."),document.body.className="status-user-offline"):"license-offline"==e?(bant.log.error(_dialogLogfilePrefix+"bant.callback.onError -> User is offline. Could not check for valid license."),document.body.className="status-license-offline"):(bant.log.error(_dialogLogfilePrefix+"bant.callback.onError -> General unspecified error. ("+e+" | "+o+")"),document.body.className="status-undefined")},bant.log.info(_dialogLogfilePrefix+"loaded.");