function sendmail(subject){

	window.location.href = "mailto:?subject="+escape(subject)+"&amp;body="+escape(window.location.href);

	return false;

}

function w3cLinks(){
var anchors = document.getElementsByTagName("a"); 
for(i=0;i<anchors.length;i++){
if(anchors[i].rel == '_blank'){
anchors[i].target = "_blank"; 
}
}
}

function setup(){
w3cLinks();
printDate();

}


function printDate(){
var dd=new Date();
var months=new Array ('jan','feb','mar','apr','may','jun','jul','aug','sep','oct','nov','dec');
document.getElementById('clock').innerHTML=dd.getDate()+' '+months[dd.getMonth()]+' '+dd.getFullYear();
}

function openPopUp(url, larghezza, altezza){

	var location=url;

	if (location!=''){

		var DispWin;

		DispWin=window.open(location, '','toolbar=no, "NewWin", status=yes,resizable=yes,,scrollbars=yes, width='+larghezza+', height='+altezza+',  top=1, left=1');

		DispWin.focus();

	}

	return false;

}

window.onload=setup;