
// --- Frameset Check Control Program ---

// --- Programming and Code Copyright Notice:
// Developed by LCC Enterprises, December, 2003
// Contains or may contain original and manual & auto generated
// HTML, JavaScript, CSS, and other programming code.
// ©2003 by LCC Enterprises.   All rights reserved.
// ---
// This installation under license for use by Pirrello Digital Imaging

// --- Web Site Copyright Notice:
// The actual rendering of this web site created by this code - 
// including design, layout, presentation, and content, and
// any and all commercial photography provided by Pirrello Digital Imaging
// used as images rendered in this web site
// is the property of Pirrello Digital Imaging.
// ©2003 by Pirrello Digital Imaging.   All rights reserved.

// --- Description:
// This is a default javascript program for use by pages that do not have other javascript. 
// It is to ensure that the page is not displayed independently or on its own outside of the
// web sites primary frameset and through the web site's main front door.  
// If direct access or side-door access is attempted, then the primary frameset page is
// rendered (which itself will further check for a front-door access).
// (For pages that have other javascript, this code should be in that page's javascript.)

if (!((typeof(top.MainDoorCode) == "string") && (top.MainDoorCode == "lcc2004pdi"))) {
  top.location = "main.htm";
  }

