if(window.location.search.substring(1) !== "full=true"){
   var l = document.getElementsByTagName("link");
   for(var i = 0; i < l.length; i++)
   {
      // find the right link tag, test the userAgent & screen.width
      if((/alternate/i.test(l[i].rel) && /handheld/i.test(l[i].media)) &&(/iPhone|iPad|Android|Blackberry|WebOs/i.test(navigator.userAgent) || screen.width <= 699))
{
window.location.replace(l[i].href);
}
}
} 
