//break frames

if (top.location != self.location) {
		top.location = self.location
	}
	
//close window
	
function closeWindow() {
		window.close()
		}
		
//print window

function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}

//preload images	
	
function preloadImages() { //v2.0
  if (document.images) {
    var imgFiles = preloadImages.arguments;
    if (document.preloadArray==null) document.preloadArray = new Array();
    var i = document.preloadArray.length;
    with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
      preloadArray[i] = new Image;
      preloadArray[i++].src = imgFiles[j];
  } }
}

// Begin New Window Scripts

    function newSiteplanWindow()  {
    siteplanWindow = window.open('siteplan_hres.html','siteplanWin','toolbar=no,location=no,scrollbars=yes,resizable=yes,menubar=no,status=no,width=600,height=400,left=50,top=50')
  }  
  
      function newTouchtownWindow()  {
    touchtownWindow = window.open('http://www.touchtown.tv/tv/tv/webshow/tv1.jsp?scale&tag=FULLER_VILLAGE_WEB','touchtownWin','toolbar=yes location=yes,scrollbars=yes,resizable=yes,menubar=yes,status=yes,width=600,height=400,left=50,top=50')
  }  

// Begin Rollover Scripts

function MM_findObj(n, d) { //v3.0
  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); return x;
}

/* Functions that swaps images. */
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}


if (document.images) {
  home_button_f2 = new Image(44 ,19); home_button_f2.src = "images/home_button_f2.gif";
  home_button_f1 = new Image(44 ,19); home_button_f1.src = "images/home_button.gif";
  amenities_button_f2 = new Image(68 ,19); amenities_button_f2.src = "images/amenities_button_f2.gif";
  amenities_button_f1 = new Image(68 ,19); amenities_button_f1.src = "images/amenities_button.gif";
  services_button_f2 = new Image(62 ,19); services_button_f2.src = "images/services_button_f2.gif";
  services_button_f1 = new Image(62 ,19); services_button_f1.src = "images/services_button.gif";
  activities_button_f2 = new Image(67 ,19); activities_button_f2.src = "images/activities_button_f2.gif";
  activities_button_f1 = new Image(67 ,19); activities_button_f1.src = "images/activities_button.gif";
  location_button_f2 = new Image(71 ,19); location_button_f2.src = "images/location_button_f2.gif";
  location_button_f1 = new Image(71 ,19); location_button_f1.src = "images/location_button.gif";
  siteplan_button_f2 = new Image(62 ,19); siteplan_button_f2.src = "images/siteplan_button_f2.gif";
  siteplan_button_f1 = new Image(62 ,19); siteplan_button_f1.src = "images/siteplan_button.gif";
  about_button_f2 = new Image(88 ,19); about_button_f2.src = "images/about_button_f2.gif";
  about_button_f1 = new Image(88 ,19); about_button_f1.src = "images/about_button.gif";
  contactus_button_f2 = new Image(86 ,19); contactus_button_f2.src = "images/contactus_button_f2.gif";
  contactus_button_f1 = new Image(86 ,19); contactus_button_f1.src = "images/contactus_button.gif";
  backtotop_f2 = new Image(52 ,29); backtotop_f2.src = "images/backtotop_f2.gif";
  backtotop_f1 = new Image(52 ,29); backtotop_f1.src = "images/backtotop.gif";
  }
  