﻿function validateForm() {
with (document.feedbackform) {
var alertMsg = "Please fill out these fields:\n";
if (realname.value == "") alertMsg += "\nYour Name";
if (phone.value == "") alertMsg += "\nPhone Number";
if (email.value == "") alertMsg += "\nEmail Address";
if (alertMsg != "Please fill out these fields:\n") {
alert(alertMsg);
return false;
} else {
return true;
} } }

<!--
/****************************************************
     Popup window generator provided for free at Hypergurl
     Url: http://www.hypergurl.com
     Author: Eric King
     Url: http://eak.digitalrice.com
     This script is free to use as long
     as this info is left in
****************************************************/
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.availWidth)?Math.floor(Math.random()*(screen.availWidth-w)):0;TopPosition=(screen.availHeight)?Math.floor(Math.random()*((screen.availHeight-h)-75)):0;}
if(pos=="center"){LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:0;TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:0;}
if(pos=="default"){LeftPosition=0;TopPosition=0}
else if((pos!="center" && pos!="random" && pos!="default") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);
if(win.focus){win.focus();}}
// -->
