if((navigator.userAgent.match(/iPhone/i)) ||(navigator.userAgent.match(/iPod/i)))location.replace("http://ryanchan.ca/mobile"); 

/* if(screen.width<800)location.replace("http://ryanchan.ca/mobile"); */