// writes in the iframe
var contPage = (location.search.substring(1))? location.search.substring(1) : 'index.html';
// now check to see that myDomain is part of the content page string
var myDomain = "happyharborcomics";
var contValid = contPage.search(myDomain);
if (contValid == -1)
    contPage = "page_index.html";
else
    contPage = unescape(contPage);

document.write('<iframe src="'+contPage+'" style="width:99%; height:780px" frameborder="0" name="viewpane" scrolling="auto">This site uses iFrames. You are seeing this because you do not. Sorry!</iframe>');