var userAgent = navigator["userAgent"]["toLowerCase"](); var html5keys = ["iphone","ipad","ipod","symbianos","ios"] ; var isHTML5 = false ; for(var i=0;i0) isHTML5 = true ; } if (isHTML5) location.href = "HTML5/index.html" ; else location.href = "FLASH/index.html" ;