
      var location = {
        href: "https://admin.aihouse.com/3D/V4/Default.aspx",
        origin: "https://admin.aihouse.com",
        protocol: "https:",
        host: "admin.aihouse.com",
        hostname: "admin.aihouse.com",
        search: "",
        port: "",
        reload: function() {}
      }; 
 let defaultVersion = "4.0.0.1324";
        
		function getSwjConfig() {
			if(!defaultVersion){
				defaultVersion="4.0.0.388";
			}
		
			let hostname = location.hostname.toLowerCase();

			let socketAddress = null;
			let domain = null;
			let http = null;
			let sourceApi = null;
			let apiHostUrl = null;
			let SchemeApi = "https://static.3vjia.com/"
			let transUrl ="http://ai-study1.3vjia.com/pmo/3dTrans.json";
            
			socketAddress = "ws.aihouse.com";
			domain = "https://3vj-3d-h5.3vjia.com/3d/v4";
			http = "https://api.aihouse.com/";
			sourceApi = "https://img.aihouse.com/";
			SchemeApi = "https://img.aihouse.com/",
			apiHostUrl = "https://ca-api.aihouse.com/aihouse";
			
			if(defaultVersion=="4.0.0.1277"||defaultVersion=="4.0.0.1278"||defaultVersion=="4.0.0.1279"||defaultVersion=="4.0.0.1314"||defaultVersion=="4.0.0.1324"){
				apiHostUrl = "https://ca-api.aihouse.com/aihousebeta";
			}
			
			var language='en';
			if(language=='es-ES'){
				transUrl="http://ai-study1.3vjia.com/pmo/3dTrans_es.json";
			}else if(language=='fr-FR'){
				transUrl="http://ai-study1.3vjia.com/pmo/3dTrans_fr.json";
			}else if(language=='vn-VN'){
				transUrl="http://ai-study1.3vjia.com/pmo/3dTrans_vn.json";
			}
			
			return {
				Version: defaultVersion,
				UserId: "1001099493",
				ServiceId: "",
				ProductId: "",
				Authcode: "s5jOKDKjXVAeSqWSM3ZHy91QEcowIURRgjNtVTQsWA6WPfx4tQ8eCRRWwApsGSvTxL9U596BxmimXz0Za9k+VTYrJoAehw78tsV59P5p12umOI0Y3+FP8A==",
				AuthCookie: "",//暂时设置空值"@ViewBag.AuthCookie"
				CRMAuthCode: "",
				HistorySchemeId: "",
				FilePath: "",
				Organ3dPath: "/crm/3DLoading.aspx",
				SchemeId: "",
				SchemeApi: SchemeApi,
				MaterialId: "",
				Source: "",
				OperationsCheck: "eJw101mSwjAQBNErqffW3Tg8hix/1dhEPqPAY3Hs2Md+40wwyRTTzDDL3P/YYVAMxVAMxVAMxVAMxVAcxVEcxVEcxVEcxVEcxVECJVACJVACJVACJVACJemSLumSIAmSIBXw2OKxRV7kRV48tlAKpVAKpVAapVGavMmbvMmbvMmbfMiHfPgSgzIogzIogzIog7Ioi7IoS77kS77kS77kl+7SXZ5+ye8/L96z4j2r9806R6uXkY9D18+69r2f2tK2drSrvazJMTmu3tW7elcfuo73Wl7qOt9r+bwCz+r7le637ree3/q85be8lsePmTp36typc6fOnTpXHv2jXR34+cP8C3RI5rE=",
				EmployeeName: "Daniel",
				OrganId: "C00000022",
				DealHttp: "http://opc.3vjia.com/ShoppingCart/Accounts",
				RenderLimit: "6|5",
				IsBrandHome: "0",
				OpenModel:"",
				DisOrderId: "",
				MesDomain: "https://admin.aihouse.com",
				FactoryId: "",
				CloudOrderInfo: "",
				IsCloudOrder: "0",  
				IsFactory:"0",
				URLParameter:"",//暂时设置空值'@Html.Raw(ViewBag.URLParameter)',
				showTracingImage: "",
				ModelId: "",
				RoomPaveSetting: "",
				SocketAddress:socketAddress,
				Domain:domain,
				Http:http,
				SourceApi:sourceApi,
				apiHostUrl:apiHostUrl,
				Language:"en",
				TransUrl:transUrl,
				LoadingUrl:"https://admin.aihouse.com/3d/v4" //海外自定义加载页面-使用本地页面
			};
}
window.flashvars = getSwjConfig();
var finalVersion=defaultVersion;
window.flashvars.cookie = 'Swj.Share=4DC6C9680F984AE859FBD9970DEFD4D307281417044CAB7CC087B6090CC92EDB1D13ABB0D8FB3299BCC626AF2EFC4143114F6739CD542D22D703E7322E62041AE8D433972B8F6EA4A53EDCF13B54C1E6E00A918E81AC612E07FFDBAA320FB665E4F8F8662BD37DE654134467246421FB494D9BC6A0DECA39D7FBDAEBB81BB3907C525DC6C6F66AB9E0A675AE2E32920C942D401966C03284FA087477A0AA5379C553E6EF4C7BD6ECBFC2E61B2AA4A7EBF26BEA6E85D010DC70D738D2829F5C0356A8D5AE24C97CBD1F037A511151D2BDCB96A7F40E044BE57CF6FA1E22DEFF96A76BABAA49A80C31FF13D73AF5499B73CF008D4A4EE7E8509C9D1DFD260626EFA93407798FCC7174AA71218E40E5393C3393584157073D5D2726E6792E462EC0B1E7B769DB52F066414310D7349A7CA788D087CE02EEA929AE439CD3CA3B3DEFF26CCF2F73E3D573072BB97999A3F2F99F21EA8D5F0AFA7D842D9FFDBB7E32193596910C77555DBC8AA85AD1A5DC416A5C5FC1567E88B9F24410B012FE08CA27798B64F4;is_authed=1'