var baseURL = "http://" + location.host + "/iphone_ja/news/index.html" ;

div();

function div(){
    if (navigator.userAgent.indexOf('iPhone') != -1) { 
        location.replace(baseURL);
    }
}
