function loadComponent(name) { attachToHead.css('core/components/htmleditor/css/wysiwyg.css'); attachToHead.js('core/components/htmleditor/javascript/wysiwyg.js',true); attachToHead.css('modules/'+name+'/css/style.css'); ajaxResponse.get('modules/'+name+'/admin.php','GET_CONTENT',getElement('member_options'),true); } function imageBrowser(mode,image,datafield,imagefield,width,height) { attachToHead.css('core/components/imagebrowser/css/style.css'); url = 'core/components/imagebrowser/imagebrowser.php?mode='+mode; url += '&img='+image+'&datafield='+datafield+'&imagefield='+imagefield+'&width='+width+'&height='+height; popup = createPopup('imagebrowser','Imagebrowser',360,185,true,138,165); ajaxResponse.get(url,'GET_CONTENT',popup,false); } function editor(data) { getElement('member_options').innerHTML=data; wysiwyg(); } function logOff() { ajaxResponse.get('modules/member/backend.php?logout','HANDLE_RESPONSE',function(){window.location='.';},true); }