//this file keeps framed pages frames

//myPage = the doc URL -- this is the one the user is looking at.
myPage = self.location;
//thisPage = window URL -- this is the URL using the frameset
thisPage = top.location;

//Is the doc URL the same as the window URL? 
//We are testing to see if the doc URL is in a frameset.
//If it is in a frameset, the URLs will be different, so we won't need to run the script.
//If URLs are the same, then we need to put the doc URL in to a frameset, so we need to run this script.

if (thisPage == myPage) 
	{
	contentSRC = escape(myPage);
	frameURL = 'http://www.chasmascientific.com/index.htm?' + contentSRC;
	////sets URL of window to include the frame
	top.location.href = frameURL;
	}
