

function checkFrames() {
    if (parent.location.href == self.location.href) {

		// ask if user wants to have frames ... 
        

        // ok, now restore frames ...
	    target='http://www.digitalnature.org/frames.php?' + self.location.href;
        if (window.location.href.replace) {
            window.location.replace(target);
        }
        else {
            // causes problems with back button, but works
            window.location.href = target;
    }
  }
}