var userAgent = navigator.userAgent.toLowerCase();
var is_ie     = (userAgent.indexOf('msie') != -1);
var is_moz    = (navigator.product == 'Gecko');
var is_ns     = (userAgent.indexOf('compatible') == -1) && (userAgent.indexOf('mozilla') != -1);
var pd_activePulldown = false;

var pd_delay = 200;
var pd_duration = 100;
var pd_steps = 5;
var pd_modeShow = 2;
var pd_modeHide = 2;
var pd_image = 'pd_open.gif';


var pd_topSafer = 0;
var pd_closer = false;

function pd_init(elem) {
//  document.write(' <img id="' + elem + '_pic" src="' + pd_image + '" border="0" alt="" />');
    var switch1_elem = document.getElementById(elem);
//    var switch2_elem = document.getElementById(elem + '_pic');

    switch1_elem.style.cursor = 'pointer';
    switch1_elem.onclick = pd_eventSwitch;
    switch1_elem.onmouseover = pd_eventSwitch;

//    switch2_elem.style.cursor = 'pointer';
//    switch2_elem.onclick = pd_eventSwitch;
//    switch2_elem.onmouseover = pd_eventSwitch;
}

function pd_eventSwitch(E) {
    if (is_ie) {
       var E = event;
       var element = E.srcElement;
    } else {
       var element = E.target;
    }
    if (pd_activePulldown && E.type == 'mouseover') {
// Bereits eines offen oder am Öffnen und HOVER auf einen Button/Text
        var this_elem = element.id.replace(/_pic$/, '');
        if (this_elem != pd_activePulldown) {
            window.clearTimeout(pd_closer);
            document.getElementById(pd_activePulldown + '_pdown').style.display = 'none';
            pd_activePulldown = this_elem;
            var target_elem = document.getElementById(pd_activePulldown + '_pdown');
            var switch_elem = document.getElementById(pd_activePulldown);

            var pos = pd_getOffset(switch_elem);
            target_elem.style.filter = 'alpha(opacity=100)'; 
            target_elem.style.MozOpacity = 1;
            target_elem.style.clip = 'rect(auto, auto, auto, auto)';
            target_elem.style.display = 'inline';
            pos['left'] -= 10;
            if (pos['left'] < 0) {
                pos['left'] = 0;
            }
            pos['top'] += switch_elem.offsetHeight + 5;
            target_elem.style.top = pos['top'] + 'px';
            target_elem.style.left = pos['left'] + 'px';
            target_elem.onmouseout = pd_eventClose;
        }
    } else if (pd_activePulldown && E.type == 'click') {
        var this_elem = element.id.replace(/_pic$/, '');
        if (this_elem == pd_activePulldown) {
            pd_closer = window.setTimeout('pd_closePulldown(0)', 0);
        }
    } else if (!pd_activePulldown && E.type == 'click') {
        pd_activePulldown = element.id.replace(/_pic$/, '');

        var target_elem = document.getElementById(pd_activePulldown + '_pdown');
        var switch_elem = document.getElementById(pd_activePulldown);

        var pos = pd_getOffset(switch_elem);
        target_elem.style.display = 'inline';
        pos['left'] -= 10;
        target_elem.style.display = 'none';
        if (pos['left'] < 0) {
            pos['left'] = 0;
        }
        pos['top'] += switch_elem.offsetHeight + 5;
        target_elem.style.top = pos['top'] + 'px';
        target_elem.style.left = pos['left'] + 'px';

        target_elem.onmouseout = pd_eventClose;
        document.onmouseover = pd_eventStayOpen;
        document.onclick = pd_eventClose;
        window.setTimeout('pd_openPulldown(0)', 0);
    }

}

function pd_eventClose(E) {
    if (pd_activePulldown) {
        if (is_ie) {
           var E = event;
           var element = E.srcElement;
        } else {
           var element = E.target;
        }
        var elemID = element.id.replace(/_pic$/, '').replace(/_pdown$/, '');
        if (E.type == 'click' && elemID != pd_activePulldown) {
            if (!pd_checkChild(element)) {
                pd_closer = window.setTimeout('pd_closePulldown(0)', 0);
            }
        } else if (E.type == 'mouseout') {
            pd_closer = window.setTimeout('pd_closePulldown(0)', pd_delay);
        }
    }
}
  
