// frameJammer_hp v3.2.2 framestuffer
// modifies for generic use by peter maleh NOSPAMpeter@maleh.de

//get the page location, location return an object
var fullURLasObject = self.location;
//convert the location object to a usable string
var URLasString = fullURLasObject.toString();
//find out the position of the last slash before the file name
var lastSlashPos = URLasString.lastIndexOf("/");
//the filename starts one char after the slash
var fileNameStart = lastSlashPos+1;
//extract the file name 
var fileName = URLasString.substring(fileNameStart)

if (window.name!='content' && window.name!='booker_'
		 && !((self.innerHeight == 0) && (self.innerWidth == 0)))
		top.location.replace('../index.html?body/'+fileName+'~content');
// frameJammer_hp End

