/*  shared/js/mapPrice.js::Rev No::75601   */
/*  #RESOURCELIST_START#shared/js/mapPrice.js   #RESOURCELIST_END# */

 /*   D:/SVN_Streams/Oct28NewStr/wcs-static/StaticWeb/WebContent/StaticContent/Sears/shared/js/mapPrice.js:75601   */
$(document).ready(function(){$("a.mapLink").click(function(){mapClick(this)})});function mapClick(f){var c="";c+='<div class="mapWrap">\n';c+='<div class="border">\n';c+='<a class="closeWindow">Close</a>\n';c+="<strong>Why Don't We Show the Price?</strong>\n";c+='<div class="mapSummary">\n';c+='<span class="price">*</span>\n';c+='<span class="regPrice">Original Price: <del></del></span>\n';c+='<span class="savings">You save: <span></span></span>\n';c+="<small>* Does not include tax, installation, handling or delivery charges.</small>\n";c+="</div>\n";c+="<p>Manufacturers sometimes ask retailers not to advertise and display a price below a certain limit.</p>\n";c+='<p>When shopping in a store, you may have to ask a salesperson for the price. On a web site, you may have to ask for the price by clicking on "Click to see our price."</p>\n';c+="</div>\n";c+="</div>";$("body").append(c);if(isI18NConvReq()){currencySymb=i18nCookieData.currencyCode}else{currencySymb="$"}var e=$(f).offset();var b=$(f).parent();var d=b.find("div.truePrice").html().split(currencySymb)[1];d=parseFloat(d).toFixed(2);var a=b.find("span.salePrice del").html().split(currencySymb)[1];a=parseFloat(a).toFixed(2);$(".mapWrap .price").text(currencySymb+d+"*");$(".mapWrap .regPrice del").text(currencySymb+a);$(".mapWrap .savings span").text(currencySymb+parseFloat(a-d).toFixed(2));$("div.mapWrap").show(250).css({top:e.top+15,left:function(){return(e.left-285)<0?10:(e.left-285)},background:"#fff"});$("#overlay").click(function(){$("div.mapWrap").hide(250,function(){$("div.mapWrap").remove()});$("div#overlay").remove();$("iframe#overlayiframe").remove()});$("a.closeWindow").click(function(){$("div.mapWrap").hide(250,function(){$("div.mapWrap").remove()});$("div#overlay").remove();$("iframe#overlayiframe").remove();return false});return false};