All pastes #2110759 Raw Edit

Someone

public text v1 · immutable
#2110759 ·published 2012-02-07 10:19 UTC
rendered paste body
var isProductPage = true;
// i'm leaving this in just in case we have cache issues when DEV-22748 goes live. after that, please delete - ratkinson
var tellApart = false;
var styleId = 544078;
var productId = 7377342;
var productName = "6\" Premium Boot";
var brandId = 160;
var brandName = "Timberland";
var productTypeId = 1;
var productGender = "Womens";
var productTypeValue = 'Footwear';
var zetaCategories = [ {"27567": "Shoes"},
{"27571": "Boots"}
];
var videos = {
'mp4' : '7/3/7/7377342.mp4'
,
'flv' : '7/3/7/7377342.flv'
};
var category, subCategory;
category = "Boots";
subCategory = "Ankle";
var showSF = false;
var subsiteId = 17;
var isKids = false;
var stockJSON = [{"id":"15739375","color":"2198","onHand":2,"d3":"3100","d4":"67646"},{"id":"15739377","color":"2198","onHand":2,"d3":"3101","d4":"67646"},{"id":"15739378","color":"2198","onHand":2,"d3":"3101","d4":"77849"},{"id":"15739388","color":"2198","onHand":2,"d3":"3106","d4":"77849"},{"id":"15739389","color":"2198","onHand":2,"d3":"3107","d4":"67646"},{"id":"15739390","color":"2198","onHand":2,"d3":"3107","d4":"77849"},{"id":"15739392","color":"2198","onHand":1,"d3":"3108","d4":"77849"},{"id":"15739394","color":"2198","onHand":1,"d3":"3109","d4":"77849"}];
var multiviewLink = "/multiview/7377342/2198";
var dimensions = ["d3","d4"];
var dimToUnitToValJSON = {"d3":{"u7":[3100,3101,3106,3107,3108,3109]},"d4":{"u57618":[67646,77849]}};
var unitIdToNameJSON = {"u7":"Women's Size","u57618":"Women's Width Conversion"};
var dimensionIdToNameJson = {"d3":"size","d4":"width"};
var valueIdToNameJSON = {"3100":{"value":"5.5","abbrValue":"5.5"},"3101":{"value":"6","abbrValue":"6"},"3106":{"value":"8.5","abbrValue":"8.5"},"3107":{"value":"9","abbrValue":"9"},"3108":{"value":"9.5","abbrValue":"9.5"},"3109":{"value":"10","abbrValue":"10"},"67646":{"value":"B - Medium","abbrValue":"B"},"77849":{"value":"D - Wide","abbrValue":"D"}};
var convertedValueIdToValueIdJson = {"3113":3113,"3100":3100,"3099":3099,"3101":3101,"3111":3111,"77849":77849,"3107":3107,"3106":3106,"67646":67646,"3109":3109,"3108":3108,"3103":3103,"3102":3102,"3105":3105,"3104":3104};
var dimensionIdToTagAndUnitAndValuesJson = {};
var dropdownToggleJson;
var dimensionIdToUnitIdJson = {"d3":"u7","d4":"u57618"};
var sizeDimensionId = 3;
var colorNames = {
'2198':"Wheat Nubuck"
}
;
var tags = {
"1550482": [
],
"1550479": [
],
"544077": [
],
"1550481": [
],
"1550480": [
],
"544078": [
]
}
;
var colorPrices = {
'2198': {
"now": '$150.00',
"was": '$150.00'
}
}
;
var styleIds = {
'2198': 544078
}
;
var colorIds = {
'544078': 2198
}
;
var iconicDesc =
{
'544078':[
]
}
;
var productImages = {};
var productThumbnailSources = {};
var ProductPage = {};
ProductPage.searchToken = "4fd01eb2727b220c84809bc3f98f3ecb6894e511ffafb0584e27301b665174e624fb382252615b81543ce50365f3bf75230f75dd897f747501ff38244072ffb947c19b65ba9ba79ef9487dba660b861606a310d083e2d75393e44f4812b4eb9ccbc0acee4aee9c892ef7380dcaefec5a";
var isZombie = false;
ProductPage.productToken = "4fd01eb2727b220c84809bc3f98f3ecb6894e511ffafb0584e27301b665174e624fb382252615b81543ce50365f3bf7558954c33671d861441844d9510bcb8b19751957a265d8261f3da69f6a19cf8009bc4b9d4faa562abb2e7ef18b6b00741d483ddd5ea50a8ee2733d3c7626387ae";
ProductPage.imageToken = "4fd01eb2727b220c84809bc3f98f3ecb6894e511ffafb0584e27301b665174e624fb382252615b81543ce50365f3bf75056ecb90be826d97d02461819457b5088ce6bd4895843cfc1b88aecf97876bf017d77a4c5abe7001a0f608e6440a6b6d769c85bdae58d4293ef9002764541c18";
beforeLAB();
$LAB
.script('/js/main.p.20120201135137.js')
.wait()
.script('/js/trackingPixel/mercentTracker.js')
.wait()
.script('/js/product.p.20120201135126.js')
.wait(afterLAB);
$LAB
.script('http://api.choicestream.com/instr/csanywhere.js')
.wait(function() {
z.runChoiceStreamQueue();
var uid = z.readCookie("CustomerHash");
var csImg = new Image();
if (uid) {
csImg.src = 'http://api.choicestream.com/instr/pixel/9bfa0f0097652821/itemview.gif?uid=' + uid + '&ckid=' + z.TID + '&id=544078&r=' + (new Date).getTime();
} else {
csImg.src = 'http://api.choicestream.com/instr/pixel/9bfa0f0097652821/itemview.gif?ckid=' + z.TID + '&id=544078&r=' + (new Date).getTime();
}
document.getElementsByTagName('body')[0].appendChild(csImg);
});