function pd_eventStayOpen(E) {
    if (pd_activePulldown) {
        if (is_ie) {
            var E = event;
            var element = E.srcElement;
        } else {
            var element = E.target;
        }
        if (pd_checkChild(element)) {
            window.clearTimeout(pd_closer);
        }
    }
}
    
function pd_eventAction(E) {
    if (pd_activePulldown) {
        if (is_ie) {
            var E = event;
            var element = E.srcElement;
        } else {
            var element = E.target;
        }
        var elemId = element.id;
        var elemMenu = elemId.replace(/pdi_([\d\w]+)-\d+/, "$1");
        var elemMenuId = elemId.replace(/pdi_[\d\w]+-(\d+)/, "$1");
        if (E.type == "mouseover") {
            eval('element.className = ' + elemMenu + '[' + elemMenuId + '][2];');
        } else if (E.type == "mouseout") {
            eval('element.className = ' + elemMenu + '[' + elemMenuId + '][1];');
        }
    }
}

function pd_openPulldown(step) {
    var target_elem = document.getElementById(pd_activePulldown + '_pdown');
    switch (pd_modeShow) {
        case 0:
        target_elem.style.display = 'inline';
        break;
        case 1:
        pWidth = target_elem.offsetWidth * (step + 1) / pd_steps;
        pHeight = target_elem.offsetHeight * (step + 1) / pd_steps;
        target_elem.style.clip = 'rect(0px, ' + Math.round(pWidth) + 'px, ' + Math.round(pHeight) + 'px, 0px)';
        break;
        case 2:
        percent = Math.round((step + 1) / pd_steps * 100);
        target_elem.style.filter = 'alpha(opacity=' + percent + ')'; 
        target_elem.style.MozOpacity = (percent / 100);
        break;
        case 3:
        pWidth = target_elem.offsetWidth * (step + 1) / pd_steps;
        pHeight = target_elem.offsetHeight * (step + 1) / pd_steps;
        percent = Math.round(Math.pow(Math.round((step + 1) / pd_steps * 100), 5) / Math.pow(100, 5) * 100);
        target_elem.style.clip = 'rect(0px, ' + Math.round(pWidth) + 'px, ' + Math.round(pHeight) + 'px, 0px)';
        target_elem.style.filter = 'alpha(opacity=' + percent + ')'; 
        target_elem.style.MozOpacity = (percent / 100);
        break;
        case 4:
        if (step == 0) {
            var switch_elem = document.getElementById(pd_activePulldown);
            var pos = pd_getOffset(switch_elem);
            pd_topSafer = pos['top'] + switch_elem.offsetHeight + 5;
        }
        pWidth = target_elem.offsetWidth;
        pHeight1 = target_elem.offsetHeight;
        pHeight2 = pHeight1 - pHeight1 * (step + 1) / pd_steps;
        target_elem.style.clip = 'rect(' + Math.round(pHeight2) + 'px, ' + Math.round(pWidth) + 'px, ' + Math.round(pHeight1) + 'px, 0px)';
        target_elem.style.top = (pd_topSafer - pHeight2) + "px";
        break;
    }
    if (pd_modeShow != 0) {
        if (step == 0) {
        }
        if (step + 1 < pd_steps) {
            target_elem.style.display = 'inline';
            window.setTimeout('pd_openPulldown(' + (step + 1) + ')', Math.round(pd_duration / pd_steps));
        }
    }
}

