﻿// JM 09152011
// HIC CREO PHASMA

// National Sales Event Overlay
// Set url and cmpid
/*
var url="http://www.tollsalesevent.com", nseCmpid="", search=window.location.search;

// imagesLoaded is distributed under the mit license. paul irish. 2010.
if(search){var cmpidPattern=/(^\?cmpid)|(\&cmpid)/g;cmpidPattern.test(search)&&(url+=search)}
jQuery(document).ready(function(a){a.fn.imagesLoaded=function(a){var b=this.filter("img"),c=b.length;b.bind("load",function(){--c<=0&&a.call(b,this)}).each(function(){if(this.complete||this.complete===void 0)this.src=this.src})};a("#saleseventcontent > img").imagesLoaded(function(){a("#saleseventtrigger").colorbox({open:!0,inline:!0,close:"",href:"#saleseventcontent"});a("#saleseventlink").attr("href",url)},this)});
*/
