var ie4=document.all?1:0;
var ie5=false;
if ((ie4)&&(navigator.userAgent.indexOf('MSIE 4')<=0)) {ie5=true;}
var ns6=document.getElementById&&!document.all?1:0;
var opera=false;
var fup_slide_init_complete=false;
var fup_slide_link_on=null;
var fup_slide_current=0;
var fup_slide_forms_timer=null;
var fup_slide_forms_hidden=false;
var fup_slide_div=new Array(20);
var fup_slide_width=new Array(20);
var fup_slide_height=new Array(20);
var fup_slide_maxy=new Array(20);
var fup_slide_miny=new Array(20);
var fup_slide_status=new Array(20);
var fup_slide_pushit=new Array(20);
var fup_slide_pullit=new Array(20);
var fup_slide_lo_stack=new Array(20);
var fup_slide_content=new Array();
fup_slide_content[0]=new Array("know how","","nav_2_hl","virus, malware & spamschutz","/magazin/artikel_thema_sec_virus_malware.html","","themen & trends","/magazin/artikel_thema_sec_trends.html","","projekte","/magazin/artikel_thema_sec_case_studies.html","","sicherheitskultur","/magazin/artikel_thema_sec_culture.html","","roundtables","/magazin/artikel_thema_sec_roundtables.html","","it-recht","/magazin/artikel_thema_sec_law.html","","compliance & governance","/magazin/artikel_thema_sec_compliance.html","","studien & markt","/magazin/artikel_thema_sec_studies_market.html","","datenschutz","/magazin/artikel_thema_sec_data_security.html","","sicherheitstechnik","/magazin/artikel_thema_sec_safety.html","","mobile sicherheit","/magazin/artikel_thema_sec_mobile.html","","sichere automation","/magazin/artikel_thema_sec_automation.html","","risikomanagment","/magazin/artikel_thema_sec_riskmanagment.html","","biometrie","/magazin/artikel_thema_sec_biometric.html","","messen & veranstaltungen","/magazin/artikel_thema_sec_events.html","","firewall & vpn","/magazin/artikel_thema_sec_firewall.html","","content & web security","/magazin/artikel_thema_sec_content.html","","archiv","/magazin/artikel_archiv_2010.html","","suche","/magazin/artikel_suche.html","","news","","nav_2_hl","news aktuell","/magazin/news_aktuell.html","","news archiv","/magazin/news_archiv_2010_03.html","","suche","/magazin/news_suche.html","","news für ihre website","/magazin/news_syn.html","","veranstaltungen","","nav_2_hl","übersicht","/magazin/veranstaltungen.html","","sicherheitswarnungen","","nav_2_hl","sicherheitswarnungen","/magazin/security_alerts.html","","viren atlas","/magazin/virus_map.html","","virusquartett","/magazin/virusquartett.html","");
fup_slide_content[1]=new Array("marktübersicht","","nav_2_hl","produkte und anbieter","/itguide/marktuebersicht.html","","produktfinder","/itguide/produktfinder.html","","produktvergleich","/itguide/produktvergleich.html","","marktanalyse","/itguide/marktanalyse.html","","suche","/itguide/marktuebersicht_suche.html","","dienstleister","","nav_2_hl","verzeichnis","/itguide/dienstleister_verzeichnis.html","","plz-index","/itguide/dienstleister_plz.html","","suche","/itguide/dienstleister_suche.html","","specials","","nav_2_hl","portscan","/magazin/portscan.html","","antivirus und malware","/itguide/special_antivirus_malware.html","","sicherheit in der unternehmenskultur","/itguide/special_security_awareness.html","","stellenmarkt","","nav_2_hl","stellenangebote","/itguide/stellenangebote.html","","stellengesuche","/itguide/stellengesuche.html","");
fup_slide_content[2]=new Array("foren","","nav_2_hl","it-security forum","/community/forum/12.html","","magazin-forum","/community/forum/13.html","","suche","/community/forum/search.php","","experten","","nav_2_hl","übersicht","/community/experten.html","","experte werden","/community/experten_anmeldung.html","","umfragen","","nav_2_hl","aktuelle umfrage","/community/umfrage_aktuell.html","","archiv","/community/umfrage_archiv.html","","newsletter","","nav_2_hl","kostenlos abonnieren","/community/newsletter.html","","archiv","/community/newsletter_archiv.html","");
fup_slide_content[3]=new Array("weitere informationen","","nav_2_hl","glossar","/ressourcen/glossar.html","","studien","/ressourcen/studien.html","","bücher","/ressourcen/buecher.html","","anmelden","","nav_2_hl","ressource eintragen","/ressourcen/ressource_eintragen.html","","library","","nav_2_hl","whitepaper","/ressourcen/library_whitepaper.html","","case studies","/ressourcen/library_casestudies.html","","datenblätter","/ressourcen/library_datasheets.html","","präsentationen","/ressourcen/library_presentations.html","","suche","/ressourcen/library_suche.html","","gallery","","nav_2_hl","projekte","/ressourcen/gallery_projekte-screen-all-0.html","","produkte","/ressourcen/gallery_produkte-0.html","");
fup_slide_content[4]=new Array("über securitymanager","","nav_2_hl","partner","/about/partner.html","","weiterempfehlen","/about/weiterempfehlen.html","","allgemein","/about/allgemein.html","","impressum","/about/impressum.html","","nutzungsbedingungen","/about/nutzungsbedingungen.html","","kontakt","/about/kontakt.html","","werbung","","nav_2_hl","mediainformationen","/about/werbung_mediainfo.html","","eintragsarten","/about/werbung_infopackage.html","","premiumsiegel","/about/premiumsiegel.html","","kontakt","/about/werbung_kontakt.html","");
var fup_slide_webroot="http://www.securitymanager.de";
fup_slide_init();
function fup_slide_init()
{
	var top_offset=0;
	var left_offset=new Array(0,50,125,153,153);
	
	if (ie5||ns6)
	{
		fup_slide_draw_all();

		for (var id=0; id<fup_slide_content.length; id++)
		{
			// Init
			fup_slide_div[id]= (ns6) ? document.getElementById("fup_slide_"+id) : document.all["fup_slide_"+id];
			fup_slide_div[id].style.visibility="hidden";
	
			fup_slide_maxy[id]=top_offset;
			fup_slide_miny[id]=fup_slide_maxy[id]-fup_slide_height[id];
			
			fup_slide_div[id].style.left=left_offset[id];

			if (ie5)
			{
				fup_slide_div[id].style.pixelTop=fup_slide_miny[id];
				fup_slide_clip="rect("+(fup_slide_maxy[id]-fup_slide_div[id].style.pixelTop)+"px "+fup_slide_width[id]+"px "+fup_slide_height[id]+"px 0px)"
				fup_slide_div[id].style.clip=fup_slide_clip;
				if (fup_slide_clip!=fup_slide_div[id].style.clip)
				{
					// für Opera, Konqueror & Co kein Clipping
					opera=true;
					fup_slide_div[id].style.pixelTop=fup_slide_maxy[id];
				}
			}
			else
			{
				fup_slide_div[id].style.top=fup_slide_maxy[id];
			}
		}
	}
	fup_slide_init_complete=true;
}

