<!--
reload=0;
gSubmenu=0;
gSubSubmenu=0;

dSpectrum=0;
gVisible='';
cSubmenu='';
cSubtext='';
cCorners='';
cBigicon='';
pContent='';
pResize='';
nsLoading=false;
blueID=0;

i=0;
var imgn=new Array();
var txts=new Array();
imgn[i]="";    txts[i++]="";
imgn[i]="ath"; txts[i++]="ATHENA<br>DIE GÖTTLICHE";
imgn[i]="ber"; txts[i++]="BERATUNG<br>KONZEPTE";
imgn[i]="sof"; txts[i++]="SOFTWARE-<br>ENTWICKLUNG";
imgn[i]="int"; txts[i++]="INTERNET<br>INTRANET";
imgn[i]="dat"; txts[i++]="DATEN-<br>ERFASSUNG";
imgn[i]="adr"; txts[i++]="ADRESS-<br>MANAGEMENT";
imgn[i]="crm"; txts[i++]="CRM SYSTEME<br>CRM SERVICE";
imgn[i]="ana"; txts[i++]="STATISTIK<br>ANALYSEN";

function getWH(y)
{
	if (self.innerHeight) // ns + op
	{
	 	if (y) return(self.innerHeight);
		else   return(self.innerWidth);
	}
	else // ie
	{
		if (y) return(document.body.clientHeight);
		else   return(document.body.clientWidth);
	}
}

function getColor(r,g,b)
{
	var x=new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F");
	rcod="#"+x[r>>4]+x[r&15]+x[g>>4]+x[g&15]+x[b>>4]+x[b&15];
	x=null
	return(rcod)
}

function isSWFPluginInstalled()
{
	if (self.innerHeight) // ns + opera
	{
		if (navigator.mimeTypes)
		{
			if (navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) return(true);
		}
	}
	return(SWFPlugin);
}

function onMousemove()
{
	if (window.event)
	{
		mx=window.event.x;
		my=window.event.y;
	}
}

function mouseMove(e)
{
	mx=e.pageX;
	my=e.pageY;
}

function nsOnload()
{
	nsLoading=false;
	document.layers.subtext.releaseEvents(Event.LOAD);
}

function imgSources(fr,to)
{
	var i;
	//
}

function drawCorners(w,h,l)
{
	var s,z1,z2;
	//
	z1='';
	z1+='<tr>';
	z1+='	<td height=1 width=1><img src=/img/lightblue.gif width=1 height=1></td>';
	z1+='	<td width='+(l-1)+'><img src=/img/lightblue.gif width='+(l-1)+' height=1></td>';
	z1+='	<td width='+(w-l-l)+'><img src=/img/null.gif width='+(w-l-l)+' height=1></td>';
	z1+='	<td width='+(l-1)+'><img src=/img/lightblue.gif width='+(l-1)+' height=1></td>';
	z1+='	<td width=1><img src=/img/lightblue.gif width=1 height=1></td>';
	z1+='</tr>';

	z2='';
	z2+='<tr>';
	z2+='	<td height='+(l-1)+'><img src=/img/lightblue.gif width=1 height='+(l-1)+'></td>';
	z2+='	<td colspan=3></td>';
	z2+='	<td><img src=/img/lightblue.gif width=1 height='+(l-1)+'></td>';
	z2+='</tr>';

	s='';
	s+='<table cellpadding=0 cellspacing=0 width='+w+' height='+h+' border=0>';
	s+=z1;
	s+=z2;
	s+='	<tr>';
	s+='		<td height='+(h-l-l)+' colspan=5></td>';
	s+='	</tr>';
	s+=z2;
	s+=z1;
	s+='</table>';

	return(s);
}