function pd_closePulldown(step) {
    if (pd_activePulldown) {
        var target_elem = document.getElementById(pd_activePulldown + '_pdown');
        switch (pd_modeHide) {
            case 0:
            target_elem.style.display = 'none';
            pd_activePulldown = false;
            break;
            case 1:
            pWidth = target_elem.offsetWidth * (1 - ((step + 1) / pd_steps));
            pHeight = target_elem.offsetHeight * (1 - ((step + 1) / pd_steps));
            target_elem.style.clip = 'rect(0px, ' + Math.round(pWidth) + 'px, ' + Math.round(pHeight) + 'px, 0px)';
            window.status = step;
            break;
            case 2:
            percent = 100 - (Math.round((step + 1) / pd_steps * 100));
            target_elem.style.filter = 'alpha(opacity=' + percent + ')'; 
            target_elem.style.MozOpacity = (percent / 100);
            break;
            case 3:
            pWidth = target_elem.offsetWidth * (1 - ((step + 1) / pd_steps));
            pHeight = target_elem.offsetHeight * (1 - ((step + 1) / pd_steps));
            percent = Math.round(Math.pow(100 - Math.round((step + 1) / pd_steps * 100), 0.3) / Math.pow(100, 0.3) * 100);
            target_elem.style.clip = 'rect(0px, ' + Math.round(pWidth) + 'px, ' + Math.round(pHeight) + 'px, 0px)';
            target_elem.style.filter = 'alpha(opacity=' + percent + ')'; 
            target_elem.style.MozOpacity = (percent / 100);
            break;
            case 4:
            if (step == 0) {
                var switch_elem = document.getElementById(pd_activePulldown);
                var pos = pd_getOffset(switch_elem);
                pd_topSafer = pos['top'] + switch_elem.offsetHeight + 5;
            }
            pWidth = target_elem.offsetWidth;
            pHeight1 = target_elem.offsetHeight;
            pHeight2 = pHeight1 - pHeight1 * (1 - (step + 1) / pd_steps);
            target_elem.style.clip = 'rect(' + Math.round(pHeight2) + 'px, ' + Math.round(pWidth) + 'px, ' + Math.round(pHeight1) + 'px, 0px)';
            target_elem.style.top = (pd_topSafer - pHeight2) + "px";
            break;
        }
        if (pd_modeHide != 0) {
            if (step + 1 < pd_steps) {
                window.setTimeout('pd_closePulldown(' + (step + 1) + ')', Math.round(pd_duration / pd_steps));
            }
        }
        if (step + 1 == pd_steps) {
            target_elem.style.display = 'none';
            target_elem.style.filter = 'alpha(opacity=100)'; 
            target_elem.style.MozOpacity = 1;
            target_elem.style.clip = 'rect(auto, auto, auto, auto)';
            pd_activePulldown = false;
        }
    }
}
  
function pd_getOffset(elem) {
    var oLeft = elem.offsetLeft;
    var oTop = elem.offsetTop;

  //  if (is_moz) {
  //      return { 'left' : oLeft, 'top' : oTop };
  //  }
    while ((elem = elem.offsetParent) != null) {
        oLeft += elem.offsetLeft;
        oTop += elem.offsetTop;
    }
    return { 'left' : oLeft, 'top' : oTop };
}
    
function pd_checkChild(elem) {
    do {
        if (elem.id && elem.id == pd_activePulldown + "_pdown") {
            return true;
        }
    } while ((elem = elem.offsetParent) != null)
    return false;
}

function pd_build(pd_name, pd_class, pd_data) {
    var len = pd_data.length;
    document.writeln('<div id="' + pd_name + '_pdown" style="position: absolute; display: none; z-index: 2;" class="' + pd_class + '">');
    for (i = 0; i < len; i++) {
        document.writeln('<div class="' + pd_data[i][2] + '" ' + pd_data[i][4] + ' onmouseover="this.className = \'' + pd_data[i][3] + '\';" onmouseout="this.className = \'' + pd_data[i][2] + '\';" onclick="window.open(\'' + pd_data[i][1] + '\')">' + pd_data[i][0] + '</div>');

    }
    document.writeln('</div>');
}

/*
function switchIn() {
    pd_modeShow ++;
    if (pd_modeShow > 4) {
        pd_modeShow = 0;
    }
    document.getElementById("in1").innerHTML = pd_modeShow;
}

function switchOut() {
    pd_modeHide ++;
    if (pd_modeHide > 4) {
        pd_modeHide = 0;
    }
    document.getElementById("out1").innerHTML = pd_modeHide;
}
*/

