(function(w,s,q,u,B){var z=w(u),t=[],r=-99999,v=false,p=false,y="waypoint.reached",C={init:function(a,b){this.each(function(){var c=w(this),f=x(c),d=f<0?w.fn[s].defaults:t[f].options,e=w.extend({},d,b);e.offset=e.offset==="bottom-in-view"?function(){return w[q]("viewportHeight")-w(this).outerHeight()}:e.offset;if(f<0){t.push({element:c,offset:c.offset().top,options:e})}else{t[f].options=e}a&&c.bind(y,a)});w[q]("refresh");return this},remove:function(){return this.each(function(){var a=x(w(this));if(a>=0){t.splice(a,1)}})},destroy:function(){return this.unbind(y)[s]("remove")}};function x(a){var b=t.length-1;while(b>=0&&t[b].element[0]!==a[0]){b-=1}return b}function D(a,b){a.element.trigger(y,b);if(a.options.triggerOnce){a.element[s]("destroy")}}function A(){var b=z.scrollTop(),c=b>r,a=w.grep(t,function(d,e){return c?(d.offset>r&&d.offset<=b):(d.offset<=r&&d.offset>b)});if(!r||!b){w[q]("refresh")}r=b;if(!a.length){return}if(w[q].settings.continuous){w.each(c?a:a.reverse(),function(d,e){D(e,[c?"down":"up"])})}else{D(a[c?a.length-1:0],[c?"down":"up"])}}w.fn[s]=function(a){if(C[a]){return C[a].apply(this,Array.prototype.slice.call(arguments,1))}else{if(typeof a==="function"||!a){return C.init.apply(this,arguments)}else{if(typeof a==="object"){return C.init.apply(this,[null,a])}else{w.error("Method "+a+" does not exist on jQuery"+s)}}}};w.fn[s].defaults={offset:0,triggerOnce:false};var E={refresh:function(){w.each(t,function(c,a){var e=0,b=a.offset;if(typeof a.options.offset==="function"){e=a.options.offset.apply(a.element)}else{if(typeof a.options.offset==="string"){var d=parseFloat(a.options.offset),e=a.options.offset.indexOf("%")?Math.ceil(w[q]("viewportHeight")*(d/100)):d}else{e=a.options.offset}}a.offset=a.element.offset().top-e;if(r>b&&r<=a.offset){D(a,["up"])}else{if(r<b&&r>=a.offset){D(a,["down"])}}});t.sort(function(a,b){return a.offset-b.offset})},viewportHeight:function(){return(u.innerHeight?u.innerHeight:z.height())},aggregate:function(){var a=w();w.each(t,function(c,b){a=a.add(b.element)});return a}};w[q]=function(a){if(E[a]){return E[a].apply(this)}else{return E.aggregate()}};w[q].settings={continuous:true,resizeThrottle:200,scrollThrottle:100};z.scroll(function(){if(!v){v=true;u.setTimeout(function(){A();v=false},w[q].settings.scrollThrottle)}}).resize(function(){if(!p){p=true;u.setTimeout(function(){w[q]("refresh");p=false},w[q].settings.resizeThrottle)}}).load(function(){w[q]("refresh");A()})})(jQuery,"waypoint","waypoints",this);window.innerShiv=(function(){var d,r;return function(h,u){if(!d){d=document.createElement("div");r=document.createDocumentFragment();
/*@cc_on d.style.display = 'none'@*/
}var e=d.cloneNode(true);
/*@cc_on document.body.appendChild(e);@*/
e.innerHTML=h.replace(/^\s\s*/,"").replace(/\s\s*$/,"");
/*@cc_on document.body.removeChild(e);@*/
if(u===false){return e.childNodes}var f=r.cloneNode(true),i=e.childNodes.length;while(i--){f.appendChild(e.firstChild)}return f}}());if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(n,b,o,e,k,l,g,f,d,m){if(!document.getElementById){return}this.DETECT_KEY=m?m:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(n){this.setAttribute("swf",n)}if(b){this.setAttribute("id",b)}if(o){this.setAttribute("width",o)}if(e){this.setAttribute("height",e)}if(k){this.setAttribute("version",new deconcept.PlayerVersion(k.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(l){this.addParam("bgcolor",l)}var a=g?g:"high";this.addParam("quality",a);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var j=(f)?f:window.location;this.setAttribute("xiRedirectUrl",j);this.setAttribute("redirectUrl","");if(d){this.setAttribute("redirectUrl",d)}};deconcept.SWFObject.prototype={useExpressInstall:function(a){this.xiSWFPath=!a?"expressinstall.swf":a;this.setAttribute("useExpressInstall",true)},setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(b,a){this.params[b]=a},getParams:function(){return this.params},addVariable:function(b,a){this.variables[b]=a},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var c=new Array();var b;var a=this.getVariables();for(b in a){if(!a.hasOwnProperty(b)){continue}c[c.length]=b+"="+a[b]}return c},getSWFHTML:function(){var b="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}b='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';b+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var f=this.getParams();for(var e in f){b+=[e]+'="'+f[e]+'" '}var d=this.getVariablePairs().join("&");if(d.length>0){b+='flashvars="'+d+'"'}b+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}b='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';b+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var c=this.getParams();for(var e in c){b+='<param name="'+e+'" value="'+c[e]+'" />'}var a=this.getVariablePairs().join("&");if(a.length>0){b+='<param name="flashvars" value="'+a+'" />'}b+="</object>"}return b},write:function(b){if(this.getAttribute("useExpressInstall")){var a=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(a)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var c=(typeof b=="string")?document.getElementById(b):b;c.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var f=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){f=new deconcept.PlayerVersion(a.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var b=1;var c=3;while(b){try{c++;b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+c);f=new deconcept.PlayerVersion([c,0,0])}catch(d){b=null}}}else{try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(d){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");f=new deconcept.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(d){if(f.major==6){return f}}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(d){}}if(b!=null){f=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}}}return f};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};deconcept.util={getRequestParameter:function(c){var d=document.location.search||document.location.hash;if(c==null){return d}if(d){var b=d.substring(1).split("&");for(var a=0;a<b.length;a++){if(b[a].substring(0,b[a].indexOf("="))==c){return b[a].substring((b[a].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var b=document.getElementsByTagName("OBJECT");for(var c=b.length-1;c>=0;c--){b[c].style.display="none";for(var a in b[c]){if(typeof b[c][a]=="function"){b[c][a]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(!document.getElementById&&document.all){document.getElementById=function(a){return document.all[a]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;var mp3Widget={settings:{widget:"MP3Clips",tag:"releasedatez-20",widgetType:"ASINList",ASIN:"",title:"",width:125,height:125,marketPlace:"US"},url:"http://ws.amazon.com",createWidget:function(d,f){this.settings.ASIN=d;var a=this.url+"/widgets/q?";var c=new SWFObject(a,"amzn_widget",this.settings.width,this.settings.height);c.addVariable("MarketPlace",this.settings.marketPlace);c.addVariable("Operation","GetDisplayTemplate");c.addVariable("ServiceVersion","20070822");c.addVariable("WS","1");c.addVariable("ID",this.settings.widget);c.setAttribute("swf",a+c.getVariablePairs().join("&"));for(i in this.settings){if(!this.settings.hasOwnProperty(i)){continue}var e=i.substr(1);var b=i.charAt(0).toUpperCase()+e;if(b=="Widget"){b="ID"}c.addVariable(b,this.escapeParam(this.settings[i]))}c.addParam("quality","high");c.addParam("bgcolor","#FFFFFF");c.addParam("allowscriptaccess","always");f.html(c.getSWFHTML())},escapeParam:function(a){a=encodeURIComponent(a);a=a.replace("+","%20");a=a.replace("/","%2F");return a}};$(function(){if($("#content").length>0){$(".pagination").hide();var b=$("<div class='loading'><p>Loading more items&hellip;</p></div>");var a=$("<div class='loading'><p>No more items</p></div>");$footer=$("#homeFooter");opts={offset:"200%"};$footer.waypoint(function(d,e){$footer.waypoint("remove");var c=$("#nextPage");if(c.length>0){$("#content").append(b);$.get(c.attr("href"),{format:"html"},function(f){var f=($.support.leadingWhitespace)?f:innerShiv(f);$(".pagination").remove();$("#content").append(f);b.detach();$footer.waypoint(opts)})}else{$("#content").append(a)}},opts)}$(".music_sample").live("click",function(){var e=$(this);var d=e.attr("data-id");var c=e.parent().prev().find(".imgConstraint");mp3Widget.createWidget(d,c)})});
