// NAVlib.js  V1.1  Navigation-Library Copyright(c)2010 www.adenet.ch - All rights reserved.

function GetCert() {
		window.open( "http://www.CAcert.org/index.php?id="+(browsertype()=="IE"?"17":"3" ));
}

var scnt, btext, oTobj = null;

function stxt( s ) {
	if( !document.getElementById )
		return;
		
	btext = s;
	scnt =0;
	if(oTobj) {
		clearTimeout( oTobj);
		oTobj = null;
	}
	mtxt();
}


function mtxt() {
	var s = ("_______________").substr( 0, scnt);
	scnt++;
	document.getElementById("shownav").firstChild.nodeValue = s + btext;

	if( scnt < 10) {
		oTobj = setTimeout( "mtxt();", 50+(5*scnt));
	} else if( btext.indexOf("|") > -1) {
		oTobj = setTimeout( "ctxt();", 700);
	}
}


function ctxt() {
	if( document.getElementById )
		document.getElementById("shownav").firstChild.nodeValue = "";

	if(oTobj) {
		clearTimeout( oTobj);
		oTobj = null;
	}
		
}

//EOF