document.write('<style type="text/css">\r\n');
document.write('.pdownd {\r\n');
document.write('   background-color: #3e3e3e;\r\n');
document.write('   font-family: verdana, arial, tahoma, sans-serif;\r\n');
document.write('   color: #FFFFFF;\r\n');
document.write('   font-size: 11px;\r\n');
document.write('   padding: 3px;\r\n');
document.write('   cursor: pointer;\r\n');
document.write('}\r\n');
document.write('.pdownh {\r\n');
document.write('   background-color: #242424;\r\n');
document.write('   font-family: verdana, arial, tahoma, sans-serif;\r\n');
document.write('   font-size: 11px;\r\n');
document.write('   padding: 3px;\r\n');
document.write('   cursor: pointer;\r\n');
document.write('   color: #84d5fe;\r\n');
document.write('}\r\n');
document.write('.pdownb { \r\n');
document.write('   padding: 1px;\r\n');
document.write('   background: #FFFFFF;\r\n');
document.write('}\r\n');
document.write('</style>\r\n');
document.write('<table style="width: 100%;" cellspacing="0" cellpadding="0">\r\n');
document.write('<tr style="background-color: #000000;">\r\n');
document.write('<td style="height: 1px; font-size: 0px; width: 750px;" colspan="3" align="left"></td>\r\n');
document.write('</tr>\r\n');
document.write('<tr style="background-image: url(\'http://www.main.mmog4ever.de/Netzwerk/Netz_BG.png\');">\r\n');
document.write('<td style="width: 1px; height: 25px;"></td>\r\n');
document.write('<td valign="top"><a href="http://www.mmog4ever.de"><img src="http://www.main.mmog4ever.de/Netzwerk/Logo.png" border="0" /></a></td>\r\n');
document.write('<td valign="middle">\r\n');
document.write('<img src="http://www.main.mmog4ever.de/Netzwerk/NetzwerkSeiten.png" border="0" id="NetzwerkSeiten" />\r\n');
document.write('<img src="http://www.main.mmog4ever.de/Netzwerk/Foren.png" border="0" id="Foren" />\r\n');
document.write('<img src="http://www.main.mmog4ever.de/Netzwerk/Galerie.png" border="0" id="Galerie" />\r\n');
document.write('<img src="http://www.main.mmog4ever.de/Netzwerk/Wiki.png" border="0" id="Wiki" />\r\n');
document.write('<img src="http://www.main.mmog4ever.de/Netzwerk/Liga.png" border="0" id="Liga" />\r\n');

