var Domain = window.location.href;
var si=Domain.indexOf('wap');
var SiteDomain =Domain.substring(7,si-1);
var http = 'https:' == document.location.protocol ? 'https://': 'http://';
var SiteUrl = http+SiteDomain+"/index.php/home";
var ApiUrl = http+SiteDomain+"/index.php/mobile";
var pagesize = 10;
var WapSiteUrl = http+SiteDomain+"/wap";
var IOSSiteUrl = http+SiteDomain+"/app.ipa";
var AndroidSiteUrl = http+SiteDomain+"/app.apk";
var WeiXinOauth = true;