1document.observe("dom:loaded",function(){AmAjaxShoppCartLoad();(function(a){a.confirm=function(e){if(a("#confirmOverlay",window.parent.document).length>0){return false}var l="";a.each(e.buttons,function(i,n){l+='<button class="'+n["class"]+'"><span><span>'+n.name+"</span></span></button>";if(!n.action){n.action=function(){}}});var m=document.createElement("div");m=a(m);m.attr("id","confirmOverlay");var j=document.createElement("div");j=a(j);j.attr("id","hideDiv");j.appendTo(m);var h=document.createElement("div");h=a(h);h.attr("id","confirmBox");switch(AmAjaxObj.options.align){case"1":h.css("top","130px");h.css("left","50%");break;case"2":h.css("top","130px");h.css("left","230px");break;case"3":h.css("top","130px");h.css("right","0px");break;case"4":h.css("top","30%");h.css("left","230px");break;case"5":h.css("top","30%");h.css("right","0px");break;case"0":default:h.css("top","30%");h.css("left","50%")}h.appendTo(m);var d=document.createElement("div");d=a(d);d.attr("id","confirmButtons");d.html(l);d.appendTo(h);var c=document.createElement("div");c=a(c);c.attr("id","messageBox");c.html(e.message);c.insertBefore(d);var k=document.createElement("h1");k=a(k);k.html(e.title);k.insertBefore(c);m.hide().appendTo(a("body",window.parent.document));m.fadeIn();var b=h.width()/2;if(b<160){b=230}h.css("marginLeft",-b);j.click(function(){a.confirm.hide()});var g=a("#confirmButtons button",window.parent.document),f=0;a.each(e.buttons,function(i,n){g.eq(f++).click(function(){n.action();return false})});a.confirm.timer()};a.confirm.timer=function(){var c=a("#confirmButtons button:last-child",window.parent.document);var d=c.text();var b=parseInt(d.replace(/\D+/g,""));if(b){document.timer=setInterval("AmAjaxObj.oneSec();",1000)}};a.confirm.hide=function(){a("#confirmOverlay",window.parent.document).fadeOut(function(){var b=a("#confirmBox .super-attribute-select",window.parent.document).length;a(this).remove();if(a(".col-main",window.parent.document).length&&b){if("undefined"!=typeof(currentOptionsPrice)){optionsPrice=currentOptionsPrice}if("undefined"!=typeof(currentopConfig)){opConfig=currentopConfig}if("undefined"!=typeof(currentspConfig)){spConfig=currentspConfig}}if("undefined"!=typeof(parent.jQuery.fancybox)){parent.jQuery.fancybox.close()}})}})(jQuery)});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.