menu1 = Array(
    Array('Main Page', 'http://www.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('Main Forum', 'http://www.mmog4ever.de/index.php', 'pdownd', 'pdownh', ''),
    Array('Download Portal', 'http://www.download.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('Wiki Portal (Off)', '/', 'pdownd', 'pdownh', ''),
    Array('Shop Portal (Off)', '/', 'pdownd', 'pdownh', ''),
    Array('Liga Portal (Off)', '/', 'pdownd', 'pdownh', 'style="margin-bottom: 1px;"'),
    Array('2Moons', 'http://www.2moons.mmog4ever.de/', 'pdownd', 'pdownh', ''),
    Array('Aion Online', 'http://www.aion.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('ArchLord', 'http://www.archlord.mmog4ever.de/', 'pdownd', 'pdownh', ''), 
    Array('Cabal Online', 'http://www.cabal.mmog4ever.de/', 'pdownd', 'pdownh', ''), 
    Array('Dream of Mirror Online', 'http://www.domo.mmog4ever.de/', 'pdownd', 'pdownh', ''), 
    Array('Fantasy Tennis', 'http://www.ft.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('Fishing Champ', 'http://www.fc.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('Fly for Fun', 'http://www.flyff.mmog4ever.de/', 'pdownd', 'pdownh', ''),
    Array('Guild Wars', 'http://www.gw.mmog4ever.de.de/', 'pdownd', 'pdownh', ''),
    Array('Gunz Online', 'http://www.gunz.mmog4ever.de.de/', 'pdownd', 'pdownh', ''),
    Array('Hellgate: London', 'http://www.hellgate.mmog4ever.de.de', 'pdownd', 'pdownh', ''),
    Array('Kicks Online', 'http://www.kicks.mmog4ever.de/', 'pdownd', 'pdownh', ''),
    Array('KongKong Online', 'http://www.kko.mmog4ever.de/', 'pdownd', 'pdownh', ''),
    Array('Lineage 2', 'http://www.la2.mmog4ever.de/', 'pdownd', 'pdownh', ''),
    Array('Metin 2', 'http://www.metin2.mmog4ever.de/', 'pdownd', 'pdownh', ''),
    Array('Nostale', 'http://www.nostale.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('Perfect World', 'http://pw.mmog4ever.de/', 'pdownd', 'pdownh', ''),
    Array('Rappelz Revolution', 'http://www.rappelz.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('Ragnarok 2', 'http://www.ro2.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('R.O.S.E. Online', 'http://www.roseon.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('Seal Online', 'http://www.sealon.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('Silkroad Online', 'http://www.sro.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('Tabula Rasa', 'http://www.tr.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('World of Warcraft', 'http://www.wow.mmog4ever.de', 'pdownd', 'pdownh', '')),
    
menu2 = Array(
    Array('Main Forum', 'http://www.mmog4ever.de/index.php', 'pdownd', 'pdownh', ''),
    Array('2Moons Forum', 'http://mmog4ever.de/board.php?boardid=312', 'pdownd', 'pdownh', ''),
    Array('Aion Online Forum', 'http://mmog4ever.de/board.php?boardid=375', 'pdownd', 'pdownh', ''),
    Array('ArchLord Forum', 'http://www.mmog4ever.de/board.php?boardid=325', 'pdownd', 'pdownh', ''), 
    Array('Cabal Online Forum', 'http://www.mmog4ever.de/board.php?boardid=184', 'pdownd', 'pdownh', ''), 
    Array('Dream of Mirror Online Forum', 'http://www.mmog4ever.de/board.php?boardid=279', 'pdownd', 'pdownh', ''), 
    Array('EVE Online Forum', 'http://www.mmog4ever.de/board.php?boardid=4539', 'pdownd', 'pdownh', ''), 
    Array('Fantasy Tennis Forum', 'http://www.mmog4ever.de/board.php?boardid=384', 'pdownd', 'pdownh', ''),
    Array('Fishing Champ Forum', 'http://www.mmog4ever.de/board.php?boardid=344', 'pdownd', 'pdownh', ''),
    Array('Fly for Fun Forum', 'http://www.mmog4ever.de/board.php?boardid=200', 'pdownd', 'pdownh', ''),
    Array('Guild Wars Forum', 'http://www.mmog4ever.de/board.php?boardid=365', 'pdownd', 'pdownh', ''),
    Array('Gunz Online Forum', 'http://www.mmog4ever.de/board.php?boardid=272', 'pdownd', 'pdownh', ''),
    Array('Hellgate: London Forum', 'http://www.mmog4ever.de/board.php?boardid=393', 'pdownd', 'pdownh', ''),
    Array('Kicks Online Forum', 'http://www.mmog4ever.de/board.php?boardid=216', 'pdownd', 'pdownh', ''),
    Array('KongKong Online Forum', 'http://www.mmog4ever.de/board.php?boardid=174', 'pdownd', 'pdownh', ''),
    Array('Lineage 2 Forum', 'http://mmog4ever.de/board.php?boardid=392', 'pdownd', 'pdownh', ''),
    Array('Manga Fighter Forum', 'http://www.mmog4ever.de/board.php?boardid=476', 'pdownd', 'pdownh', ''),
    Array('Maple Story Forum', 'http://www.mmog4ever.de/board.php?boardid=396', 'pdownd', 'pdownh', ''),
    Array('Metin 2 Forum', 'http://www.mmog4ever.de/board.php?boardid=229', 'pdownd', 'pdownh', ''),
    Array('Nostale Forum', 'http://www.mmog4ever.de/board.php?boardid=343', 'pdownd', 'pdownh', ''),
    Array('Perfect World Forum', 'http://www.mmog4ever.de/board.php?boardid=290', 'pdownd', 'pdownh', ''),
    Array('Rappelz Revolution Forum', 'http://www.mmog4ever.de/board.php?boardid=191', 'pdownd', 'pdownh', ''),
    Array('Ragnarok 2 Forum', 'http://www.mmog4ever.de/board.php?boardid=137', 'pdownd', 'pdownh', ''),
    Array('R.O.S.E. Online Forum', 'http://www.mmog4ever.de/board.php?boardid=5', 'pdownd', 'pdownh', ''),
    Array('Seal Online Forum', 'http://www.mmog4ever.de/board.php?boardid=342', 'pdownd', 'pdownh', ''),
    Array('Silkroad Online Forum', 'http://www.mmog4ever.de/board.php?boardid=397', 'pdownd', 'pdownh', ''),
    Array('Tabula Rasa Forum', 'http://www.mmog4ever.de/board.php?boardid=173', 'pdownd', 'pdownh', ''),
    Array('World of Warcraft Forum', 'http://www.mmog4ever.de/board.php?boardid=241', 'pdownd', 'pdownh', ''),
    Array('Andere MMOG´s', 'http://www.mmog4ever.de/board.php?boardid=66', 'pdownd', 'pdownh', ''));
menu3 = Array(
    Array('Galerie Haupseite', 'http://www.mmog4ever.de/jgs_galerie.php', 'pdownd', 'pdownh', ''),
    Array('2Moons Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=28', 'pdownd', 'pdownh', ''),
    Array('Aion Online Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=33', 'pdownd', 'pdownh', ''),
    Array('ArchLord Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=29', 'pdownd', 'pdownh', ''),
    Array('Cabal Online Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=20', 'pdownd', 'pdownh', ''),
    Array('Dream of Mirror Online Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=26', 'pdownd', 'pdownh', ''),
    Array('EVE Online Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=39', 'pdownd', 'pdownh', ''),
    Array('Fantasy Tennis Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=35', 'pdownd', 'pdownh', ''),
    Array('Fishing Champ Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=33', 'pdownd', 'pdownh', ''),
    Array('Fly for Fun Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=21', 'pdownd', 'pdownh', ''), 
    Array('Guild Wars Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=34', 'pdownd', 'pdownh', ''),
    Array('Gunz Online Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=25', 'pdownd', 'pdownh', ''),
    Array('Hellgate: London Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=36', 'pdownd', 'pdownh', ''),
    Array('Kicks Online Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=22', 'pdownd', 'pdownh', ''),
    Array('KongKong Online Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=18', 'pdownd', 'pdownh', ''),
    Array('Lineage 2 Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=37', 'pdownd', 'pdownh', ''),
    Array('Manga Fighter Galerie', '/', 'pdownd', 'pdownh', ''),
    Array('Maple Story Galerie', '/', 'pdownd', 'pdownh', ''),
    Array('Metin 2 Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=23', 'pdownd', 'pdownh', ''),
    Array('Nostale Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=30', 'pdownd', 'pdownh', ''),
    Array('Perfect World Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=27', 'pdownd', 'pdownh', ''),
    Array('Rappelz Revolution Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=16', 'pdownd', 'pdownh', ''),
    Array('Ragnarok 2 Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=16', 'pdownd', 'pdownh', ''),
    Array('R.O.S.E. Online Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=6', 'pdownd', 'pdownh', ''),
    Array('Seal Online Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=31', 'pdownd', 'pdownh', ''),
    Array('Silkroad Online Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=38', 'pdownd', 'pdownh', ''),
    Array('Tabula Rasa Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=17', 'pdownd', 'pdownh', ''),
    Array('World of Warcraft Galerie', 'http://www.mmog4ever.de/jgs_galerie_kategorie.php?kategorie=24', 'pdownd', 'pdownh', ''));
menu4 = Array(
    Array('Wiki-Portal (Offline)', '/', 'pdownd', 'pdownh', ''),
    Array('Perfect World Wiki', 'http://www.pw-wiki.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('PW Monster & Item Wiki', 'http://www.pwmi-wiki.mmog4ever.de', 'pdownd', 'pdownh', ''),
    Array('PW Translation Wiki', 'http://www.pwt-wiki.mmog4ever.de', 'pdownd', 'pdownh', ''));
menu5 = Array(
    Array('Liga Portal (Offline)', '/', 'pdownd', 'pdownh', ''),
    Array('Liga Forum', 'http://www.mmog4ever.de/board.php?boardid=490', 'pdownd', 'pdownh', ''));

    pd_build('NetzwerkSeiten', 'pdownb', menu1);
    pd_build('Foren', 'pdownb', menu2);
    pd_build('Galerie', 'pdownb', menu3);
    pd_build('Wiki', 'pdownb', menu4);
    pd_build('Liga', 'pdownb', menu5);
    pd_modeShow = 0;
    pd_modeHide = 0;
    pd_delay = 600;


pd_init('NetzwerkSeiten');
pd_init('Foren');
pd_init('Galerie');
pd_init('Wiki');
pd_init('Liga');