if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/uPod/i)))
{
location.replace("?i");
}

