
function printPage(){

   webblasare = parseInt(navigator.appVersion)
   if (webblasare >= 4) window.print();

}

function open_popup(url,heigth,width,winName) {

	newWin = window.open(url, winName, 'resizable=yes,scrollbars,height='+ heigth +',width='+ width);
	if (window.focus) {newWin.focus()}

}

function check_email(email) {
		
	var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
	if((filter.test(email))!=1&&email!="") {
	alert(email + " is not an email address, please try again");
	return false;
	}

}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);