<!-- Begin
function openFullscreen(page) {
var yes = 1;
var no = 0;

var menubar = no;      // The File, Edit, View Menus
var scrollbars = no;   // Horizontal and vertical scrollbars
var locationbar = no;  // The location box with the site URL
var directories = no;  // the "What's New", "What Cool" links
var resizable = no;    // Can the window be resized?
var statusbar = no;    // Status bar (with "Document: Done")
var toolbar = no;      // Back, Forward, Home, Stop toolbar

windowprops = "width=200,height=200,top=200,left=200";

windowprops += (menubar ? ",menubars" : "") +
(scrollbars ? ",scrollbars" : "") +
(locationbar ? ",location" : "") +
(directories ? ",directories" : "") +
(resizable ? ",resizable" : "") +
(statusbar ? ",status" : "") +
(toolbar ? ",toolbar" : "");

window.open(page, 'fullPopup', windowprops);
}

function openPDF(page) {
var yes = 1;
var no = 0;

var menubar = yes;      // The File, Edit, View Menus
var scrollbars = yes;   // Horizontal and vertical scrollbars
var locationbar = no;  // The location box with the site URL
var directories = no;  // the "What's New", "What Cool" links
var resizable = yes;    // Can the window be resized?
var statusbar = yes;    // Status bar (with "Document: Done")
var toolbar = no;      // Back, Forward, Home, Stop toolbar

windowprops = "width=400,height=400,top=10,left=10";

windowprops += (menubar ? ",menubars" : "") +
(scrollbars ? ",scrollbars" : "") +
(locationbar ? ",location" : "") +
(directories ? ",directories" : "") +
(resizable ? ",resizable" : "") +
(statusbar ? ",status" : "") +
(toolbar ? ",toolbar" : "");

window.open(page, 'fullPopup', windowprops);
}

function CheckForm() {
	var Msg = "Please:\n\n";
	if (document.forms[0].Name.value == "") {
		Msg = Msg + "* insert your name...\n";
	}
	if (document.forms[0].Company.value == "") {
		Msg = Msg + "* insert your company...\n";
	}
	if (document.forms[0].country[document.forms[0].country.selectedIndex].value == "NULL") {
		Msg = Msg + "* choose the country...\n";
	}
	CheckMail = isEmail(document.forms[0].EMail.value);
	if (CheckMail == false) {
		Msg = Msg + "* check the email address...\n";
	}
	if (document.forms[0].Request.value == "") {
		Msg = Msg + "* send us your request...\n";
	}
	if (Msg != "Please:\n\n") {
	 alert(Msg);
	 return false;
	}
	else {
	 document.forms[0].action = "/eng/contacts.asp";
	 return true
	}
}

function isEmail(str) {
  // are regular expressions supported?
  var supported = 0;
  if (window.RegExp) {
    var tempStr = "a";
    var tempReg = new RegExp(tempStr);
    if (tempReg.test(tempStr)) supported = 1;
  }
  if (!supported) 
    return (str.indexOf(".") > 2) && (str.indexOf("@") > 0);
  var r1 = new RegExp("(@.*@)|(\\.\\.)|(@\\.)|(^\\.)");
  var r2 = new RegExp("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$");
  return (!r1.test(str) && r2.test(str));
}
//  End -->