function fup_slide_push(id)
{
	if (!fup_slide_init_complete || fup_slide_status[id]==0) {return;} else {fup_slide_status[id]=0;}
	if (fup_slide_pushit[id]) {clearInterval(fup_slide_pushit[id]);}
	fup_slide_pushit[id]=setInterval("fup_slide_push_latency("+id+")",250);
}
function fup_slide_push_latency(id)
{
	if (fup_slide_status[id]==0)
	{
		// Button Highlight [LO]
		tn_lo(id);
		
		if (fup_slide_pushit[id]) {clearInterval(fup_slide_pushit[id]);}
		if (fup_slide_pullit[id]) {clearInterval(fup_slide_pullit[id]);}
		if ((ie5||ns6) && fup_slide_div[id])
		{
			fup_slide_div[id].style.zIndex=1;
			fup_slide_pushit[id]=setInterval("fup_slide_pusher("+id+")",1);
		}	
	}
}
function fup_slide_pusher(id)
{
	var step_val=15;
	if (ie5 && !opera)
	{
		if (fup_slide_div[id].style.pixelTop>fup_slide_miny[id])
		{
			fup_slide_div[id].style.pixelTop=Math.max(fup_slide_div[id].style.pixelTop-step_val,fup_slide_miny[id]);
		}
		else
		{
			clearInterval(fup_slide_pushit[id]);
			fup_slide_div[id].style.pixelTop=fup_slide_miny[id];
			fup_slide_div[id].style.visibility="hidden";
			fup_slide_loall();
			fup_slide_show_forms();
		}
		fup_slide_div[id].style.clip="rect("+(fup_slide_maxy[id]-fup_slide_div[id].style.pixelTop)+"px "+fup_slide_width[id]+"px "+fup_slide_height[id]+"px 0px)";
	}
	else if (ns6 || opera)
	{
		clearInterval(fup_slide_pushit[id]);
		fup_slide_div[id].style.visibility="hidden";
		fup_slide_loall();
		fup_slide_show_forms();
	}
	else if (fup_slide_pushit[id])
	{
		clearInterval(fup_slide_pushit[id]);
	}
}
function fup_slide_pull(id)
{
	if (!fup_slide_init_complete || fup_slide_status[id]==1) {return;} else {fup_slide_status[id]=1;}
	if (id!=fup_slide_current)
	{
		fup_slide_push_latency(fup_slide_current);
		fup_slide_current=id;
	}
	if (fup_slide_pullit[id]) {clearInterval(fup_slide_pullit[id]);}
	fup_slide_pullit[id]=setInterval("fup_slide_pull_latency("+id+")",250);
}
function fup_slide_pull_latency(id)
{
	if (fup_slide_status[id]==1)
	{
		if (fup_slide_pushit[id]) {clearInterval(fup_slide_pushit[id]);}
		if (fup_slide_pullit[id]) {clearInterval(fup_slide_pullit[id]);}
		
		// Button Highlight [HI]
		tn_hi(id);
		
		if ((ie5||ns6) && fup_slide_div[id])
		{
			fup_slide_div[id].style.zIndex=100;
			fup_slide_div[id].style.visibility="visible";
			if (fup_slide_link_on!=null) {fup_slide_on(fup_slide_link_on);fup_slide_link_on=null;}
			fup_slide_pullit[id]=setInterval("fup_slide_puller("+id+")",1);
		}
	}
}
function fup_slide_puller(id)
{
	var step_val=15;
	if (ie5 && !opera)
	{
		if (fup_slide_div[id].style.pixelTop<fup_slide_maxy[id])
		{
			fup_slide_div[id].style.pixelTop=Math.min(fup_slide_div[id].style.pixelTop+step_val,fup_slide_maxy[id]);
		}
		else
		{
			clearInterval(fup_slide_pullit[id]);
			fup_slide_div[id].style.pixelTop=fup_slide_maxy[id];
		}
		fup_slide_div[id].style.clip="rect("+(fup_slide_maxy[id]-fup_slide_div[id].style.pixelTop)+"px "+fup_slide_width[id]+"px "+fup_slide_height[id]+"px 0px)";
		if (!fup_slide_forms_hidden) {fup_slide_hide_forms();}
	}
	else if (ns6 || opera)
	{
		fup_slide_div[id].style.visibility="visible";
		if (!fup_slide_forms_hidden) {fup_slide_hide_forms();}
		clearInterval(fup_slide_pullit[id]);
	}
	else if (fup_slide_pullit[id])
	{
		clearInterval(fup_slide_pullit[id]);
	}
}



