function dummy(){}

function fensterauf()
{

var hoehe;
if (document.layers){
hoehe = window.innerHeight;
}
if (document.all) {
hoehe = document.body.clientHeight-20;
}
var posh=hoehe;
var attrib="left=0,top="+posh+",width=608,height=102";
window.open("http://www.handelsblatt.com/pshb?fn=relhbi&sfn=cn_infocockpit","infocockpit",attrib);


}

function OpenPopup(url)
{
	var F1;
	F1 = window.open(url,'_new');
	F1.focus();
}

function navigate(ctarget)
{
	top.location.href=ctarget;
}

function showdate()
{
	var mdate
	ld = new Date()
	switch (ld.getDay())
		{
			case 0 :
			mdate = 'Sonntag, ';
			break;
			case 1 :
			mdate = 'Montag, ';
			break;
			case 2 :
			mdate = 'Dienstag, ';
			break;
			case 3 :
			mdate = 'Mittwoch, ';
			break;
			case 4 :
			mdate = 'Donnerstag, ';
			break;
			case 5 :
			mdate = 'Freitag, ';
			break;
			case 6 :
			mdate = 'Samstag, ';
			break;
		}
		mdate = mdate + ld.getDate() + '.' + ld.getMonth() + '.' + ld.getFullYear() + ' ' + ld.getHours() + ':' + ld.getMinutes();
		document.writeln(mdate);
}
	

function checkfields()
{
	var cusr = document.forms['getusr'].usr_name.value
	var cpwd = document.forms['getusr'].usr_pwd.value
	document.forms['getusr'].msg.value = ''
	if (cusr == '')
		{document.forms['getusr'].msg.value = 'Bitte geben Sie einen Benutzernamen an';
		return false;}
	else
		{if (cpwd == '')
			{document.forms['getusr'].msg.value = 'Bitte geben Sie ein Passwort an';
			return false;}
		else
			{return true;}}
}

rdo = Math.random()*100000000000000000;
ns6 = navigator.userAgent.match('Gecko');
ns4linux = navigator.userAgent.match('Linux') && navigator.userAgent.match('Mozilla/4.');
ie5 = navigator.userAgent.match('MSIE 5.0') || navigator.userAgent.match('MSIE 4');
