function mobile_device_detect(url) {
var thisOS = navigator.platform;
var os = new Array("iPhone", "iPod", "iPad", "android", "Nokia", "SymbianOS", "Symbian", "Windows Phone", "Phone", "Linux armv71", "MAUI", "UNTRUSTED/1.0", "Windows CE", "BlackBerry", "IEMobile");
for (var i = 0; i < os.length; i++) {
if (thisOS.match(os[i])) {
window.location = url;
}
}
//因为相当部分的手机系统不知道信息,这里是做临时性特殊辨认
if (navigator.platform.indexOf('iPad') != -1) {
window.location = url;
}
//做这一部分是因为Android手机的内核也是Linux
//但是navigator.platform显示信息不尽相同情况繁多,因此从浏览器下手,即用navigator.appVersion信息做判断
var check = navigator.appVersion;
if (check.match(/linux/i)) {
//X11是UC浏览器的平台 ,如果有其他特殊浏览器也可以附加上条件
if (check.match(/mobile/i) || check.match(/X11/i)) {
window.location = url;
}
}
//类in_array函数
Array.prototype.in_array = function (e) {
for (i = 0; i < this.length; i++) {
if (this[i] == e)
return true;
}
return false;
}
}
var nowurl = (window.location.href).replace("http://www.premier-capital.com/","");
if (nowurl.length > 2) {
if (nowurl.substring(0, 2) != "m/") {
if (nowurl.indexOf('Introduction') > -1) {
mobile_device_detect("http://m.premier-capital.com/m/introduce.html");
}
else {
mobile_device_detect("http://m.premier-capital.com/m/" + nowurl);
}
}
} else {
mobile_device_detect("http://m.premier-capital.com/");
}
澳洲房产投资:澳元大跳水!跌穿4.4!澳洲买房赚翻了!
2015-09-19
/*var hidebdb = setInterval(function(){
if(document.getElementById("BDBridgeWrap")!=null)
{
document.getElementById("BDBridgeWrap").style.display="none";
clearInterval(hidebdb);
}
},50);*/
//20150706注释
/*$(function(){
$("#BDBridgeWrap").css({"display":"none"});
$(".fixedivLink li .a2").hover(function () {
$("#BDBridgeWrap").css({"display":"block"});
});
})*/
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?c250ee3945c077f7112b170fc73eee10";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fdd7eafd6da862fe920105daa206332a9' type='text/javascript'%3E%3C/script%3E"));
$(function(){
$(".headerBotL li").eq(2).find(".subNav a").eq(1).click(function(){
alert("正在建设中...");
})
})
$(function () {
$(".aaddclass a").each(function () {
$(this).css("color", "#E56600");
});
});
$(".headerBotL li:eq(6)").addClass("curr");
var i = 0;
$(function () {
$(".exhi_info_bt ul li").each(function () {
if ($(this).find("a").attr("href").indexOf("26") > -1) {
$(this).find("a").addClass("curr");
return false;
}
i++;
});
if (i == $(".exhi_info_bt ul").find("li").length) {
$(".exhi_info_bt ul li:eq(0) a").addClass("curr");
}
});
window._bd_share_config = {
"common": {
"bdSnsKey": {},
"bdText": "",
"bdMini": "2",
"bdMiniList": false,
"bdPic": "",
"bdStyle": "0",
"bdSize": "24"
},
"share": {}
};
with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];
$.ajax({
type: "post",
dataType: "text",
data: "Id=16753",
url: "/ashx/AddClick.ashx",
success: function (result) {
$("#clickCount").html("");
$("#clickCount").html("点击次数:" + result);
}
});