function noTopFrame(pScriptFile) {
	if (parent.frames.length!=0) {
		parent.location = pScriptFile;
	}
}

function HasTopFrame(pScriptFile) {
	if (parent.frames.length==0) {
		top.location = pScriptFile;
	}
}
