self.moveTo(0,0);
if (screen.availWidth > 1024)
  self.resizeTo(1016,screen.availHeight);
else
  self.resizeTo(screen.availWidth,screen.availHeight);

if (top.frames.length != 0)
	{
	top.location=document.location;
	}