function getMenutext(a,b)
{
	switch (a)
	{
	case 1:
		switch (b)
		{
		case 0: return('ATHENA DIE GÖTTLICHE');
		case 1: return('Rechtsform');
		case 2: return('Adresse');
		case 3: return('Kontakt');
		case 4: return('Beteiligungen');
		case 5: return('Referenzen');
		case 6: return('Kompetenzen');
		}
		return(7);
		break;

	case 2:
		switch (b)
		{
		case 0: return('BERATUNG / KONZEPTE');
		case 1: return('Analysen');
		case 2: return('Konzeption');
		case 3: return('Expertisen');
		}
		return(4);
		break;

	case 3:
		switch (b)
		{
		case 0: return('SOFTWARE-ENTWICKLUNG');
		case 1: return('Programmiersprachen');
		case 2: return('Plattformen');
		case 3: return('Datenbanken');
		case 4: return('Datenquellen');
		case 5: return('Künstliche Intelligenz');
		case 6: return('Schnittstellen');
		}
		return(7);
		break;

	case 4:
		switch (b)
		{
		case  0: return('INTERNET/INTRANET');
		case  1: return('Planung');
		case  2: return('Design');
		case  3: return('Plattformen');
		case  4: return('Datenbanken');
		case  5: return('Programmierung');
		case  6: return('Schnittstellen');
		case  7: return('Hosting/ASP');
		case  8: return('E-Marketing');
		case  9: return('Voice Processing');
		case 10: return('3D/Multimedia');
		case 11: return('WebCam/LiveCam');
		case 12: return('Schulung/Vorträge');
		}
		return(13);
		break;

	case 5:
		switch (b)
		{
		case 0: return('DATENERFASSUNG');
		case 1: return('Manuell');
		case 2: return('Scanning/Imaging');
		case 3: return('OCR/ICR/OMR');
		case 4: return('Fulfillment');
		}
		return(5);
		break;

	case 6:
		switch (b)
		{
		case 0: return('ADRESSMANAGEMENT');
		case 1: return('Adresslisten');
		case 2: return('Adressabgleich');
		case 3: return('Adressveredelung');
		case 4: return('Adressmutation');
		case 5: return('Botenroutierung');
		}
		return(6);
		break;

	case 7:
		switch (b)
		{
		case 0: return('CRM SYSTEME+SERVICE');
		case 1: return('Beratung');
		case 2: return('Planung');
		case 3: return('Aufbau');
		case 4: return('Unterhalt');
		}
		return(5);
		break;

	case 8:
		switch (b)
		{
		case 0: return('STATISTIK/ANALYSEN');
		case 1: return('Tabellen/Auswertungen');
		case 2: return('Tests/Analysen');
		case 3: return('Prognosen');
		case 4: return('Modellberechnungen');
		case 5: return('Grafische Aufbereitung');
		}
		return(6);
		break;
	}
	return('');
}

