function getElement(el) {
	return document.all ? document.all[el] : document.getElementById (el);
}
function triggerError(errorId, msg) {
	errorId += 'Error';
	if (msg != '') {
		getElement(errorId).innerHTML = msg;
	}
	getElement(errorId).style.display = 'block';
}
function hideError(errorId) {
	errorId += 'Error';
	getElement(errorId).style.display = 'none';
}
function validateEmail(mail){
	var re=/^[\w-\.]+\@[\w\.-]+\.[a-z]{2,4}$/;
	return re.test(mail);
}



$(document).ready(
	function()
	{

	$('a.zoom').fancybox({
		'titleShow'		: false,
		'transitionIn'	: 'elastic',
		'transitionOut'	: 'elastic'

	});
	

});

