bname = navigator.appName;
bversion = parseFloat(navigator.appVersion);

function popWin(url,width,height,posx,posy) {
var myWindow = window.open(url, "mainWin", 'resizable=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,width='+width+',height='+height+',screenX='+posx+',screenY='+posy+',left='+posx+',top='+posy+'');
myWindow.focus()
}

function VF(f, msg){
        if (f.value == ""){
                alert(msg);
                f.focus();
                return (false);
        }
        return(true);
}

function FormValidator(theForm){
        if (!VF(Input_Form.name, "Please enter your name.")) {return(false);}
		if (!VF(Input_Form.phone, "Please enter your phone number.")) {return(false);}
		if (!VF(Input_Form.email, "Please enter your email address.")) {return(false);}
		if (!VF(Input_Form.company, "Please enter your company.")) {return(false);}
		//if (!VF(Input_Form.Message, "Please enter your comments.")) {return(false);}
}