function noFrameRedirect()
{
	//vraag aantal frames op
	//is dit null? dan verwijzen naar frames pagina
	//url van de huidige pagina wordt doorgegeven
	var nFrames = window.top.document.frames.length
	if(nFrames == 0){document.location = "index.asp?url="+ document.URL}
}

//onload actie frame detectie
window.document.onload = noFrameRedirect();
