function SendLink(EmailAddress,Subject,Body){
	location.href = "MailTo: " + EmailAddress + "?subject=" + Subject + "&body=" + Body + " " + escape(location.href) + " %0A %0A<please add further comments or details below if necessary >";
}

var ctime;
time()
function time()
{
	var currentTime = new Date()
	var hours = currentTime.getHours()
	var minutes = currentTime.getMinutes()

	if (minutes < 10)
	minutes = "0" + minutes

	ctime = hours + ":" + minutes + " "
	if(hours > 11)
	{
		ctime = ctime + ("PM")
	} 
	else 
	{
		ctime = ctime + ("AM")
	}
}

var cdate;
date()
function date()
{
    // Array of month Names
    var monthNames = new Array(
    "January","February","March","April","May","June","July",
    "August","September","October","November","December");

    var now = new Date();
    cdate = (monthNames[now.getMonth()] + " " + 
    now.getDate() + ", " + now.getFullYear());
}
function SendReport(EmailAddress,Subject,Body){
	location.href = 'MailTo: ' + EmailAddress + '?subject=' + Subject + '&body=' + Body + ' ' + escape(location.href) +  '%0A%0AYour browser is ' + navigator.appName + '%0AYour Browser Version is ' + navigator.appVersion + '%0AYour Operating System is ' + navigator.platform + '%0AIt is currently ' + ctime + ', ' + cdate + '%0A %0A Please indicate type of errors you encountered in the space below%0A%0A';
}
