<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fe9235505dc7e3af8e8b83f119850a221' type='text/javascript'%3E%3C/script%3E"));
</script>
<script src="http://fh.sinosns.cn/appadmin/statics/js/tianhou_js/jquery.js"></script>
<script type="text/javascript">  
function browserRedirect() {
    var sUserAgent = navigator.userAgent.toLowerCase();  
    var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";  
    var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";  
    var bIsMidp = sUserAgent.match(/midp/i) == "midp";  
    var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";  
    var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";  
    var bIsAndroid = sUserAgent.match(/android/i) == "android";  
    var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";  
    var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";  
    //var strip = <?php echo $_SERVER["REMOTE_ADDR"];    ?>;
    //alert(strip);
    //return 123;
    if (bIsIphoneOs){
        window.location.href="http://fh.sinosns.cn/appadmin/index.php?m=myfunction&c=function_1&a=show_choujiang";
    }else if(bIsIpad){
        window.location.href="http://fh.sinosns.cn/appadmin/index.php?m=myfunction&c=function_1&a=show_choujiang";
    }else if(bIsAndroid || bIsUc7 || bIsUc){ 
        //window.location.href="http://fh.sinosns.cn/appadmin/index.php?m=myfunction&c=function_1&a=show_choujiang";
        window.location.href="http://fh.sinosns.cn/index.php/welcome/xiazai1";
    }else{
        window.location.href="http://fh.sinosns.cn/appadmin/index.php?m=myfunction&c=function_1&a=show_choujiang";
        //window.location.href="http://fh.sinosns.cn/appadmin/index.php?m=myfunction&c=function_1&a=show_choujiang";
    } 
}
browserRedirect();
</script>