// Report's Flash Ring js



//email form vaidation
function validate(form) {
	var msg="";
	if (form.name.value == "") msg += "  * Name\n";
	if ((form.email.value.indexOf('@') == -1) || (form.email.value.length < 8)) msg += "  * E-mail\n";
	if (form.message.value == "") msg += "  * Message\n";
	if (msg == "") {
		return true;
	} else {
		alert("Please enter in the following information in order to submit your e-mail:\n" + msg);
		return false;
	}
}

function popupwin(link) {
     window.open('popup.htm?image=' +link,'popup', 'height=550,width=500,scrollbars=1,resizable=1,toolbar=1,location=1,status=1,top=0,left=0');
}

function popcall() {
	var image = window.location.href.split("=")[1];
	window.document.getElementById("picarea").innerHTML = "<img src='" +image+ "' />";
}


$(document).ready(function() {

// LIGHTBOX EFFECT
	// To use the lightbox function, simplay add the class 'lightbox' to the link to the image.
	$('a.lightbox').lightBox();
	
});
