// JavaScript Document

	/*
	thunderbirdit()
	e-mail constructor	
	*/
function thunderbirdit(name)
{
	
	var Domain = "@watersongs.co.uk"
	var Mailme = "ma" + "ilto:" + name + Domain
	var Bin = " ma" + "ilbox"
		//alert('name is '+Mailme);
	thunderbird = window.open( "", "bird", "width=376,height=350,status,scrollbars,resizable,screenX=100,screenY=100,left=100,top=100");
	
	// wrote content to window
	  thunderbird.document.write('<html><head><title>Watersongs Mail Facility</title>');
		thunderbird.document.write('<link rel="stylesheet" href="css/wsmain.css" type="text/css" media="screen" />');
		thunderbird.document.write('<link rel="stylesheet" href="css/wscontact.css" type="text/css"  media="screen" />');
		thunderbird.document.write('</head>');	
	  thunderbird.document.write('<body id="bird">');
	  thunderbird.document.write('<img src=" ../images/main/watersongs logo.jpg">');
	  thunderbird.document.write('<p><img src=" ../images/main/mailbox.jpg"></p>');
	  thunderbird.document.write('<p><a href="'+Mailme+'">click here to e-mail '+name+Bin+'</a></p>');
	  thunderbird.document.write('</body></html>');
	  thunderbird.document.close();	
	
// If we are on NetScape, we can bring the window to the front
	if (navigator.appName.substring(0,8) == "Netscape") thunderbird.focus();
}