// ------------------------------------------------------------------
// Alle Formular-Elemente und Teaser SWFs verstecken,
// da diese in den meisten Browser über allen
// HTML-Objekten und somit auch über der 
// ausklappenden Navi liegen.
// ------------------------------------------------------------------
function fup_slide_show_forms()
{
	if (!fup_slide_forms_hidden) {return;}
	if (fup_slide_forms_timer)
	{
		clearTimeout(fup_slide_forms_timer);
		fup_slide_forms_timer=null;
	}
	fup_slide_forms_timer=setTimeout("fup_slide_show_forms_do()",250);
	fup_slide_forms_hidden=false;
}
function fup_slide_hide_forms()
{
	if (fup_slide_forms_hidden) {return;}
	if (fup_slide_forms_timer)
	{
		clearTimeout(fup_slide_forms_timer);
		fup_slide_forms_timer=null;
	}
	fup_slide_forms_timer=setTimeout("fup_slide_hide_forms_do()",10);
	fup_slide_forms_hidden=true;
}
function fup_slide_show_forms_do()
{
	fup_slide_forms_timer=null;
	for (var id=0; id<=fup_slide_div.length; id++)
	{
		// Check: Noch ein Layer offen?
		if (fup_slide_div[id] && fup_slide_div[id].style.visibility=="visible") {return;}
	}
	for (var a=0; a<document.forms.length; a++)
	{
		for (var b=0; b<document.forms[a].elements.length; b++)
		{
			document.forms[a].elements[b].style.visibility="visible";
		}
	}
	var embed_obj=document.getElementsByTagName("object");
	for (var a=0; a<embed_obj.length; a++)
	{
		if (embed_obj[a].name=="teaser") {embed_obj[a].style.visibility="visible";}
	}
	fup_slide_forms_hidden=false;
}
function fup_slide_hide_forms_do()
{
	fup_slide_forms_timer=null;
	for (var a=0; a<document.forms.length; a++)
	{
		for (var b=0; b<document.forms[a].elements.length; b++)
		{
			document.forms[a].elements[b].style.visibility="hidden";
		}
	}
	var embed_obj=document.getElementsByTagName("object");
	for (var a=0; a<embed_obj.length; a++)
	{
		if (embed_obj[a].name=="teaser") {embed_obj[a].style.visibility="hidden";}
	}
	fup_slide_forms_hidden=true;
}

