<!--
now=new Date;
nwYr=now.getFullYear();
nwMn=now.getMonth();
nwDt=now.getDate();
nwDy=now.getDay();
//alert(nwYr)
//alert(nwMn)
//alert(nwDt)
//alert(nwDy)
var dconfi

function mdychk(yyyy,mm,dd) {
   
   theDate = new Date(yyyy,mm,dd);
   daynumber = theDate.getDay();
   if (daynumber > 0) daynumber-=1;
   else daynumber += 6;
   adjust = daynumber*1000*60*60*24;
   theDay = new Date(theDate.getTime() - adjust);
   nwYr=theDay.getFullYear();
   nwMn=theDay.getMonth();
   nwDt=theDay.getDate();
   
//alert(nwYr)
//alert(nwMn)
//alert(nwDt)
//alert(theDay)
   
if (nwYr==2003){dconfi=20030000}
if (nwYr==2004){dconfi=20040000}
if (nwYr==2005){dconfi=20050000}
if (nwYr==2006){dconfi=20060000}
if (nwYr==106){dconfi=20060000;}
if (nwYr==2007){dconfi=20070000}
if (nwYr==107){dconfi=20070000}
//alert(dconfi)
if (nwMn==0){dconfi=dconfi+100}
if (nwMn==1){dconfi=dconfi+200}
if (nwMn==2){dconfi=dconfi+300}
if (nwMn==3){dconfi=dconfi+400}
if (nwMn==4){dconfi=dconfi+500}
if (nwMn==5){dconfi=dconfi+600}
if (nwMn==6){dconfi=dconfi+700}
if (nwMn==7){dconfi=dconfi+800}
if (nwMn==8){dconfi=dconfi+900}
if (nwMn==9){dconfi=dconfi+1000}
if (nwMn==10){dconfi=dconfi+1100}
if (nwMn==11){dconfi=dconfi+1200}

dconfi=dconfi+nwDt;
dconfi=dconfi - 20000000;

   }

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);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function newPage(){
	ftv=document.form1.textfield.value;
	mdychk(nwYr,nwMn,nwDt);
	ytv=dconfi-ftv
	if (ftv<=dconfi){
		if (ytv==0 && ytv<=7){
			opener.parent.frames[2].document.location=locf;
			self.close()
		}
		else {alert("Invalid password. Please try again.")}
	 }
	 else {alert("Invalid password. Please try again.")}
	
}

function newProject(){
	ftv=document.form1.textfield.value;
	mdychk(nwYr,nwMn,nwDt);
	ytv=dconfi-ftv
	if (ftv<=dconfi){
		if (ytv==0 && ytv<=7){
			window.parent.frames[2].document.location=locf;
			pageOpen()
		}
		else {alert("Invalid password. Please try again.")}
	 }
	 else {alert("Invalid password. Please try again.")}
	
}

var proLoc1 = '../projects/ashbridge.htm'
var proLoc2 = '../projects/cs.htm'
var proLoc3 = '../projects/coniston.htm'
var proLoc4 = '../projects/crystalfalls.htm'
var proLoc5 = '../projects/eaton.htm'
var proLoc6 = '../projects/407.htm'
var proLoc7 = '../projects/iqulait.htm'
var proLoc8 = '../projects/jv.htm'
var proLoc9 = '../projects/kiddcreek.htm'
var proLoc10 = '../projects/lionshead.htm'
var proLoc11 = '../projects/mustique.htm'
var proLoc12 = '../projects/orenda.htm'
var proLoc13 = '../projects/otmh.htm'
var proLoc14 = '../projects/roseau.htm'
var proLoc15 = '../projects/sandylane.htm'
var proLoc16 = '../projects/georgetownseafoods.htm'
var proLoc17 = '../projects/gass.htm'
var proLoc18 = '../projects/stlaurent.htm'
//-->