﻿// Common functions for site-wide tasks in JavaScript

function sendEmail(id)
{
	var sendto = "mailto:" + id + "@afs.net"
	location.href = sendto;
}

function showPreview(page, width, height)
{
    var specs = 'width=' + width + ',height=' + height + ',fullscreen=0,scrollbars=0';
    window.open(page, '', specs);
}