//if frame on top then jump to index?p=URI
var tempString=document.URL;
var delimiter='http://'+document.domain;
tempString=tempString.substr(delimiter.length+1,128); 

function jump(){
if (self==top){top.location.href="../?p="+tempString;}
}