
var helpbox_online=false;var helpbox_id='pebi';var helpbox_runs=false;var helpbox_host='http://www.helpbox.dk/';var helpbox_load_src=helpbox_host+'client/_js/helpbox_load.js';var helpbox_deny_page=new Array();if(document.addEventListener){document.addEventListener('DOMContentLoaded',function(){helpbox_runs=true;helpbox_load();},false);}
else if(window.addEvent){window.addEvent('domready',function(){helpbox_runs=true;helpbox_load();});}
else if(window.attachEvent){window.attachEvent('onload',function(e){var func=helpbox_load();if(!func){if(e&&e.preventDefault)e.preventDefault();}helpbox_runs=true;return func;});}
window.onload=function(){if(typeof window.onload=='function')window.onload;setTimeout('if (!helpbox_runs) helpbox_load()',10);}
function helpbox_load(){if(helpbox_deny_page.length>0){var helpbox_deny=false;for(i in helpbox_deny_page){if(helpbox_deny_page[i].type=='exact'){if(window.location.href==helpbox_deny_page[i].value)helpbox_deny=true;}
else if(helpbox_deny_page[i].type=='contains'){if(window.location.href.indexOf(helpbox_deny_page[i].value)>-1)helpbox_deny=true;}
else{var helpbox_regexp=new RegExp(helpbox_deny_page[i].value);if(helpbox_regexp.exec(window.location.href)!=null)helpbox_deny=true;}}
if(helpbox_deny==true)return false;}
var helpbox_l=(document.getElementsByTagName('head').length>0)?document.getElementsByTagName('head')[0]:((document.getElementsByTagName('body').length>0)?document.getElementsByTagName('body')[0]:false);if(!helpbox_l)return false;var helpbox_s=document.createElement('script');helpbox_s.setAttribute('id','helpbox_load');helpbox_s.setAttribute('type','text/javascript');helpbox_s.setAttribute('src',helpbox_load_src);helpbox_l.appendChild(helpbox_s);}
