
/*
This is to prevent page from loading alone, will load the frameset that is ... index page.
*/ 

<!--
if (parent.location.href == self.location.href) {
if (window.location.href.replace)
window.location.replace('index.htm');
else
// causes problems with back button, but works
window.location.href = 'index.htm';
}

//...../*
function openGallery() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (305); //half the screen width minus half the new window width.
	iMyHeight = (window.screen.height/2) - (275); //half the screen height minus half the new window height.
	var win2 = window.open("photoGallery/index.htm","Window2","status=no,height=550,width=610,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}
//.....*/

/*
function openGallery() {
  url = "photoGallery/index.htm"
  w = screen.availWidth-10;
  h = screen.availHeight-20;
  features = "width="+w+",height="+h;
  features += ",left=0,top=0,screenX=0,screenY=0";

  var win2 = window.open(url, "Window2", features);
  win2.focus();
}
*/