// Routine to check that a page is loaded in the correct frame structure.
// This routine should be called in the at page load time, ie: 
// as follows: <body onLoad="DLC_CheckForFrame()">

function DLC_CheckForFrame()
{
	// Check if we are printing.  If preparing to print, the document
	// is not loaded, or it's height and width are both zero.
	if (document.layers && (self.innerHeight == 0 && self.innerWidth == 0))
		return;
	// If this is the top level window, or the parent frame does not
	// have a frame with the proper key name, we load the proper frame
	// passing the current page name to be loaded.
	
	if (top==self
		||(document.images ? (parent.dlc7491ebeb ? false : true)
					 : (parent.frames[0].name != 'dlc7491ebeb'))) {
		var newURL="http://" + location.host + "/index.html?" + location.href;
		if (document.images)
			top.location.replace(newURL);
		else
			top.location.href=newURL;
 	}
}


// Return the frame object containing the current image list
function DLC_getImageFrame()
{
	return top.frames[4];
}

// Return the frame object containing the main page
function DLC_getMainFrame()
{
	return top.frames[3];
}


// Return the frame object containing the main page
function DLC_outputLastModified(date)
{
	document.write('<div class="lastmodified">Last Modified: ' + date + '</div>');
}




// Dump the contents of an object
function DLC_dumpObject(obj)
{
	for (property in obj) {
		alert(property)	
	}
}


			