function Launch(page) { 
OpenWin = this.open(page, "GalleryPics", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=680,height=480"); 
}
function Launch2(page2) { 
OpenWin = this.open(page2, "GalleryPics2", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=680,height=480"); 
}
function openFW() {
 ww=open('http://www.online-brochures.net/files/3271/brochure.asp','OPEN','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=0,left=0,width='+(screen.width-10)+',height='+(screen.height-26)+'');
}

 function printit(){
                window.open('Print.aspx', 'PrintPopUp','width=600, height=480, menubar=yes, toolbar=yes, scrollbars=yes resizable=no');
}

function opWin7225() {
if (document.getElementById) {
var width = screen.availWidth;
var height = screen.availHeight;
var windowFeatures = "width=" + width + ",height=" + height + ",status=no,resizable=yes,toolbar=0,location=0,directories=0,left=0,top=0screenX=0,screenY=0";
myWindow = window.open('http://www.youronlinebrochure.co.uk/?id=7961', "subWind", windowFeatures); myWindow.focus(); return false; } else { return true; } }

function validateForm() 
							{
							 var okSoFar=true
							 with (document.form1)
							 {
							  var foundAt = email.value.indexOf("@",0)
							  if (foundAt < 1 && okSoFar)
							  {
								okSoFar = false
								alert ("Please enter a valid email address.")
								email.focus()
							  }
							  var e1 = email.value
							  var e2 = email2.value
							  if (!(e1==e2) && okSoFar)
							  {
								okSoFar = false
								alert ("Email addresses you entered do not match.  Please re-enter.")
								email.focus()
							  }
							  if (thesubject.value=="" && okSoFar)
							  {
								okSoFar=false
								alert("Please enter the subject.")
								thesubject.focus()
							  }
							  if (themessage.value=="" && okSoFar)
							  {
								okSoFar=false
								alert("Please enter the details for your enquiry.")
								themessage.focus()
							  }
							  if (okSoFar==true)  submit();
							 }
							}
