if(top == self)
{
FRAMESET_TEMPLATE =
'<html>\
<head>\
<title></title>\
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\
</head>\
<frameset ROWS="36,*,55"  framespacing="0" frameborder="no" id="frmSet">\
<frame SRC="http://www.columbus.k12.oh.us/Frames/TopFrameMenu.html" NAME="frame1" frameborder="no" scrolling="no" noresize>\
<frame SRC="__CONTENT_FRAME_URL__" name="contentFrame" frameborder="no" scrolling="auto">\
<frame SRC="http://www.columbus.k12.oh.us/Frames/BottomFrameMenu.html" NAME="frame3" frameborder="no" scrolling="no">\
</frameset>\
</html>';

PARENTED_FLAG = "?OpenForm&parented=yes";

if( location.search != PARENTED_FLAG)
{
var contentFrameUrl = location.href + PARENTED_FLAG;
var framesetHtml = FRAMESET_TEMPLATE.
replace(/__CONTENT_FRAME_URL__/, contentFrameUrl);
document.write(framesetHtml);
document.close();
}
}