function fup_slide_on(link_on)
{
	var obj=fup_slide_div[link_on[0]];
	var txt=link_on[1];
	var href=link_on[2];

	var link_obj=fup_slide_on_find_link(obj,href,1);
	if (link_obj!=null) {link_obj.className='fup_slide_td_active';}
}

function fup_slide_on_find_link(obj,href,level)
{
	if (obj && obj.childNodes!=null)
	{
		for (var a=0; a<obj.childNodes.length; a++)
		{
			if (obj.childNodes[a].nodeName=="A")
			{
				if ((obj.childNodes[a].attributes.href.nodeValue==fup_slide_webroot+href)||(obj.childNodes[a].attributes.href.nodeValue==href))
				{
					return obj;
				}
			}
			else
			{
				result=fup_slide_on_find_link(obj.childNodes[a],href,level+1);
				if (result!=null) {return result;}
			}
		}
	}
	return null;
}

function fup_slide_hi(obj)
{
	if (!fup_slide_init_complete  || !obj) {return;}
	for (var a=0; a<fup_slide_lo_stack.length; a++)
	{
		if (fup_slide_lo_stack[a]==obj) {fup_slide_lo_stack[a]=null; break;}
	}
	if (obj.className!='fup_slide_td_active') {obj.className='fup_slide_td_hover';}
	fup_slide_loall();
}
function fup_slide_lo(obj)
{
	if (!fup_slide_init_complete  || !obj) {return;}
	for (var a=0; a<fup_slide_lo_stack.length; a++)
	{
		if (fup_slide_lo_stack[a]==null)
		{
			fup_slide_lo_stack[a]=obj; break;
		}
		else
		{
			fup_slide_loit(a);
		}
	}
}
function fup_slide_loit(stack_idx)
{
	if (fup_slide_lo_stack[stack_idx])
	{
		obj=fup_slide_lo_stack[stack_idx];
		if (obj.className!='fup_slide_td_active') {obj.className='fup_slide_td';}
		fup_slide_lo_stack[stack_idx]=null;
	}
}
function fup_slide_loall()
{
	for (a=0; a<fup_slide_lo_stack.length; a++)
	{
		if (fup_slide_lo_stack[a]!=null)
		{
			fup_slide_loit(a);
		}
	}
}
function fup_slide_beamto(obj)
{
	for (var a=0; a<obj.childNodes.length; a++)
	{
		if (obj.childNodes[a].nodeName=="A")
		{
			document.location.href=obj.childNodes[a].attributes.href.nodeValue;
		}
	}
}
function fup_slide_draw_all()
{
	document.write('<div id="fup_slide_container" style="position:relative; clear:both; z-index:1000;">');
	for (var id=0; id<fup_slide_content.length; id++)
	{
		fup_slide_draw(id,fup_slide_content[id]);
	}
	document.write('</div>');
}

