/* This code handles a web page redirection of the    */
/*   type: index.html?some_page.html                  */
/* The "some_page.html" must include frame_in.js.     */
/* The objective is to allow simple links to image    */
/*   pages and still force the browser into the       */
/*   framed web site.                                 */

main_url="home.html"

if (parent.document.URL)
{
	src_url=parent.document.URL
	pos=src_url.indexOf('?')
	if (pos != -1)
	{
		main_url=src_url.substring(pos + 1,src_url.length)
	}
}

document.writeln('<frameset rows="61,*">')
document.writeln('    <frame name="TITLE" src="title.html" marginheight="0" marginwidth="0">')
document.writeln('    <frameset cols="200,*">')
document.writeln('        <frame name="treeframe" src="menu.html">')
document.writeln('        <frame name="basefrm" src="' + main_url + '">')
document.writeln('    </frameset>')
document.writeln('</frameset>')

