// JavaScript Document
function getSrc()
{
	URL = new Array();
	URL = top.location.href;
	vars = URL.split("?");
	var homepage = vars[1];
	if (!vars[1])  {
		homepage = "home.html"
	}
	document.getElementById('content').src = homepage;
	frames.content.location.href = homepage;
	//return (homepage);
}

function Parent(parentPage) {
	var loc = top.location.pathname;
	var actualpage = loc.substring(loc.lastIndexOf("/") + 1,loc.length);
	if (actualpage) {
	var newloc = parentPage + "?" + actualpage;	
	if (loc.indexOf('index.html') == -1)
	{
		top.location.href = newloc;
	}
	}
}