// euroFront.js
var newWin;
function mailTo(account,domain){
	var url='mailto:';
	url+=account+'@'+domain;
	if (account.length >0) location.href=url;
}
function mailShow(account,domain){
	var url;
	if (account.length >0){
		document.write(account + '@' + domain);
	}
}
 function doClock() {
     window.setTimeout( "doClock()", 1000);
     today = new Date();
     self.status = today.toString();
 }
 function printThis(){
	if (document.all){
		document.all.hidebut.style.visibility = "hidden";
	} else if (document.getElementByID) {
		document.getElementByID('hidebut').style.visibility = "hidden";
	}
	window.print();
	window.close();
}
function newWindow(url,width){
	var settings,leftPosition,topPosition,url;
	leftPosition = (screen.width) ? (screen.width)/2 - 300 : 0;
	topPosition = (screen.height) ? (screen.height)/2 - 300 : 0;
	settings = 'toolbar=NO,location=NO,directories=NO,status=NO,menubar=NO,scrollbars=yes,resizable=yes,copyhistory=NO,width='+width+',height=600,top='+ topPosition+ ',left='+leftPosition;
	if (newWin && !newWin.closed) {
		newWin.close();	
	}
	newWin = window.open(url,'newWin',settings);
}
function mailThis(form){
	if (document.all){
		document.all.hidebut.style.visibility = "hidden";
	} else if (document.getElementByID) {
		document.getElementByID('hidebut').style.visibility = "hidden";
	}
	form.submit();
}
// doClock()
