

var copyrightMessage 	= "Text- und Bildmaterial ©2007, 2008, 2009, 2010 AIRSOFT TEAM AUGSBURG e.V.\n\n Grafik, Design und Programmierung: Mike Dogan / X-PRESSIVE.COM\n\n Sämtliches Text- und Bildmaterial auf diesen Seiten unterliegt den Urheberrechtsbestimmungen der Bundesrepublik Deutschland.\n Nutzung und Vervielfältigung nur mit ausdrücklicher schriftlicher Genehmigung des Vorstands.\n\nBei unerlaubter Nutzung, Entwendung oder Vervielfältigung behält sich der Verein rechtliche Schritte vor.";
var teamName 		= "AIRSOFT TEAM AUGSBURG e.V.";
var pageTitle		= "";
var allowKeyboard 	= false;

function printHeader(page, allowKeys)
	{
	allowKeyboard = (allowKeys == undefined || allowKeys == false)? false : true;
	//document.write('<script language="javascript" type="text/javascript" src="snowstorm.js"></script>');

	document.write('<BR>\n');
	document.write('<CENTER>\n');
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" \n');
	document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" \n');
	document.write('WIDTH  = "800"  \n');
	document.write('HEIGHT = "100"  \n');
	document.write('id     = "MOVIE" \n');
	document.write('ALIGN  = "CENTER"    > \n');
	document.write('<PARAM NAME = "MOVIE"   VALUE = "title_winter.swf"> \n');
	document.write('<PARAM NAME = "menu"    VALUE = "false"    > \n');
	document.write('<PARAM NAME = "quality" VALUE = "high"     > \n');
	document.write('<PARAM NAME = "scale"   VALUE = "exactfit" > \n');
	document.write('<PARAM NAME = "bgcolor" VALUE = "#544F44"  > \n');
	document.write('<PARAM NAME = "wmode"   VALUE = "transparent"  > \n');
	document.write('<EMBED src="title.swf" \n');
	document.write('wmode   = transparent \n');
	document.write('menu    = false \n');
	document.write('quality = high \n');
	document.write('scale   = "exactfit" \n');
	document.write('swLiveConnect=true \n');
	document.write('bgcolor = "#544F44" \n');
	document.write('WIDTH   = "800" \n');
	document.write('HEIGHT  = "100" \n');
	document.write('NAME    = "MOVIE" \n');
	document.write('TYPE    = "application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> \n');
	document.write('</EMBED> \n');
	document.write('</OBJECT>');
	document.write('</CENTER>\n');

	document.write('<BR>\n');
	
	document.write('<TABLE ALIGN="CENTER" WIDTH="80%"><TR><TD>\n');
	document.write('<TABLE WIDTH="100%" CELLPADDING="2" CELLSPACING="0" CLASS="forumline">\n');
	document.write('<thead><CAPTION><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%" CLASS="forumheader"><TR>\n');

	if (page == "welcome")
		{
		pageTitle = teamName + " - WILLKOMMEN";
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid" STYLE="background: url(images/hdr_mid_selected.gif) left bottom repeat-x;">Willkommen</TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}
	else
		{
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid"><A HREF="index.html">Willkommen</A></TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}

	if (page == "news")
		{
		pageTitle = teamName + " - NEWS";
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid" STYLE="background: url(images/hdr_mid_selected.gif) left bottom repeat-x;">News</TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}
	else
		{
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid"><A HREF="news.html">News</A></TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}

	if (page == "about")
		{
		pageTitle = teamName + " - &Uuml;BER UNS";
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid" STYLE="background: url(images/hdr_mid_selected.gif) left bottom repeat-x;"><NOBR>&Uuml;ber uns</NOBR></TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}
	else
		{
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid"><A HREF="about.html"><NOBR>&Uuml;ber uns</NOBR></A></TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}

	if (page == "membership")
		{
		pageTitle = teamName + " - MITGLIED WERDEN";
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid" STYLE="background: url(images/hdr_mid_selected.gif) left bottom repeat-x;">Mitgliedschaft</TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}
	else
		{
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid"><A HREF="membership.html">Mitgliedschaft</A></TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}

	if (page == "forum")
		{
		pageTitle = teamName + " - AIRSOFT FORUM";
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid" STYLE="background: url(images/hdr_mid_selected.gif) left bottom repeat-x;">Forum</TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}
	else
		{
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid"><A HREF="http://forum.augsburg-airsoft.de/">Forum</A></TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}

	if (page == "gallery")
		{
		pageTitle = teamName + " - GALERIE";
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid" STYLE="background: url(images/hdr_mid_selected.gif) left bottom repeat-x;">Galerie</TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}
	else
		{
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid"><A HREF="gallery.html">Galerie</A></TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}

	if (page == "lexikon")
		{
		pageTitle = teamName + " - LEXIKON";
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid" STYLE="background: url(images/hdr_mid_selected.gif) left bottom repeat-x;">Lexikon</TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}
	else
		{
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid"><A HREF="lexikon.html">Lexikon</A></TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}

	if (page == "contact")
		{
		pageTitle = teamName + " - KONTAKT";
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid" STYLE="background: url(images/hdr_mid_selected.gif) left bottom repeat-x;">Kontakt</TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right_selected.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}
	else
		{
		document.write('<TD ALIGN="LEFT"   VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_left.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		document.write('<TD ALIGN="CENTER" CLASS="forumheader-mid"><A HREF="contact.html">Kontakt</A></TD>\n');
		document.write('<TD ALIGN="RIGHT"  VALIGN="BOTTOM" WIDTH="25"><IMG SRC="images/hdr_right.gif" WIDTH="25" HEIGHT="27" ALT="" /></TD>\n');
		}
		
	if (pageTitle == "")
		{
		pageTitle = (page != "")? teamName + " - " + page.toUpperCase() : teamName.toUpperCase(); 
		}

	document.write('</TR></TABLE></CAPTION></thead><tbody><TR>\n');
	document.write('<TH WIDTH="100%" COLSPAN="2">\n');
	document.write('<B>'+pageTitle+'</B>\n');
	document.write('</TH></TR></tbody></TABLE>\n');

	}
	
	
function printCopyright()
	{
	document.write('<P><BR><CENTER><SPAN CLASS="gensmall">Text & Bildmaterial ©2007, 2008, 2009, 2010 AIRSOFT TEAM AUGSBURG e.V.<BR>Grafik, Design & Programmierung: Mike Dogan / X-PRESSIVE.COM Games & Entertainment <BR>Verwendung und Vervielfältigung ohne schriftliche Genehmigung des Vorstands ausdrücklich<BR>untersagt gem. Urheberrechtsbestimmungen der Bundesrepublik Deutschland.<BR><BR> <A HREF="http://www.x-pressive.com/" TARGET="_blank">&copy; X-PRESSIVE.COM</A></SPAN></CENTER><BR>\n');
	}

function printFooter()
	{
	document.write('</TD></TR></TABLE></P><BR>\n');
	}


// COPYRIGHT NOTICE (KEY HIT)
function keypressed()
	{
	if (allowKeyboard == false) alert(copyrightMessage);
	}
document.onkeydown=keypressed;


// COPYRIGHT MESSAGE (MOUSE CLICK)
function click(e)
	{
	if (document.all)
		{
		if (event.button == 2)
			{
			alert(copyrightMessage);
			return false;
			}
		}

	if (document.layers)
		{
		if (e.which == 3)
			{
			alert(copyrightMessage);
			return false;
			}
		}
	}

if (document.layers)
	{
	document.captureEvents(Event.MOUSEDOWN);
	}
	document.onmousedown=click;
	
	