function placeContentNow(nCase,iSubmenu,iSubSubmenu)
{
	var a,b,c,i,n,s,t,u,v,ww,z,h2;
	var nsLoad;
	var fnContent;
	//
	nsLoad='';

	if (document.layers &&  document.layers.length==0) return;
	if (document.all    && !document.all.ownbody     ) return;

	if (nCase==0 && gSubmenu!=0)
	{
		nCase=2;
		iSubmenu   =gSubmenu;
		iSubSubmenu=gSubSubmenu;
	}

	fnContent='/content/'+iSubmenu+'.'+iSubSubmenu+'.html';
	    
	s='';
	t='';
	u='';
	if (nCase)
	{
		if (nCase==1)
		{
			if (document.all)
			{
				if (gVisible!='') eval('document.all.'+gVisible+'.style.visibility="hidden";');
				eval('document.all.sub_'+((gSubmenu==iSubmenu)?'0':'1')+'_'+iSubmenu+'.style.visibility="visible";');
				gVisible='sub_'+((gSubmenu==iSubmenu)?'0':'1')+'_'+iSubmenu;
				document.all.smindex.style.visibility=(iSubmenu==gSubmenu)?'visible':'hidden';
			}
			if (document.layers)
			{
				if (gVisible!='') eval('document.layers.'+gVisible+'.visibility="hide";');
				eval('document.layers.sub_'+((gSubmenu==iSubmenu)?'0':'1')+'_'+iSubmenu+'.visibility="show";');
				gVisible='sub_'+((gSubmenu==iSubmenu)?'0':'1')+'_'+iSubmenu;
				document.layers.smindex.visibility=(iSubmenu==gSubmenu)?'show':'hide';
			}
		}

		if (nCase==2)
		{
			if (document.all)
			{
				eval('o=document.all.M'+iSubmenu+'S'+iSubSubmenu);
				document.all.smindex.style.visibility='visible';
				document.all.smindex.style.top=yTop+o.offsetParent.offsetTop+o.offsetTop;
				
				document.all.sublogo.style.left= 0;
				document.all.midlogo.style.left=-w;
				if (gVisible!='') eval('document.all.'+gVisible+'.style.visibility="hidden";');
				eval('document.all.sub_0_'+iSubmenu+'.style.visibility="visible";');
				gVisible='sub_0_'+iSubmenu;

				if (iSubmenu!=gSubmenu || iSubSubmenu!=gSubSubmenu)
				{
					document.all.subtext.style.visibility="visible";
					document.all.subtext2.src=fnContent;
				}
			}
			if (document.layers)
			{
				document.layers.smindex.visibility='show';
				eval('document.layers.smindex.moveTo(0,yTop+document.layers.sub_0_'+iSubmenu+'.document.anchors.M'+iSubmenu+'S'+iSubSubmenu+'.y)');
				
				document.layers.sublogo.moveTo( 0,document.layers.sublogo.top);
				document.layers.midlogo.moveTo(-w,document.layers.midlogo.top);
				if (gVisible!='') eval('document.layers.'+gVisible+'.visibility="hide";');
				eval('document.layers.sub_0_'+iSubmenu+'.visibility="show";');
				gVisible='sub_0_'+iSubmenu;

				if (iSubmenu!=gSubmenu || iSubSubmenu!=gSubSubmenu)
				{
					document.layers.subtext.visibility="show";
					nsLoad=fnContent;
				}
			}
			gSubmenu   =iSubmenu;
			gSubSubmenu=iSubSubmenu;
		}

		h2=Math.round((0.9-hSpectrum-3*hSeparator)*h)-3;
		if (iSubmenu)
		{
			ww=Math.round(Math.min(160,w*4/25));

			u+='<table width='+Math.round(w/5)+' height='+h2+' cellpadding=0 cellspacing=0 border=0>';
			u+='<tr>';
			u+='	<td height='+Math.round(w/60)+'><img src=/img/null.gif width=1 height='+Math.round(w/60)+'></td>';
			u+='</tr>';
			u+='<tr>';
			u+='	<td align=center height='+ww+'>';
			if (nCase==1 && gSubmenu==0)
			{
				u+=drawCorners(ww,ww,Math.round(w/100));
			}
			else
			{
				if (ww>80) u+='<img src=/img/'+imgn[gSubmenu]+'160.jpg width='+ww+' height='+ww+'>';
				else       u+='<img src=/img/'+imgn[gSubmenu]+'080.jpg width='+ww+' height='+ww+'>';
			}
			u+='	</td>';
			u+='</tr>';
			u+='<tr>';
			u+='	<td align=center valign=top>';
			if (document.all)    u+='<span style="font-size:'+Math.round(w/90)+'px; font-weight:bold; color:'+((nCase==1 && gSubmenu==0)?'#aaaacc':'#ffffff')+'; font-family:verdana, arial, helvetica;"><br>WE GLOBALIZE<br>YOUR WORLD</span>';
			if (document.layers) u+='<font size=-2 face="verdana, arial, helvetica" color='+((nCase==1 && gSubmenu==0)?'#aaaacc':'#ffffff')+'><br>WE GLOBALIZE<br>YOUR WORLD</font>';
			u+='	</td>';
			u+='</tr>';
			u+='<tr>';
			u+='	<td align=center valign=bottom>';
			if (document.all)    u+='<span style="font-size:'+Math.round(w/120)+'px; font-weight:bold; color:#aaaacc; font-family:verdana, arial, helvetica;"><br><br><br>design &middot; programming &middot; hosting<br>by ATHENA: here you are!<br><br></span>';
			if (document.layers) u+='<font size=-4 face="verdana, arial, helvetica" color=#aaaacc><br><br><br>design &middot; programming &middot; hosting<br>by ATHENA: here you are!<br><br></font>';
			u+='	</td>';
			u+='</tr>';
			u+='</table>';
		}

		ww=Math.floor(w/5*3);
		t+='<table cellpadding=0 cellspacing=0 width='+ww+' height='+h2+' border=0>';
		t+='	<tr>';
		t+='		<td width=1 height='+h2+'><img src=/img/lightblue.gif width=1 height='+h2+'></td>';
		t+='		<td width='+(ww-2)+' align=center valign=middle>';
		t+=				drawCorners(ww-2-2*Math.round(w/60),h2-2*Math.round(w/60),Math.round(w/60));
		t+='        </td>';
		t+='		<td width=1><img src=/img/lightblue.gif width=1 height='+h2+'></td>';
		t+='	</tr>';
		t+='</table>';
	}
	else
	{
		if (gSubmenu==0)
		{
			if (document.all   ) document.all.sublogo.style.left=-w;
			if (document.layers) document.layers.sublogo.moveTo(-w,document.layers.sublogo.top);
			if (document.all)
			{
				if (gVisible!='') eval('document.all.'+gVisible+'.style.visibility="hidden";');
				gVisible='';

				document.all.smindex.style.visibility='hidden';
			}
			if (document.layers)
			{
				if (gVisible!='') eval('document.layers.'+gVisible+'.visibility="hide";');
				gVisible='';

				document.layers.smindex.visibility='hide';
			}
		}
	}

	if (document.all)
	{
		if (cSubmenu!=s) document.all.submenu.innerHTML=s;
		if (cCorners!=t) document.all.corners.innerHTML=t;
		if (cBigicon!=u) document.all.bigicon.innerHTML=u;
	}

	if (document.layers)
	{
		if (cSubmenu!=s)
		{
			document.layers.submenu.document.open();
			document.layers.submenu.document.writeln(s);
			document.layers.submenu.document.close();
		}

		if (cCorners!=t)
		{
			document.layers.corners.document.open();
			document.layers.corners.document.writeln(t);
			document.layers.corners.document.close();
		}

		if (cBigicon!=u)
		{
			document.layers.bigicon.document.open();
			document.layers.bigicon.document.writeln(u);
			document.layers.bigicon.document.close();
		}
	}

	if (nsLoad!='' && nsLoading==false)
	{
		nsLoading=true;
		document.layers.subtext.onload=nsOnload();
		document.layers.subtext.captureEvents(Event.LOAD);
		document.layers.subtext.load(nsLoad,document.layers.subtext.clip.width);
	}

	cSubmenu=s;
	cCorners=t;
	cBigicon=u;
	cSubtext=v;
}

