<!--
function openAWindow( pageToLoad, winName, width, height, center, scroll) {
	xposition=0;
	yposition=0;
	if ((parseInt(navigator.appVersion) >= 4 ) && (center)){
  	xposition = (screen.width - width) / 2;
  	yposition = (screen.height - height) / 2;
  }

  args = "width=" + width + "," + "height=" + height + "," + "location=0," + "scrollbars=" + scroll + "," + "screenx=" + xposition + "," + "screeny=" + yposition + "," + "left=" + xposition + "," + "top=" + yposition;

  return window.open( pageToLoad, winName, args );
}

function zoom_full(img_src,w,h) {
 openAWindow('zoom_full.php?img_src=' + img_src, '', w, h, 1);
}

function fetch_object(idname)
{
	if (document.getElementById)
	{
		return document.getElementById(idname);
	}
	else if (document.all)
	{
		return document.all[idname];
	}
	else if (document.layers)
	{
		return document.layers[idname];
	}
	else
	{
		return null;
	}
}

function is_email(email) {

 return /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.[a-z]{2,4})+$/.test(email);
}

//-->