function check_frame() {
	if (parent.frames.length==0) {
		location.href="./?index.php?url="+escape(location.href);
	} 
}