function placeContent(nCase,iSubmenu,iSubSubmenu)
{
	pContent='placeContentNow('+nCase+','+iSubmenu+','+iSubSubmenu+')';
}

function createSingle(n,type,l,t,w,h,i,s,c,bVisible,bMove)
{
	var z,r,o;
	//
	if (document.all)
	{
		if (bMove) eval('o=document.all.'+n);
		else       o=document.createElement(type);

		o.id=n;
		o.style.position='absolute';
		o.style.left=l;
		o.style.top=t;
		o.style.width=w;
		o.style.height=h;
		o.style.zIndex=i;
		o.style.visibility=(bVisible)?'visible':'hidden';
		o.style.overflow='hidden';
		if (c!='') o.style.background=c;
		if (!bMove) document.body.appendChild(o);
		if (s!='' && type!='IFRAME') o.innerHTML=s;
	}
	
	if (document.layers)
	{
		eval('o=document.layers.'+n+'=new Layer(0)');
		o.zIndex=i;
		o.moveTo(l,t);
		o.resize(w,h);
		o.visibility=((bVisible)?'show':'hide');
		if (c!='') o.bgColor=c;
		if (s!='')
		{
			o.document.open();
			o.document.writeln(s);
			o.document.close();
		}
	}
}

function timerFunction()
{
	var h2,i,ii,o;
	//
	h2=Math.round(hSpectrum*h);
	if (document.all)
	{
		for (i=0;i<nSpectrum;i++)
		{
			eval('o=document.all.L'+i+'.style');
			if (i&1)
			{
				o.left =parseInt(o.left )+dSpectrum;
				o.width=parseInt(o.width)-dSpectrum;
			}
			else
			{
				o.width=parseInt(o.width)+dSpectrum;
			}
		}
		if (parseInt(document.all.L0.style.width)>w/nSpectrum*1.5) dSpectrum=-dSpectrum;
		if (parseInt(document.all.L0.style.width)<w/nSpectrum*0.5) dSpectrum=-dSpectrum;
	}
	if (document.layers)
	{
		for (i=0;i<nSpectrum;i++)
		{
			eval('o=document.layers.L'+i);
			if (i&1)
			{
				o.moveTo(o.left+dSpectrum,ySpectrum);
				o.resize(o.clip.width-dSpectrum,h2);
			}
			else
			{
				o.resize(o.clip.width+dSpectrum,h2);
			}
		}
		if (document.layers.L0.clip.width>w/nSpectrum*1.5) dSpectrum=-dSpectrum;
		if (document.layers.L0.clip.width<w/nSpectrum*0.5) dSpectrum=-dSpectrum;
	}

	i=mx+w/15-tw;
	if (xAdress<i-2 || xAdress>i+2)
	{
		if (document.all)
		{
			if (document.all.adressL && document.all.adressR)
			{
				i=mx+w/15-tw;
				ii=parseInt(document.all.adressL.style.left);
				if (i!=ii) document.all.adressL.style.left=Math.round((ii*3+i)/4);

				i=mx+w/15+1;
				ii=parseInt(document.all.adressR.style.left);
				if (i!=ii)
				{
					document.all.adressR.style.left=Math.round((ii*3+i)/4);
					ii=parseInt(document.all.adressR.style.left);
					if (w>ii) document.all.adressR.style.width=w-ii;
				}
				xAdress=parseInt(document.all.adressL.style.left);
			}
		}

		if (document.layers)
		{
			if (document.layers.adressL && document.layers.adressR)
			{
				i=mx+w/15-tw;
				ii=document.layers.adressL.left;
				if (i!=ii) document.layers.adressL.moveTo(Math.round(Math.round((ii*3+i)/4)),yAdress);

				i=mx+w/15+1;
				ii=document.layers.adressR.left;
				if (i!=ii)
				{
					h2=Math.round(0.1*h);
					document.layers.adressR.moveTo(Math.round((ii*3+i)/4),yAdress);
					ii=document.layers.adressR.left;
					if (w>ii) document.layers.adressR.resize(w-ii,h2);
				}
				xAdress=document.layers.adressL.left;
			}
		}
	}

	if (pContent!='')
	{
		eval(pContent);
		pContent='';
	}

	if (pResize!='')
	{
		eval(pResize);
		pResize='';
	}

	setTimeout('timerFunction();',120);
}