function fup_slide_draw(id,content)
{
	var height=0;

	document.write('<div id="fup_slide_'+id+'" style="position:absolute; top:0px; left:0px;" onmouseover="fup_slide_pull('+id+')" onmouseout="fup_slide_push('+id+')">');
	document.write('<table width=185 cellspacing=0 cellpadding=0 border=0 class="fup_slide_table">');
	// document.write('<tr><td colspan=2 class="fup_slide_td_main"><img src="/_images/navigation/tn_slide_shadow.gif" width=185 height=5></td></tr>');
	document.write('<tr><td colspan=2 class="fup_slide_td_main"><img src="/_images/pixel_clear.gif" width=185 height=5></td></tr>');
	height+=5;
	// ------------------------------------------------------------------
	for (var a=0; a<content.length; a+=3)
	{
		if (content[a+2]=="nav_2_hl")
		{
			// Headline
			if (a>0)
			{
				// Sub-Schatten
				// document.write('<tr><td colspan=2 class="fup_slide_td_main"><img src="/_images/navigation/tn_slide_sub_shadow.gif" width=185 height=5></td></tr>');
				document.write('<tr><td colspan=2 class="fup_slide_td_main"><img src="/_images/pixel_clear.gif" width=185 height=5></td></tr>');
				height+=5;
			}
			document.write('<tr><td colspan=2 height=15 class="fup_slide_td_main">&nbsp; '+content[a]+' &nbsp;</td></tr>');
			document.write('<tr><td colspan=2 class="fup_slide_td_main"><img src="/_images/spacer.gif" width=1 height=5></td></tr>');
			height+=20;
		}
		else
		{
			document.write('<tr>');
			document.write('<td width=10 class="fup_slide_td_main"><img src="/_images/spacer.gif" width=5 height=15></td>');
			document.write('<td width=175 class="fup_slide_td" onmouseover="fup_slide_hi(this)" onmouseout="fup_slide_lo(this)" onclick="fup_slide_beamto(this)"><a href="'+content[a+1]+'" id="fup_slide_a" class="fup_slide_a">&nbsp;'+content[a]+'&nbsp;</a></td>');
			document.write('</tr>');
			height+=15;
		}
	}
	// ------------------------------------------------------------------
	// document.write('<tr><td colspan=2 class="fup_slide_td_main"><img src="/_images/navigation/tn_slide_sub_shadow.gif" width=185 height=5></td></tr>');
	document.write('<tr><td colspan=2 class="fup_slide_td_main"><img src="/_images/pixel_clear.gif" width=185 height=5></td></tr>');
	document.write('<tr><td colspan=2 class="fup_slide_td_main"><img src="/_images/spacer.gif" width=1 height=5></td></tr>');
	document.write('<tr><td colspan=2 bgcolor="#000000"><img src="/_images/spacer.gif" width=1 height=1></td></tr>');
	height+=11;
	// ------------------------------------------------------------------
	document.write('</table>');
	document.write('</div>');

	fup_slide_width[id]=187;
	fup_slide_height[id]=height;
}