// argus core functions

function pasteHeader(mode) {
	if (mode) {
		mode="fast"; 
		info = "&nbsp";
	} else {
		mode="slow";
		info = 'Sie ben&ouml;tigen den Macromedia Flash Player (<a href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&P5_Language=English&Lang=German&P5_Language=German" target="_blank">download</a>) ab Version 6.0';
		if (browser != "IE") info = info + "<br>sowie den Microsoft Internet Explorer ";
		info = info + '<br>um alle Extras dieser Seite betrachten zu k&ouml;nnen!';
	}
	
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">');
	if (res > 0) {
		document.write('	<tr height="100">');
		document.write('		<td width="40%" height="90" style="background-image: url(./gfx/topleft.gif); background-position: top right; background-repeat: repeat-x">');
		document.write('			<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%" style="table-layout: fixed">');
		document.write('				<tr><td style="background-image: url(./gfx/topleft.jpg); font-size: 1px; background-position: top right; background-repeat: no-repeat">&nbsp;</td></tr>');
		document.write('			</table>');
		document.write('		</td>');
		document.write('		<td width="780" valign="top" height="100"><img src="gfx/top.jpg" alt="" width="780" height="100" border="0" style="margin: 0px; padding: 0px"></td>');
		document.write('		<td width="60%" height="100" style="background-image: url(./gfx/topright.jpg); background-position: top left; background-repeat: no-repeat; background-color: #E0CD64">&nbsp;</td>');
		document.write('	</tr>');
	}
	
	document.write('	<tr height="472">');
	document.write('		<td align="right" valign="top" width="40%" height="472" background="gfx/lineleft.gif">');
	document.write('			<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%" style="table-layout: fixed">');
	document.write('				<tr>');
	document.write('					<td style="background-image: url(./gfx/topleft2.jpg); font-size: 1px; background-position: top right; background-repeat: no-repeat">&nbsp;</td>');
	document.write('				</tr>');
	document.write('			</table>');
	document.write('		</td>');
	document.write('		<td valign="top" width="780" height="472">');
	document.write('			<table width="462" border="0" cellspacing="0" cellpadding="0">');
	document.write('				<tr height="148">');
	document.write('					<td width="462" height="148" background="gfx/bg.jpg">');
	
	if (flash && browser == "IE") {
		document.write('						<object id="topfilm" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="148" width="780">');
		document.write('							<param name="movie" value="gfx/swf/top.swf?mode='+mode+'">');
		document.write('							<param name="quality" value="best">');
		document.write('							<param name="play" value="true">');
		document.write('							<param name="menu" value="false">');			
		document.write('							<param name="wmode" value="transparent">');			
		document.write('							<embed id="topfilm" height="148" pluginspage="http://www.macromedia.com/go/getflashplayer" src="gfx/swf/top.swf?mode='+mode+'" type="application/x-shockwave-flash" width="780" quality="best" play="true" menu="false"> ');
		document.write('						</object>');
	} else {
		document.write('						<table width="780" border="0" cellspacing="0" cellpadding="0" height="148">');
		document.write('							<tr height="94">');
		document.write('								<td rowspan="2" width="141"><a href="home.html"><img src="gfx/logo.jpg" alt="" width="141" height="148" border="0"></a></td>');
		document.write('								<td class="links" valign="bottom" width="639" height="94" background="gfx/links.jpg" style="padding-bottom:2px"><a href="home.html">HOME</a>&nbsp;&middot;&nbsp;<a href="leistungen.html">LEISTUNGEN</a>&nbsp;&middot;&nbsp;<a href="referenzen.html">REFERENZEN</a>&nbsp;&middot;&nbsp;<a href="partner.html">PARTNER</a>&nbsp;&middot;&nbsp;<a href="kontakt.html">KONTAKT</a>&nbsp;&middot;&nbsp;<a href="impressum.html">IMPRESSUM</a></td>');
		document.write('							</tr>');
		document.write('							<tr height="54">');
		document.write('								<td align="left" valign="top" width="639" height="54" background="gfx/underlinks1.jpg"><span style="font-size:9px; color: #83764A">'+info+'</span></td>');
		document.write('							</tr>');
		document.write('						</table>');
	}
	
	document.write('				</td></tr>');
	document.write('				<tr height="278">');
	document.write('					<td align="left" valign="middle" width="462" height="278" style="background-color: #F6F0D1">');
}

function pasteFooter(hl) {
	if (hl == false) hl = "home";
	document.write('					</td>');
	document.write('				</tr>');
	document.write('				<tr height="46">');
	document.write('					<td valign="top" width="462" height="46" background="gfx/footer.jpg"><img style="position:relative; top: -19px; left: 5px" src="gfx/h_'+hl+'.gif" alt="" width="288" height="19" border="0"></td>');
	document.write('				</tr>');
	document.write('			</table>');
	document.write('		</td>');
	document.write('		<td valign="top" width="60%" height="472" background="gfx/lineright.gif">');
	document.write('			<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%" style="table-layout: fixed">');
	document.write('				<tr><td style="background-image: url(./gfx/topright2.jpg); font-size: 1px; background-position: top left; background-repeat: no-repeat">&nbsp;</td></tr>');
	document.write('			</table></td>');
	document.write('	</tr>');
	document.write('	<tr height="100%">');
	document.write('		<td height="100%" class="bottom" width="40%">');
	document.write('			<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%" style="table-layout: fixed">');
	document.write('				<tr><td style="background-image: url(./gfx/copyright.gif); font-size: 1px; background-position: left bottom; background-repeat: no-repeat">&nbsp;</td></tr>');
	document.write('			</table>');
	document.write('		</td>');
	document.write('		<td height="100%" class="bottom" width="780" style="font-size: 1px">&nbsp;</td>');
	document.write('		<td height="100%" class="bottom" width="60%" style="font-size: 1px">&nbsp;</td>');
	document.write('	</tr>');
	document.write('</table>');
}