function startPage(bMove)
{
	var i,j,k,s,c,n,s1,s2,ns;
	var h1,h2,h3,hh;
	var t1,t2,t3,t4,t5,t6;
	//
	w=getWH(false);
	h=getWH(true );
	mx=w/2;
	tw=w*2;
	dSpectrum=Math.round(w/1000+1);
    
    ns='href="#1" name="1"';
    
	s='';
	h1=0;
	s+='<table width='+w+' height='+h+' border=0 cellpadding=0 cellspacing=0>';

	h2=Math.round(hSeparator*h);
	s+='<tr bgcolor=#000040><td height='+h2+'><img src=/img/null.gif height=1 border=0><br></td></tr>';
	h1+=h2;

	h2=1;
	s+='<tr bgcolor=#aaaacc><td height='+h2+'><img src=/img/null.gif height=1 border=0><br></td></tr>';
	h1+=h2;

	yTop=h1;

	h2=Math.round((1.0-hAdress-hSpectrum-3*hSeparator)*h)-3;
	s+='<tr bgcolor=#000080>';
	s+='<td height='+h2+' align=center valign=bottom>';
	s+='&nbsp;</td>';
	s+='</tr>';
	h1+=h2;

	h2=1;
	s+='<tr bgcolor=#aaaacc><td height='+h2+'><img src=/img/null.gif height=1 border=0><br></td></tr>';
	h1+=h2;

	h2=Math.round(hSeparator*h);
	s+='<tr bgcolor=#000040><td height='+h2+' align=center valign=middle><a href="#" onclick="placeContentNow(2,4,11);return(false);"><font face=verdana,arial,helvetica size=-1 color=#ffffff><b></b></font></a><br></td></tr>';
	h1+=h2;

	yAdress=h1;
	h2=Math.round(hAdress*h)-3;
	s+='<tr bgcolor=#ffffff><td height='+h2+'>&nbsp;</td></tr>';
	h1+=h2;

	ySpectrum=h1;
	h2=Math.max(1,Math.round(hSpectrum*h));
	s+='<tr><td height='+h2+'><img src=/img/null.gif height=1 border=0><br></td></tr>';
	h1+=h2;

	// <img loop=infinite src=/img/spectrum.gif width='+(Math.ceil(w/20)*20)+' height='+h2+'>

	h2=1;
	s+='<tr bgcolor='+((hSpectrum>0)?'#aaaacc':'#000040')+'><td height='+h2+'><img src=/img/null.gif height=1 border=0><br></td></tr>';
	h1+=h2;

	h2=h-h1;
	s+='<tr bgcolor=#000040><td height='+h2+' align=center valign=middle><img src=/img/null.gif height=1 border=0><br></td></tr>';
	h1+=h2;
	s+='</table>';

	createSingle('ownbody','DIV',0,0,w,h,0,s,'',true,bMove);

	h2=Math.round(hAdress*h);
	st='font-size:'+Math.max(2,Math.floor(w/tx))+'px; color:#000040; font-family:verdana, arial, helvetica;';

	t1='';
	t1+='<table cellpadding=0 cellspacing=0 border=0 width='+tw+' height='+h2+'><tr><td valign=middle align=right>';
	t1+='<nobr><span style="'+st+'"><b>ATHENA AG Data-Engineering + Consulting</b>&nbsp;<b>&middot;</b>&nbsp;Bellerivestrasse 2&nbsp;<b>&middot;</b>&nbsp;CH-8008 Zürich&nbsp;<b>&middot;</b>&nbsp;Tel +41 44 389 63 63&nbsp;<b>&middot;</b>&nbsp;Fax +41 44 389 63 64&nbsp;<b>&middot;</b>&nbsp;Email <a href="mailto:info@athena.ch"><span style="'+st+'">info@athena.ch</span></a>&nbsp;<b>&middot;</b></span></nobr>';
	t1+='</td></tr></table>';

	t2='';
	t2+='<table cellpadding=0 cellspacing=0 border=0 width='+tw+' height='+h2+'><tr><td valign=middle align=left>';
	t2+='<nobr><span style="'+st+'">&nbsp;<b>ATHENA AG Data-Engineering + Consulting</b>&nbsp;<b>&middot;</b>&nbsp;Bellerivestrasse 2&nbsp;<b>&middot;</b>&nbsp;CH-8008 Zürich&nbsp;<b>&middot;</b>&nbsp;Tel +41 44 389 63 63&nbsp;<b>&middot;</b>&nbsp;Fax +41 44 389 63 64</span></nobr>';
	t2+='</td></tr></table>';

	t3='';
	ww=(w-40-40)/8;
	h2=Math.round(hSpectrum*h);
	h3=Math.min(80,Math.min(ww-4,h2/1.5));
	st='font-size:'+Math.max(2,Math.floor(w/120))+'px; color:#ffffff; font-family:verdana, arial, helvetica;';
	t3+='<table width='+w+' height='+h2+' cellpadding=0 cellspacing=0 border=0>';
	t3+='<tr><td colspan=10 height='+(h2-h3-w/50)/2+'><img src=/img/null.gif width=1 height=1 border=0><br></td></tr>';
	t3+='<tr>';
	t3+='<td height='+h3+' align=center valign=middle><img src=/img/null.gif width=40 height=1 border=0><br></td>';
	for (i=1;i<=8;i++) t3+='<td align=center valign=middle width='+ww+'><a '+ns+' onclick="placeContentNow(2,'+i+',0);return(false);" onmouseover="placeContent(1,'+i+',0);" onmouseout="placeContent(0,0,0);"><img src=/img/'+imgn[i]+'080.jpg width='+h3+' border=0><br></a></td>';
	t3+='<td align=center valign=middle><img src=/img/null.gif width=40 height=1 border=0><br></td>';
	t3+='</tr>';
	t3+='<tr height='+(w/50)+'>';
	t3+='<td align=center valign=middle><img src=/img/null.gif width=40 height=1 border=0><br></td>';
	for (i=1;i<=8;i++) t3+='<td align=center valign=middle><span style="'+st+'">'+txts[i]+'</span><br></td>';
	t3+='<td align=center valign=middle><img src=/img/null.gif width=40 height=1 border=0><br></td>';
	t3+='</tr>';
	t3+='<tr><td colspan=10 height='+(h2-h3-w/50)/2+'><img src=/img/null.gif width=1 height=1 border=0><br></td></tr>';
	t3+='</table>';
	
	t4='';

	t5='';
	t5+='<table width='+(w/5)+' height='+(w/20)+' cellpadding=0 cellspacing=0 border=0>';
	t5+='<tr><td width='+(w/5)+' height='+(w/20)+' align=center valign=middle>';

	h2=Math.round((0.9-hSpectrum-3*hSeparator)*h)-3;
	ww=Math.min(520,Math.round(w*2/5));
	hh=Math.min(130,Math.round(ww/4));
	if (ww/hh < 1.0/4.0) hh=Math.round(ww/4);
	if (ww/hh > 1.0/4.0) ww=Math.round(hh*4);
	if   (isSWFPluginInstalled())
	{
		if (bMove)
		{
			if (document.all)
			{
				document.all.midlogo.document.all.myembed.width =ww;
				document.all.midlogo.document.all.myembed.height=hh;
			}
			if (document.layers)
			{
				document.midlogo.myembed.width =ww;
				document.midlogo.myembed.height=hh;
			}
		}
		else t4+='<embed name=myembed src=/swf/logo.swf width='+ww+' height='+hh+' type=application/x-shockwave-flash><br>';
		t5+='<embed src=/swf/logo.swf width='+(Math.round(w/25)*4+4)+' height='+Math.round(w/25+1)+' type=application/x-shockwave-flash>';
	}
	else
	{
		t4+='<img src=/img/athenalogo-negativ.gif width='+ww+' height='+hh+' border=0><br>';
		t5+='<img src=/img/athenalogo-negativ.gif width='+(Math.round(w/25)*4)+' height='+Math.round(w/25)+' border=0>';
	}

	t5+='</td></tr>';
	t5+='</table>';

	h2=Math.round(hAdress*h);
	createSingle('adressL','DIV',-tw+mx,yAdress,tw,h2,0,t1,'',true,bMove);
	createSingle('adressR','DIV',mx+1,yAdress,w-mx,h2,0,t2,'',true,bMove);

	h2=Math.max(1,Math.round(hSpectrum*h));
	createSingle('bilder','DIV',0,ySpectrum,w,h2,1,t3,'',true,bMove);
	for (i=0;i<nSpectrum;i++)
	{
		createSingle('L'+i,'DIV',Math.round(w*i/nSpectrum),ySpectrum,Math.ceil(w/nSpectrum),h2,0,'&nbsp;',getColor(Math.round(128/19*i),Math.round(128/19*i),64+Math.round(128/19*i)),true,bMove);
	}
	
	h2=Math.round((1.0-hAdress-hSpectrum-3*hSeparator)*h)-3;
	createSingle('midlogo','DIV',(w-ww)/2,(h2-hh)/2,ww,hh*6/5,3,(bMove)?'':t4,'',true,bMove);

	ww=w/25;

	s1='';
	s1+='<table width='+(w/5)+' cellpadding=0 cellspacing=0 border=0>';
	s1+='<tr>';
	s1+='	<td colspan=3 height='+Math.round(w/60)+'><img src=/img/null.gif width=1 height='+Math.round(w/60)+'></td>';
	s1+='</tr>';
	s1+='<tr>';
	s1+='	<td width='+(w/50 )+' height='+(w/20)+'><img src=/img/null.gif width='+w/50+' height=1></td>';
	s1+='	<td width='+(ww*4)+' align=left valign=middle align=center>';

	hh=Math.max(2,Math.floor(w/tx));
	for (j=0;j<2;j++)
	{
		if (j==0) c='#ffffff';
		else      c='#aaaacc';
		if (document.all   ) st='font-size:'+hh+'px; color:'+c+'; line-height:150%; font-weight:bold; font-family:verdana, arial, helvetica; text-decoration:none;';
		if (document.layers) st='font-size:'+hh+'px; color:'+c+'; line-height:120%; font-weight:bold; font-family:verdana, arial, helvetica; text-decoration:none;';

		s2='';
		s2+='	</td>';
		s2+='	<td width='+(w/50 )+'><img src=/img/null.gif width='+(w/50)+' height=1></td>';
		s2+='</tr>';
		s2+='<tr height='+(h2/22)+'>';
		s2+='	<td></td>';
		s2+='	<td>';
		s2+='		<a href="http://www.athena.ch"><span style="'+st+'"><br>HOME<br><br></span></a>';
		s2+='	</td>';
		s2+='	<td></td>';
		s2+='</tr>';

		for (i=1;i<=8;i++)
		{
			s='';
			s+=s1;
						
			if (j==0) s+='&nbsp;';
			else      s+=drawCorners(Math.round(ww*4),Math.round(ww),Math.round(w/100));
			
			s+=s2;

			s+='<tr height='+(h2/22)+'>';
			s+='	<td></td>';
			s+='	<td>';
						
			n=getMenutext(i,-1);
			for (k=0;k<n;k++)
			{ 
				ns='href="#M'+i+'S'+k+'" name="M'+i+'S'+k+'"'
				if (j==0) s+='<a '+ns+' onclick="placeContentNow(2,'+i+','+k+');return(false);">';
				s+='<span style="'+st+'">'+((k==0)?'':'&nbsp;&middot;&nbsp;')+getMenutext(i,k)+'<br></span>';
				if (j==0) s+='</a>';
			}

			s+='	</td>';
			s+='	<td></td>';
			s+='</tr>';
			s+='</table>';
			createSingle('sub_'+j+'_'+i,'DIV',0,yTop,w/5,h2,0,s,'',false,bMove);
		}
	}

	ww=Math.round(w/60);
	createSingle('sublogo','DIV',-w,yTop+ww,w/5,w/20,1,t5,'',true,bMove);
	createSingle('corners','DIV',w/5,yTop,w/5*3,h2,0,'&nbsp;','',true,bMove);
	createSingle('bigicon','DIV',w*4/5,yTop,w/5,h2,0,'&nbsp;','',true,bMove);

	createSingle('subtext','DIV',w/5+ww-1,yTop+ww-1,w/5*3-ww-ww+2,h2-ww-ww+2,2,'<iframe id=subtext2 width=100% height=100%></iframe>','',false,bMove);

	hh=Math.max(2,Math.floor(w/tx*1.3));
	t6='';
	t6+='<table width='+Math.round(w/5)+' height='+hh+' cellpadding=0 cellspacing=0 border=0>';
	t6+='<tr><td align=left valign=middle><img src=/img/lightblue.gif width='+(w/100)+' height=1></td><td align=right valign=middle><img src=/img/lightblue.gif width='+(w/100)+' height=1></td></tr>';
	t6+='</table>';
	createSingle('smindex','DIV',0,0,w/5,hh,2,t6,'',false,bMove);

	if (gSubmenu>0)
	{
		i=gSubmenu;
		j=gSubSubmenu;
		gSubmenu=0;
		gSubSubmenu=0;
		placeContentNow(2,i,j);
	}
}

if (document.layers)
{
    document.onmousemove=mouseMove;
	document.captureEvents(Event.MOUSEMOVE);
}

bLoaded=true;
// -->
