//Following statement forces documents into gnepage-frame when opened outside frameset

var PageRequested = location.href.substring(location.href.lastIndexOf("/")+1);
if ((top != self.parent) || (top == self)){
	top.location.replace('index2.htm?' + PageRequested);
}

//Following statement forces documents into gnepage-frame after Google Search on website

if (top.frames[0].googlesearch==1)
{
top.ResultSelected();
top.frames[0].googlesearch=0;
}