<?php
/*
##########################################################################
# #
# Version 4 / / / #
# -----------__---/__---__------__----__---/---/- #
# | /| / /___) / ) (_ ` / ) /___) / / #
# _|/_|/__(___ _(___/_(__)___/___/_(___ _/___/___ #
# Free Content / Management System #
# / #
# #
# #
# Copyright 2005-2009 by webspell.org #
# #
# visit webSPELL.org, webspell.info to get webSPELL for free #
# - Script runs under the GNU GENERAL PUBLIC LICENSE #
# - It's NOT allowed to remove this copyright-tag #
# -- [URL]http://www.fsf.org/licensing/licenses/gpl.html[/URL] #
# #
# Code based on WebSPELL Clanpackage (Michael Gruber - webspell.at), #
# Far Development by Development Team - webspell.org #
# #
# visit webspell.org #
# #
##########################################################################
*/
// important data include
include("_mysql.php");
include("_settings.php");
include("_functions.php");
$_language->read_module('index');
$index_language = $_language->module;
// end important data include
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="Clanpage using webSPELL 4 CMS" />
<meta name="author" content="webspell.org" />
<meta name="keywords" content="webspell, webspell4, clan, cms" />
<meta name="copyright" content="Copyright © 2005 - 2009 by webspell.org" />
<meta name="generator" content="webSPELL" />
<!-- Head & Title include -->
<title><?php echo PAGETITLE; ?></title>
<link href="_stylesheet.css" rel="stylesheet" type="text/css" />
<link href="tmp/rss.xml" rel="alternate" type="application/rss+xml" title="<?php echo getinput($myclanname); ?> - RSS Feed" />
<script src="js/bbcode.js" language="jscript" type="text/javascript"></script>
<script src="switchbox.js" language="jscript" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="switchbox.css">
<link rel="stylesheet" type="text/css" href="javer_menu.css">
<script language="javascript" src="javar_menu.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="contentslider.css" />
<script type="text/javascript" src="contentslider.js">
/***********************************************
* Featured Content Slider- © Dynamic Drive DHTML code library ([URL="http://www.dynamicdrive.com"]www.dynamicdrive.com[/URL])
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at [URL]http://www.dynamicdrive.com/[/URL] for this script and 100s more
***********************************************/
</script>
<!-- end Head & Title include -->
<!-- standard Design stylesheet -->
<style type="text/css">
body { padding:0px; margin:0px; font: 10px Verdana, Arial, Tahoma, Helvetica, sans-serif; color: #000000; background-image: url(Bilder/background_07.jpg); background-repeat:repeat-x; background-color:#182737; background-attachment:fixed; }
a {outline:none;}
div#container { width: 1000px; margin: 0 auto; padding: 0; text-align: left; }
div#head { width: 1000px; height: 12px; background-color: #36befc; }
div#content { width: 1000px; margin: 0; background-color: #ffffff; }
div#content .cols { float: left; width: 800px; }
div#content .col1 { float: left; width: 200px; border-right: 1px solid #cccccc; }
div#content .col2 { margin-left: 200px; text-align: justify; }
div#content .col3 { margin-left: 800px; border-left: 1px solid #cccccc; }
div#footer { clear: both; height: 50px; width: 1000px; text-align: center; background-color: <?php echo BG_4; ?>; }
hr.grey { height: 1px; background-color: #cccccc; color: #cccccc; border: none; margin: 10px 0 4px 0; }
.nav { color: #36befc; font-weight: bold; }
.main a {display:block; background: url(Bilder/index_09.jpg) no-repeat; width:85px; height:22px;}
.main a:hover {display:block; background: url(Bilder/navi_hover_09.jpg); width:85px; height:22px;}
.clan a {display:block; background: url(Bilder/index_11.jpg) no-repeat; width:85px; height:22px;}
.clan a:hover {display:block; background: url(Bilder/navi_hover_11.jpg); width:85px; height:22px;}
.comm a {display:block; background: url(Bilder/index_13.jpg) no-repeat; width:85px; height:22px;}
.comm a:hover {display:block; background: url(Bilder/navi_hover_13.jpg); width:85px; height:22px;}
.misc a {display:block; background: url(Bilder/index_15.jpg) no-repeat; width:85px; height:22px;}
.misc a:hover {display:block; background: url(Bilder/navi_hover_15.jpg); width:85px; height:22px;}
.mouseoverbuffer {display:none;}
</style>
<!--[if IE]>
<style type="text/css">
div#content .col2 { width: 74%; }
div#content .col3 { width: 19%; }
hr.grey { margin: 3px 0 3px 0; }
</style>
<![endif]-->
<!--[if lte IE 7]>
<style type="text/css">
hr.grey { margin: 3px 0 -3px 0; }
</style>
<![endif]-->
<!--[if gte IE 8]>
<style type="text/css">
hr.grey { margin: 3px 0 3px 0;}
</style>
<![endif]-->
<!-- end standard Design stylesheet -->
<script language="javascript">
function init() {
//==========================================================================================
// if supported, initialize TransMenus
//==========================================================================================
// Check isSupported() so that menus aren't accidentally sent to non-supporting browsers.
// This is better than server-side checking because it will also catch browsers which would
// normally support the menus but have javascript disabled.
//
// If supported, call initialize() and then hook whatever image rollover code you need to do
// to the .onactivate and .ondeactivate events for each menu.
//==========================================================================================
if (TransMenu.isSupported()) {
TransMenu.initialize();
// hook all the highlight swapping of the main toolbar to menu activation/deactivation
// instead of simple rollover to get the effect where the button stays hightlit until
// the menu is closed.
menu1.onactivate = function() { document.getElementById("liguria").className = "hover"; };
menu1.ondeactivate = function() { document.getElementById("liguria").className = ""; };
menu2.onactivate = function() { document.getElementById("lombardia").className = "hover"; };
menu2.ondeactivate = function() { document.getElementById("lombardia").className = ""; };
menu3.onactivate = function() { document.getElementById("veneto").className = "hover"; };
menu3.ondeactivate = function() { document.getElementById("veneto").className = ""; };
menu4.onactivate = function() { document.getElementById("toscana").className = "hover"; };
menu4.ondeactivate = function() { document.getElementById("toscana").className = ""; };
menu5.onactivate = function() { document.getElementById("lazio").className = "hover"; };
menu5.ondeactivate = function() { document.getElementById("lazio").className = ""; };
document.getElementById("umbria").onmouseover = function() {
ms.hideCurrent();
this.className = "hover";
}
document.getElementById("umbria").onmouseout = function() { this.className = ""; }
}
}
</script>
<script language="javascript">
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>
<body onload="init();MM_preloadImages('Bilder/switch_hover_80.jpg')">
<div class="mouseoverbuffer"><img src="Bilder/navi_hover_09.jpg" width="85" height="22" /><img src="Bilder/navi_hover_11.jpg" width="85" height="22" /><img src="Bilder/navi_hover_13.jpg" width="85" height="22" /><img src="Bilder/navi_hover_15.jpg" width="85" height="22" /></div>
<table width="910" height="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_02.jpg" width="60" height="53" /></td>
<td><img src="Bilder/index_03.jpg" width="388" height="53" /></td>
<td background="Bilder/index_04.jpg" width="462" height="53" align="right"><?php include('sc_language.php'); ?> </td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="Bilder/index_06.jpg" width="910" height="98" /></td>
</tr>
<tr>
<td><img src="Bilder/index_07.jpg" width="910" height="5" /></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_08.jpg" width="17" height="22" /></td>
<td><div class="main"><a href="#" id="liguria"></a></div></td>
<td><img src="Bilder/index_10.jpg" width="4" height="22" /></td>
<td><div class="clan"><a href="#" id="lombardia"></a></div></td>
<td><img src="Bilder/index_12.jpg" width="5" height="22" /></td>
<td><div class="comm"><a href="#" id="veneto"></a></div></td>
<td><img src="Bilder/index_14.jpg" width="5" height="22" /></td>
<td><div class="misc"><a href="#" id="toscana"></a></div></td>
<td><img src="Bilder/index_16.jpg" width="539" height="22" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img src="Bilder/index_17.jpg" width="910" height="16" /></td>
</tr>
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><img src="Bilder/index_18.jpg" width="23" height="184" /></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_19.jpg" width="160" height="26" /></td>
</tr>
<tr>
<td><a href="index.php?site=squads&action=show&squadID=1"><img src="Bilder/index_26.jpg" width="160" height="38" border="0"/></a></td>
</tr>
<tr>
<td><img src="Bilder/index_28.jpg" width="160" height="12" /></td>
</tr>
<tr>
<td><a href="index.php?site=squads&action=show&squadID=2"><img src="Bilder/index_30.jpg" width="160" height="38" border="0"/></a></td>
</tr>
<tr>
<td><img src="Bilder/index_34.jpg" width="160" height="13" /></td>
</tr>
<tr>
<td><a href="index.php?site=squads&action=show&squadID=3"><img src="Bilder/index_36.jpg" width="160" height="38" border="0"/></a></td>
</tr>
<tr>
<td><img src="Bilder/index_37.jpg" width="160" height="19" /></td>
</tr>
</table></td>
<td valign="top"><img src="Bilder/index_20.jpg" width="14" height="184" /></td>
</tr>
</table></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_21.jpg" width="493" height="6" /></td>
</tr>
<tr>
<td background="Bilder/index_24.jpg" width="493" height="97" valign="middle" align="center"><?php include('features.php'); ?></td>
</tr>
</table></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_22.jpg" width="31" height="12" /></td>
</tr>
<tr>
<td><div id="paginate-slider1" class="pagination"><a href="#" class="toc"><img src="Bilder/index_25.jpg" width="31" height="25" border="0"/></a><br /><a href="#" class="toc"><img src="Bilder/slider_pic_39.jpg" width="31" height="27" border="0"/></a><br /><a href="#" class="toc"><img src="Bilder/index_29.jpg" width="31" height="26" border="0"/></a></div></td>
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "markup", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["", ""], //labels for "prev" and "next" links. Set to "" to hide.
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 3000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script>
</tr>
<tr>
<td><img src="Bilder/index_31.jpg" width="31" height="13" /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_32.jpg" width="519" height="12" /></td>
</tr>
<tr>
<td background="Bilder/index_35.jpg" width="519" height="58"><marquee><a href="http://www.basic-designs.de" target="_blank" ><img src="http://www.basic-designs.de/images/linkus/5.jpg" border="0" alt="http://www.basic-designs.de" title="http://www.basic-designs.de" /></a><script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://adserver.serverpro24.de/www/delivery/ajs.php':'http://adserver.serverpro24.de/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?zoneid=1");
document.write ('&cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
document.write ("&loc=" + escape(window.location));
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript> <a href='http://adserver.serverpro24.de/www/delivery/ck.php?n=aadf5753&cb=101' target='_blank'><img src='http://adserver.serverpro24.de/www/delivery/avw.php?zoneid=1&cb=101&n=aadf5753' border='0' alt='' /></a></noscript><?php include('partners.php'); ?></marquee></td>
</tr>
</table></td>
<td><img src="Bilder/index_33.jpg" width="5" height="70" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_38.jpg" width="519" height="11" /></td>
<td><img src="Bilder/index_39.jpg" width="5" height="11" /></td>
</tr>
</table></td>
</tr>
</table></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" background="Bilder/index_23.jpg" width="189" height="180" ><?php include('login.php'); ?></td>
</tr>
<tr>
<td><img src="Bilder/index_40.jpg" width="189" height="4" /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="Bilder/index_41.jpg" width="910" height="17" /></td>
</tr>
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" background="Bilder/buffer_110.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_42.jpg" width="19" height="94" /></td>
<td background="Bilder/edit2_70.jpg" width="281" height="94" ><?php include('sc_topmatch.php'); ?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_49.jpg" width="19" height="10" /></td>
<td><img src="Bilder/index_50.jpg" width="279" height="10" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_51.jpg" width="124" height="19" /></td>
<td><a href="#" onClick="MM_showHideLayers('news','','show','files','','hide','result','','hide','topics','','hide')"><img src="Bilder/switch_80.jpg" width="35" height="19" border="0" /></a></td>
<td><a href="#" onClick="MM_showHideLayers('news','','hide','files','','hide','result','','show','topics','','hide')"><img src="Bilder/switch_81.jpg" width="51" height="19" border="0" /></a></td>
<td><a href="#" onClick="MM_showHideLayers('news','','hide','files','','hide','result','','hide','topics','','show')"><img src="Bilder/switch_82.jpg" width="37" height="19" border="0" /></a></td>
<td><a href="#" onClick="MM_showHideLayers('news','','hide','files','','show','result','','hide','topics','','hide')"><img src="Bilder/switch_83.jpg" width="33" height="19" border="0" /></a></td>
<td><img src="Bilder/edit2_84.jpg" width="20" height="19" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_57.jpg" width="19" height="95" /></td>
<td valign="top" background="Bilder/edit2_86.jpg" width="281" height="95" ><div id="news" ><? include("sc_headlines.php"); ?></div>
<div id="files" ><? include("sc_files.php"); ?></div>
<div id="result" ><? include("sc_results.php"); ?></div>
<div id="topics" ><? include("latesttopics.php"); ?></div>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_59.jpg" width="19" height="24" /></td>
<td><img src="Bilder/edit2_90.jpg" width="281" height="24" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_61.jpg" width="19" height="91" /></td>
<td valign="top" background="Bilder/edit2_94.jpg" width="281" height="91" ><?php include('sc_servers.php'); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_63.jpg" width="19" height="26" /></td>
<td><img src="Bilder/edit2_96.jpg" width="281" height="26" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_65.jpg" width="19" height="94" /></td>
<td valign="top" background="Bilder/edit2_98.jpg" width="281" height="94" ><?php include('sc_randompic.php'); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/index_67.jpg" width="19" height="28" /></td>
<td><img src="Bilder/edit2_103.jpg" width="281" height="28" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="Bilder/edit2_104.jpg" width="19" height="90" ></td>
<td valign="top" background="Bilder/poll_bg_109.jpg" width="281" height="90"><?php include('poll.php'); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/edit2_108.jpg" width="19" height="16" /></td>
<td><img src="Bilder/edit2_109.jpg" width="281" height="16" /></td>
</tr>
</table>
</td>
</tr>
</table></td>
<td valign="top" background="Bilder/buffer_ad_110.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td ><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" background="Bilder/buffer_115.jpg"><img src="Bilder/edit2_71.jpg" width="6" height="587" /></td>
<td valign="top" align="center" background="Bilder/edit_74.jpg" style="background-repeat:repeat;" width="142" height="587" ><script type="text/javascript"><!--
google_ad_client = "pub-1474253870049367";
/* */
google_ad_slot = "1307929648";
google_ad_width = 140;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
<td valign="top"><img src="Bilder/edit_75.jpg" width="5" height="587" /></td>
</tr>
</table></td>
</tr>
</table></td>
<td valign="top" background="Bilder/buffer_115.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="457" height="41" valign="top" ><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td background="Bilder/content_47.jpg" width="435" height="41" valign="top" style="background-repeat:no-repeat; background-color:#ffffff; height:100%;">
<?php
if(!isset($site)) $site="news";
$invalide = array('\\','/','/\/',':','.');
$site = str_replace($invalide,' ',$site);
if(!file_exists($site.".php")) $site = "news";
include($site.".php");
?></td>
<td background="Bilder/content_48.jpg" width="22" height="41" ></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Bilder/fooder_113.jpg" width="300" height="35" border="0" usemap="#Map" /></td>
<td><img src="Bilder/fooder_114.jpg" width="153" height="35" /></td>
<td><img src="Bilder/fooder_115.jpg" width="457" height="35" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img src="Bilder/index_74.jpg" width="910" height="117" border="0" usemap="#Map2" /></td>
</tr>
</table></td>
</tr>
</table>
<map name="Map" id="Map">
<area shape="rect" coords="59,3,114,15" href="index.php?site=imprint" />
<area shape="rect" coords="128,3,184,15" href="index.php?site=contact" />
<area shape="rect" coords="207,4,234,14" href="index.php?site=faq" />
</map>
<map name="Map2" id="Map2">
<area shape="rect" coords="405,65,574,79" href="http://www.basic-designs.de/" />
<area shape="rect" coords="192,86,444,104" href="http://www.basic-designs.de/" />
</map>
<script language="javascript">
// set up drop downs anywhere in the body of the page. I think the bottom of the page is better..
// but you can experiment with effect on loadtime.
if (TransMenu.isSupported()) {
//==================================================================================================
// create a set of dropdowns
//==================================================================================================
// the first param should always be down, as it is here
//
// The second and third param are the top and left offset positions of the menus from their actuators
// respectively. To make a menu appear a little to the left and bottom of an actuator, you could use
// something like -5, 5
//
// The last parameter can be .topLeft, .bottomLeft, .topRight, or .bottomRight to inidicate the corner
// of the actuator from which to measure the offset positions above. Here we are saying we want the
// menu to appear directly below the bottom left corner of the actuator
//==================================================================================================
var ms = new TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.reference.bottomLeft);
//==================================================================================================
// create a dropdown menu
//==================================================================================================
// the first parameter should be the HTML element which will act actuator for the menu
//==================================================================================================
var menu1 = ms.addMenu(document.getElementById("liguria"));
menu1.addItem("News ", "index.php?site=news");
menu1.addItem("Artikels", "index.php?site=articles");
menu1.addItem("Kontakt", "index.php?site=contact");
menu1.addItem("Impressum", "index.php?site=imprint");
//==================================================================================================
//==================================================================================================
var menu2 = ms.addMenu(document.getElementById("lombardia"));
menu2.addItem("Team ", "index.php?site=squads");
menu2.addItem("Wars", "index.php?site=clanwars");
menu2.addItem("Server", "index.php?site=server");
menu2.addItem("Über Uns", "index.php?site=about");
menu2.addItem("Sponsoren", "index.php?site=sponsors");
//==================================================================================================
//==================================================================================================
var menu3 = ms.addMenu(document.getElementById("veneto"));
menu3.addItem("Forum", "index.php?site=forum");
menu3.addItem("Guestbook", "index.php?site=guestbook");
menu3.addItem("User ", "index.php?site=registered_users");
menu3.addItem("Gallery", "index.php?site=gallery");
menu3.addItem("Links", "index.php?site=links");
menu3.addItem("Link Us", "index.php?site=linkus");
//==================================================================================================
//==================================================================================================
var menu4 = ms.addMenu(document.getElementById("toscana"));
menu4.addItem("Downloads ", "index.php?site=files");
menu4.addItem("Umfragen", "index.php?site=polls");
menu4.addItem("Gallery", "index.php?site=gallery");
menu4.addItem("Now Online", "index.php?site=whoisonline");
//==================================================================================================
// write drop downs into page
//==================================================================================================
// this method writes all the HTML for the menus into the page with document.write(). It must be
// called within the body of the HTML page.
//==================================================================================================
TransMenu.renderAll();
}
</script>
</body>
</html>