pageLocation = self.location;
pageAddress = top.location;

if (pageLocation == pageAddress) 
{
   if (screen.width >= 1024)
   {
       contentSource = escape(pageLocation);
       contentPage = 'index.html?' + contentSource;
       top.location.href = contentPage;
   }
   else
   {  
     contentSource = escape(pageLocation);
     contentPage = 'index.html?' + contentSource;
     top.location.href = contentPage;
   }
}


