/* (c) TASS Wertpapierhandelsbank GmbH 2008 */
/* Contact: info at tass dot de */

function fpopup(dateiurl, fname, attribute)
{
	fenster=window.open(dateiurl, fname, attribute);
	fenster.focus();
}


function BounceFrameHijack() {
if(top.frames.length != 0) {
top.location=location;}
}

	var clockid = new Array();
	var clockidoutside = new Array();
	var i_clock =-1;
	var thistime = new Date();
	var hours = thistime.getHours();
	var minutes = thistime.getMinutes();
	var seconds = thistime.getSeconds();
	if (eval(hours) <10) {hours="0"+hours};
	if (eval(minutes) < 10) {minutes="0"+minutes};
	if (seconds < 10) {seconds="0"+seconds};
	var thistime = hours+":"+minutes+":"+seconds;
	
	function writeclock() {
		i_clock++;
		if (document.all || document.getElementById || document.layers) {
			clockid[i_clock]="clock"+i_clock;
			document.write("<span id='"+clockid[i_clock]+"' style='position:relative; color:#FFF;'>"+thistime+"</span>");
		}
	}

	function clockon() {
		thistime= new Date();
		hours=thistime.getHours();
		minutes=thistime.getMinutes();
		seconds=thistime.getSeconds();
		if (eval(hours) <10) {hours="0"+hours;}
		if (eval(minutes) < 10) {minutes="0"+minutes;}
		if (seconds < 10) {seconds="0"+seconds;}
		thistime = hours+":"+minutes+":"+seconds;
		
		if (document.all) {
			for (i=0;i<=clockid.length-1;i++) {
				var thisclock=eval(clockid[i]);
				thisclock.innerHTML=thistime;
			}
		}
	
		if (document.getElementById) {
			for (i=0;i<=clockid.length-1;i++) {
				document.getElementById(clockid[i]).innerHTML=thistime;
			}
		}
		var timer=setTimeout("clockon()",1000);
	}

	window.onload=clockon;

/* JS-Email-Encoder */
/* (c) TASS Wertpapierhandelsbank GmbH 25.07.2005 */
function lkjsemayl(empfaenger) {
	var name = empfaenger;
	var domain = "&#116;&#97;&#115;&#115;&#46;&#100;&#101;";
	var betreff = "?subject=[TASS%20GmbH]%20";
	document.write('<a href=\"mailto:' + name + '&#64;' + domain + betreff + '\">');
	document.write(name + '&#64;' + domain + '</a>');
		}
/* JS-Email-Encoder eoF */
	
	
/* Language Switcher */
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

