

// Detect if page loaded outside of default frameset
// Last Revision 31-05-01 by Richard Hume
// Last Revision 10-10-01 by Richard Hume
// Last Revision 15-6-02 by Richard Hume
// Last Revision 4-7-02 by Richard Hume

var childURL = false	
var theurl = location.href.substring(location.href.lastIndexOf("/")+1);

//alert(theurl);
//alert('index.htm?' + naar);

if (theurl == 'clubs_view.asp')
{
	//alert(theurl);
	theurl = ('../clubs/' + theurl);
	childURL = true;
	//alert(theurl);
}

if ((top != self.parent) || (top == self)) {
	if (childURL = true) {
		//alert('is child');
		top.location.replace('../index.htm?' + theurl);
	}
}	
else {	
	//top.location.replace('index.htm?' + theurl);
}




