properties = { "isShare":"True", "isToc":"False", "isCopy":"False", "isThumbnail":"True", "isDownload":"True" } properties.isShare = (properties.isShare == "True"); properties.isToc = (properties.isToc == "True"); properties.isCopy = (properties.isCopy == "True"); properties.isThumbnail = (properties.isThumbnail == "True"); properties.isDownload = (properties.isDownload == "True"); properties.isECommerce = true; LANG = 'ru'; LOCALS_FOLDER = 'locals'; ASSETS_FOLDER = '../'; DOWNLOD_FOLDER = ''; PAGES_CONTENT_FOLDER='../common/pages-content'; TITLE = "Каталог одежды"; COVER_SRC = "../flash/pages/page0001_s.jpg"; SPREAD_SRC = "../flash/spread.html"; FULL_SRC = "../../../index.html"; LINK = "_blank"; RTL = ("False" == "True"); CID = []; PublicationTypeName = 'digital magazine'; PublicationTypeUrl = ''; shopProperties = { id: '772c5309ee60f0916771b37794d69ed7', name: '', usePublicationCart: ('true' == "true"), currency: { code: 'USD', name: 'US Dollar', symbol: '$', thousandsDelimiter: ' ', decimalSeparator: ',', placeSymbolBeforePrice: '', accuracy: '2' }, providers: { 'PayPal':{ 'email': 'tryqqqqqq@gmail.com' , 'method': 'POST' , 'sandbox': 'True' } } }; cartProperties = { publicationID :'7cd5dca063d61f1caec8db552e62c6bd', scale:'0.79625', hasPriceTag :'True', onClickAction:'Window', circleColor:'#259C2B', circleRadius: 16, circleOrientation:'bottomright', basketColor: "#fff", basketEmptyImg:"./style/cart.png", basketEmptyFull:"./style/cart_down.png", priceTagColorAlpha:'0.8', priceTagColor:'255, 255, 255', priceTagFontColor:'#337F37' }; if(properties.isECommerce){ var head = document.getElementsByTagName("head")[0]; script = document.createElement('script'); script.type = 'text/javascript'; script.src = ASSETS_FOLDER + "common/ecommerce/cart.js"; head.appendChild(script); var script = document.createElement('script'); script.type = 'text/javascript'; script.src = ASSETS_FOLDER + "common/ecommerce/products.js"; head.appendChild(script); script = document.createElement('script'); script.type = 'text/javascript'; script.src = "./javascript/ecommerce.js"; head.appendChild(script); var link = document.createElement('link'); link.type = "text/css"; link.rel = "stylesheet"; link.href = "style/cart.css"; head.appendChild(link); }