/* This script is part
of MEMBERZONE 3.0
(C) 2009 by QuickTools.org
http://www.memberzone.eu/ */
function ipex(of, oi, tf, ti) {
eval('document.forms.'+of+'.'+oi+'.value = document.forms.'+tf+'.'+ti+'.value;');
}
function umgr(user, act) {
document.forms.usermgr.mzuser.value = user;
document.forms.usermgr.umact.value = act;
document.forms.usermgr.submit();
}
function togem(item) {
var e=document.getElementById(item);
if(!e)return true;
if(e.style.display=="none"){
e.style.display="block"
} else {
e.style.display="none"
}
return true;
}
function togout(item) {
var e=document.getElementById(item);
if(!e) return true;
e.style.display="none";
return true;
}

var RecaptchaOptions = {
lang : 'de',
theme : 'clean',
};

if (top != self) {
  if (window.opera) {
    window.onload = opera_brk;
  } else {
    top.location = self.location;
  }
}

function opera_brk () {
  document.links["opbrk"].click();
}

function mzeditor_insert_img(fckinst, imgname) {
CKEDITOR.instances[fckinst].insertHtml('<img src="http://media.quicktools.org/img/'+imgname+'" alt="" />');
}
function mzeditor_insert_aud(fckinst, audname) {
CKEDITOR.instances[fckinst].insertHtml('[AUDIO='+audname+']');
}
function mzeditor_insert_xaud(fckinst, xaudaddr) {
CKEDITOR.instances[fckinst].insertHtml('[XAUDIO='+xaudaddr+']');
}
function mzeditor_insert_ytv(fckinst, yturl) {
CKEDITOR.instances[fckinst].insertHtml('[YOUTUBE='+yturl+']');
}
function mzeditor_insert_var(fckinst, varn) {
CKEDITOR.instances[fckinst].insertHtml(varn);
}

