<!--#include file="ow.client.asp"-->
<%:call Client.init():call jsconfig():set Client = nothing:function jsconfig():dim jscfg:jscfg = jscfg &"OW.debug = "& lcase(DEBUG) &";"&vbcrlf :jscfg = jscfg &"OW.runMode = "& OW.config("run_mode") &";"&vbcrlf :jscfg = jscfg &"OW.cacheOpen = "& lcase(OW.cbool(OW.config("cache_open"))) &";"&vbcrlf :jscfg = jscfg &"OW.htmlCacheOpen = "& lcase(OW.cbool(OW.config("html_cache_open"))) &";"&vbcrlf:jscfg = jscfg &"OW.systime = """& SYS_TIME &""";"&vbcrlf:jscfg = jscfg &"OW.logined = "& lcase(LOGINED) &";"&vbcrlf :jscfg = jscfg &"OW.sitePath = """& SITE_PATH &""";"&vbcrlf :jscfg = jscfg &"OW.siteUrl = """& SITE_URL &""";"&vbcrlf :jscfg = jscfg &"OW.siteHurl = """& SITE_HURL &""";"&vbcrlf :jscfg = jscfg &"OW.siteHtmlFileSuffix = """& SITE_HTML_FILE_SUFFIX &""";"&vbcrlf :jscfg = jscfg &"OW.ucenterHurl = """& UCENTER_HURL &""";"&vbcrlf :jscfg = jscfg &"OW.loginUrl = """& OW.urlRewrite("l1") &""";"&vbcrlf :jscfg = jscfg &"OW.logoutUrl = """& OW.urlRewrite("l2") &""";"&vbcrlf :jscfg = jscfg &"OW.regUrl = """& OW.urlRewrite("l3") &""";"&vbcrlf :jscfg = jscfg &"OW.forgetPasswordUrl = """& OW.urlRewrite("l4") &""";"&vbcrlf :jscfg = jscfg &"OW.c1t = """& OW.urlRewrite("c1t") &""";"&vbcrlf :jscfg = jscfg &"OW.c2t = """& OW.urlRewrite("c2t") &""";"&vbcrlf :jscfg = jscfg &"OW.c3t = """& OW.urlRewrite("c3t") &""";"&vbcrlf :jscfg = jscfg &"OW.c4t = """& OW.urlRewrite("c4t") &""";"&vbcrlf :jscfg = jscfg &"OW.moneySb = """& OW.config("money_sb") &""";"&vbcrlf :jscfg = jscfg &"OW.cookie.cookiePre = """& COOKIE_PRE &""";"&vbcrlf :jscfg = jscfg &"OW.cookie.cookieDomain = """& COOKIE_DOMAIN &""";"&vbcrlf:jscfg = jscfg &"OW.cookie.cookiePath = """& COOKIE_PATH &""";"&vbcrlf:jscfg = jscfg &"OW.shoppingIsNeedLogin = "& OW.int(OW.config("shopping_is_need_login")) &";"&vbcrlf:jscfg = jscfg &"OW.isPriceNeedLogin = "& OW.int(OW.config("is_price_need_login")) &";"&vbcrlf:if IS_GOODS_PAGE then:jscfg = jscfg &"OW.stocklang = """& OS.lang(1018) &""";"&vbcrlf :end if:jscfg = jscfg &"OW.cartUrl = """& OW.urlRewrite("ct") &""";"&vbcrlf :jscfg = jscfg &"OW.isCostFreightInvoice = "& OW.int(OW.config("is_cost_freight_invoice")) &";"&vbcrlf:jscfg = jscfg &"OW.serviceOnlineOpen = "& OW.int(OW.config("service_online_open")) &";"&vbcrlf:jscfg = jscfg &"OW.serviceOnline = '"& OW.rs(OW.config("service_online")) &"';"&vbcrlf:jscfg = jscfg &"OW.serviceOnlineInitTypePc = "& OW.int(OW.config("service_online_init_type_pc")) &";"&vbcrlf:jscfg = jscfg &"OW.serviceOnlineInitTypeMob = "& OW.int(OW.config("service_online_init_type_mob")) &";"&vbcrlf:jscfg = jscfg &"OW.version = """& OW_VERSION &""";"&vbcrlf:jscfg = jscfg &"OW.version_type = """& OW_VERSION_TYPE &""";"&vbcrlf:jscfg = jscfg &"OW.version_senior = """& OW_VERSION_SENIOR &""";"&vbcrlf:jscfg = jscfg &"OW.version_name = """& OW_VERSION_NAME &""";"&vbcrlf:jscfg = jscfg &"OW.runTime = """& OW.runTime &""";"&vbcrlf:echo jscfg:end function:%>