!function(n){var t,i;n.hasInitialised||(t={escapeRegExp:function(n){return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(n,t){var i=" ";return 1===n.nodeType&&(i+n.className+i).replace(/[\n\t]/g,i).indexOf(i+t+i)>=0},addClass:function(n,t){n.className+=" "+t},removeClass:function(n,t){var i=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");n.className=n.className.replace(i,"")},interpolateString:function(n,t){return n.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,function(){return t(arguments[1])||""})},getCookie:function(n){var i="; "+document.cookie,t=i.split("; "+n+"=");if(2==t.length)return t.pop().split(";").shift()},setCookie:function(n,t,i,r,u){var f=new Date,e;f.setDate(f.getDate()+(i||365));e=[n+"="+t,"expires="+f.toUTCString(),"path="+(u||"/")];r&&e.push("domain="+r);document.cookie=e.join(";")},deepExtend:function(n,t){for(var i in t)t.hasOwnProperty(i)&&(i in n&&this.isPlainObject(n[i])&&this.isPlainObject(t[i])?this.deepExtend(n[i],t[i]):n[i]=t[i]);return n},throttle:function(n,t){var i=!1;return function(){i||(n.apply(this,arguments),i=!0,setTimeout(function(){i=!1},t))}},hash:function(n){var i,r,u,t=0;if(0===n.length)return t;for(i=0,u=n.length;i<u;++i)r=n.charCodeAt(i),t=(t<<5)-t+r,t|=0;return t},normaliseHex:function(n){return"#"==n[0]&&(n=n.substr(1)),3==n.length&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]),n},getContrast:function(n){n=this.normaliseHex(n);var t=parseInt(n.substr(0,2),16),i=parseInt(n.substr(2,2),16),r=parseInt(n.substr(4,2),16),u=(299*t+587*i+114*r)/1e3;return u>=128?"#000":"#fff"},getLuminance:function(n){var t=parseInt(this.normaliseHex(n),16),i=38,r=(t>>16)+i,u=(t>>8&255)+i,f=(255&t)+i,e=(16777216+65536*(r<255?r<1?0:r:255)+256*(u<255?u<1?0:u:255)+(f<255?f<1?0:f:255)).toString(16).slice(1);return"#"+e},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(n){return"object"==typeof n&&null!==n&&n.constructor==Object}},n.status={deny:"deny",allow:"allow",dismiss:"dismiss"},n.transitionEnd=function(){var i=document.createElement("div"),t={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"},n;for(n in t)if(t.hasOwnProperty(n)&&"undefined"!=typeof i.style[n+"ransition"])return t[n];return""}(),n.hasTransition=!!n.transitionEnd,i=Object.keys(n.status).map(t.escapeRegExp),n.customStyles={},n.Popup=function(){function r(){this.initialise.apply(this,arguments)}function f(n){this.openingTimeout=null;t.removeClass(n,"cc-invisible")}function e(t){t.style.display="none";t.removeEventListener(n.transitionEnd,this.afterTransition);this.afterTransition=null}function h(){var t=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return t(n.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK)return t(n.status.allow),!0;var u=Object.keys(n.status),i=this.getStatus(),r=u.indexOf(i)>=0;return r&&t(i),r}function o(){var t=this.options.position.split("-"),n=[];return t.forEach(function(t){n.push("cc-"+t)}),n}function c(){var i=this.options,r="top"==i.position||"bottom"==i.position?"banner":"floating",n;return t.isMobile()&&(r="floating"),n=["cc-"+r,"cc-type-"+i.type,"cc-theme-"+i.theme],i.static&&n.push("cc-static"),n.push.apply(n,o.call(this)),v.call(this,this.options.palette),this.customStyleSelector&&n.push(this.customStyleSelector),n}function l(){var i={},n=this.options,r,u;return n.showLink||(n.elements.link="",n.elements.messagelink=n.elements.message),Object.keys(n.elements).forEach(function(r){i[r]=t.interpolateString(n.elements[r],function(t){var i=n.content[t];return t&&"string"==typeof i&&i.length?i:""})}),r=n.compliance[n.type],r||(r=n.compliance.info),i.compliance=t.interpolateString(r,function(n){return i[n]}),u=n.layouts[n.layout],u||(u=n.layouts.basic),t.interpolateString(u,function(n){return i[n]})}function u(i){var u=this.options,e=document.createElement("div"),f=u.container&&1===u.container.nodeType?u.container:document.body,r;return e.innerHTML=i,r=e.children[0],r.style.display="none",t.hasClass(r,"cc-window")&&n.hasTransition&&t.addClass(r,"cc-invisible"),this.onButtonClick=a.bind(this),r.addEventListener("click",this.onButtonClick),u.autoAttach&&(f.firstChild?f.insertBefore(r,f.firstChild):f.appendChild(r)),r}function a(r){var u=r.target,f,e;t.hasClass(u,"cc-btn")&&(f=u.className.match(new RegExp("\\bcc-("+i.join("|")+")\\b")),e=f&&f[1]||!1,e&&(this.setStatus(e),this.close(!0)));t.hasClass(u,"cc-close")&&(this.setStatus(n.status.dismiss),this.close(!0));t.hasClass(u,"cc-revoke")&&this.revokeChoice()}function v(n){var r=t.hash(JSON.stringify(n)),u="cc-color-override-"+r,i=t.isPlainObject(n);return this.customStyleSelector=i?u:null,i&&y(r,n,"."+u),i}function y(i,r,u){var h,l,c;if(n.customStyles[i])return void++n.customStyles[i].references;var s={},f=r.popup,e=r.button,o=r.highlight;f&&(f.text=f.text?f.text:t.getContrast(f.background),f.link=f.link?f.link:f.text,s[u+".cc-window"]=["color: "+f.text,"background-color: "+f.background],s[u+".cc-revoke"]=["color: "+f.text,"background-color: "+f.background],s[u+" .cc-link,"+u+" .cc-link:active,"+u+" .cc-link:visited"]=["color: "+f.link],e&&(e.text=e.text?e.text:t.getContrast(e.background),e.border=e.border?e.border:"transparent",s[u+" .cc-btn"]=["color: "+e.text,"border-color: "+e.border,"background-color: "+e.background],"transparent"!=e.background&&(s[u+" .cc-btn:hover, "+u+" .cc-btn:focus"]=["background-color: "+p(e.background)]),o?(o.text=o.text?o.text:t.getContrast(o.background),o.border=o.border?o.border:"transparent",s[u+" .cc-highlight .cc-btn:first-child"]=["color: "+o.text,"border-color: "+o.border,"background-color: "+o.background]):s[u+" .cc-highlight .cc-btn:first-child"]=["color: "+f.text]));h=document.createElement("style");document.head.appendChild(h);n.customStyles[i]={references:1,element:h.sheet};l=-1;for(c in s)s.hasOwnProperty(c)&&h.sheet.insertRule(c+"{"+s[c].join(";")+"}",++l)}function p(n){return n=t.normaliseHex(n),"000000"==n?"#222":t.getLuminance(n)}function w(i){var f,u,r;t.isPlainObject(i)&&(f=t.hash(JSON.stringify(i)),u=n.customStyles[f],u&&!--u.references&&(r=u.element.ownerNode,r&&r.parentNode&&r.parentNode.removeChild(r),n.customStyles[f]=null))}function s(n,t){for(var i,r=0,u=n.length;r<u;++r)if(i=n[r],i instanceof RegExp&&i.test(t)||"string"==typeof i&&i.length&&i===t)return!0;return!1}function b(){var u=this.setStatus.bind(this),r=this.options.dismissOnTimeout,t,i;"number"==typeof r&&r>=0&&(this.dismissTimeout=window.setTimeout(function(){u(n.status.dismiss)},Math.floor(r)));t=this.options.dismissOnScroll;"number"==typeof t&&t>=0&&(i=function(){window.pageYOffset>Math.floor(t)&&(u(n.status.dismiss),window.removeEventListener("scroll",i),this.onWindowScroll=null)},this.onWindowScroll=i,window.addEventListener("scroll",i))}function k(){var i,f,n,r;("info"!=this.options.type&&(this.options.revokable=!0),t.isMobile()&&(this.options.animateRevokable=!1),this.options.revokable)&&(i=o.call(this),this.options.animateRevokable&&i.push("cc-animate"),this.customStyleSelector&&i.push(this.customStyleSelector),f=this.options.revokeBtn.replace("{{classes}}",i.join(" ")),this.revokeBtn=u.call(this,f),n=this.revokeBtn,this.options.animateRevokable&&(r=t.throttle(function(i){var r=!1,u=window.innerHeight-20;t.hasClass(n,"cc-top")&&i.clientY<20&&(r=!0);t.hasClass(n,"cc-bottom")&&i.clientY>u&&(r=!0);r?t.hasClass(n,"cc-active")||t.addClass(n,"cc-active"):t.hasClass(n,"cc-active")&&t.removeClass(n,"cc-active")},200),this.onMouseMove=r,window.addEventListener("mousemove",r)))}var d={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(){},onStatusChange:function(){},onRevokeChoice:function(){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"http://cookiesandyou.com",close:"&#x274c;"},elements:{header:'<span class="cc-header">{{header}}<\/span>&nbsp;',message:'<span id="cookieconsent:desc" class="cc-message">{{message}}<\/span>',messagelink:'<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" target="_blank">{{link}}<\/a><\/span>',dismiss:'<a aria-label="dismiss cookie message" role=button tabindex="0" class="btn cc-btn cc-dismiss">{{dismiss}}<\/a>',allow:'<a aria-label="allow cookies" role=button tabindex="0"  class="btn cc-btn cc-allow">{{allow}}<\/a>',deny:'<a aria-label="deny cookies" role=button tabindex="0" class="btn cc-btn cc-deny">{{deny}}<\/a>',link:'<a aria-label="learn more about cookies" role=button tabindex="0" class="btn cc-btn cc-link" href="{{href}}" target="_blank">{{link}}<\/a>',close:'<span aria-label="dismiss cookie message" role=button tabindex="0" class="cc-close">{{close}}<\/span>'},window:'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window {{classes}}"><!--googleoff: all-->{{children}}<!--googleon: all--><\/div>',revokeBtn:'<div class="cc-revoke {{classes}}">Cookie Policy<\/div>',compliance:{info:'<div class="cc-compliance">{{allow}}<\/div><div class="cc-compliance"><a class="btn cc-btn cc-privacy" href="https://apps.explorelearning.com/account/el/privacy" target="_blank" tabindex="0" role="button" aria-label="privacy policy">Privacy Policy<\/a><\/div>',"opt-in":'<div class="cc-compliance cc-highlight">{{dismiss}}{{allow}}<\/div>',"opt-out":'<div class="cc-compliance cc-highlight">{{deny}}{{dismiss}}<\/div>'},type:"info",layouts:{basic:"{{message}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},layout:"basic",position:"bottom",theme:"block",static:!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};return r.prototype.initialise=function(n){var i,r,f;this.options&&this.destroy();t.deepExtend(this.options={},d);t.isPlainObject(n)&&t.deepExtend(this.options,n);h.call(this)&&(this.options.enabled=!1);s(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1);s(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);i=this.options.window.replace("{{classes}}",c.call(this).join(" ")).replace("{{children}}",l.call(this));r=this.options.overrideHTML;("string"==typeof r&&r.length&&(i=r),this.options.static)?(f=u.call(this,'<div class="cc-grower">'+i+"<\/div>"),f.style.display="",this.element=f.firstChild,this.element.style.display="none",t.addClass(this.element,"cc-invisible")):this.element=u.call(this,i);b.call(this);k.call(this);this.options.autoOpen&&this.autoOpen()},r.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null);this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null);this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null);this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null);this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element);this.element=null;this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn);this.revokeBtn=null;w(this.options.palette);this.options=null},r.prototype.open=function(){if(this.element)return this.isOpen()||(n.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},r.prototype.close=function(t){if(this.element)return this.isOpen()&&(n.hasTransition?this.fadeOut():this.element.style.display="none",t&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},r.prototype.fadeIn=function(){var i=this.element,r,u;n.hasTransition&&i&&(this.afterTransition&&e.call(this,i),t.hasClass(i,"cc-invisible"))&&((i.style.display="",this.options.static)&&(r=this.element.clientHeight,this.element.parentNode.style.maxHeight=r+"px"),u=20,this.openingTimeout=setTimeout(f.bind(this,i),u))},r.prototype.fadeOut=function(){var i=this.element;n.hasTransition&&i&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),f.bind(this,i)),t.hasClass(i,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=e.bind(this,i),i.addEventListener(n.transitionEnd,this.afterTransition),t.addClass(i,"cc-invisible")))},r.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(!n.hasTransition||!t.hasClass(this.element,"cc-invisible"))},r.prototype.toggleRevokeButton=function(n){this.revokeBtn&&(this.revokeBtn.style.display=n?"":"none")},r.prototype.revokeChoice=function(n){this.options.enabled=!0;this.clearStatus();this.options.onRevokeChoice.call(this);n||this.autoOpen()},r.prototype.hasAnswered=function(){return Object.keys(n.status).indexOf(this.getStatus())>=0},r.prototype.hasConsented=function(){var t=this.getStatus();return t==n.status.allow||t==n.status.dismiss},r.prototype.autoOpen=function(){!this.hasAnswered()&&this.options.enabled&&this.open()},r.prototype.setStatus=function(i){var r=this.options.cookie,u=t.getCookie(r.name),f=Object.keys(n.status).indexOf(u)>=0;Object.keys(n.status).indexOf(i)>=0?(t.setCookie(r.name,i,r.expiryDays,r.domain,r.path),this.options.onStatusChange.call(this,i,f)):this.clearStatus()},r.prototype.getStatus=function(){return t.getCookie(this.options.cookie.name)},r.prototype.clearStatus=function(){var n=this.options.cookie;t.setCookie(n.name,"",-1,n.domain,n.path)},r}(),n.Location=function(){function n(n){t.deepExtend(this.options={},f);t.isPlainObject(n)&&t.deepExtend(this.options,n);this.currentServiceIndex=-1}function r(n,t,i){var u,r=document.createElement("script");r.type="text/"+(n.type||"javascript");r.src=n.src||n;r.async=!1;r.onreadystatechange=r.onload=function(){var n=r.readyState;clearTimeout(u);t.done||n&&!/loaded|complete/.test(n)||(t.done=!0,t(),r.onreadystatechange=r.onload=null)};document.body.appendChild(r);u=setTimeout(function(){t.done=!0;t();r.onreadystatechange=r.onload=null},i)}function u(n,t,i,r,u){var f=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0"),e,s,o;if(f.open(r?"POST":"GET",n,1),f.setRequestHeader("X-Requested-With","XMLHttpRequest"),f.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(u))for(e=0,s=u.length;e<s;++e)o=u[e].split(":",2),f.setRequestHeader(o[0].replace(/^\s+|\s+$/g,""),o[1].replace(/^\s+|\s+$/g,""));"function"==typeof t&&(f.onreadystatechange=function(){f.readyState>3&&t(f)});f.send(r)}function i(n){return new Error("Error ["+(n.code||"UNKNOWN")+"]: "+n.error)}var f={timeout:5e3,services:["freegeoip","ipinfo","maxmind"],serviceDefinitions:{freegeoip:function(){return{url:"//freegeoip.net/json/?callback={callback}",isScript:!0,callback:function(n,t){try{var r=JSON.parse(t);return r.error?i(r):{code:r.country_code}}catch(u){return i({error:"Invalid response ("+u+")"})}}}},ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(n,t){try{var r=JSON.parse(t);return r.error?i(r):{code:r.country}}catch(u){return i({error:"Invalid response ("+u+")"})}}}},ipinfodb:function(){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(n,t){try{var r=JSON.parse(t);return"ERROR"==r.statusCode?i({error:r.statusMessage}):{code:r.countryCode}}catch(u){return i({error:"Invalid response ("+u+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(n){return window.geoip2?void geoip2.country(function(t){try{n({code:t.country.iso_code})}catch(r){n(i(r))}},function(t){n(i(t))}):void n(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};return n.prototype.getNextService=function(){var n;do n=this.getServiceByIdx(++this.currentServiceIndex);while(this.currentServiceIndex<this.options.services.length&&!n);return n},n.prototype.getServiceByIdx=function(n){var i=this.options.services[n],r;return"function"==typeof i?(r=i(),r.name&&t.deepExtend(r,this.options.serviceDefinitions[r.name](r)),r):"string"==typeof i?this.options.serviceDefinitions[i]():t.isPlainObject(i)?this.options.serviceDefinitions[i.name](i):null},n.prototype.locate=function(n,t){var i=this.getNextService();return i?(this.callbackComplete=n,this.callbackError=t,void this.runService(i,this.runNextServiceOnError.bind(this))):void t(new Error("No services to run"))},n.prototype.setupUrl=function(n){var t=this.getCurrentServiceOpts();return n.url.replace(/\{(.*?)\}/g,function(i,r){if("callback"===r){var u="callback"+Date.now();return window[u]=function(t){n.__JSONP_DATA=JSON.stringify(t)},u}if(r in t.interpolateUrl)return t.interpolateUrl[r]})},n.prototype.runService=function(n,t){var i=this,f,e;n&&n.url&&n.callback&&(f=n.isScript?r:u,e=this.setupUrl(n),f(e,function(r){var u=r?r.responseText:"";n.__JSONP_DATA&&(u=n.__JSONP_DATA,delete n.__JSONP_DATA);i.runServiceCallback.call(i,t,n,u)},this.options.timeout,n.data,n.headers))},n.prototype.runServiceCallback=function(n,t,i){var u=this,f=function(t){r||u.onServiceResult.call(u,n,t)},r=t.callback(f,i);r&&this.onServiceResult.call(this,n,r)},n.prototype.onServiceResult=function(n,t){t instanceof Error||t&&t.error?n.call(this,t,null):n.call(this,null,t)},n.prototype.runNextServiceOnError=function(n,t){if(n){this.logError(n);var i=this.getNextService();i?this.runService(i,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,new Error("All services failed"))}else this.completeService.call(this,this.callbackComplete,t)},n.prototype.getCurrentServiceOpts=function(){var n=this.options.services[this.currentServiceIndex];return"string"==typeof n?{name:n}:"function"==typeof n?n():t.isPlainObject(n)?n:{}},n.prototype.completeService=function(n,t){this.currentServiceIndex=-1;n&&n(t)},n.prototype.logError=function(n){var t=this.currentServiceIndex,i=this.getServiceByIdx(t);console.error("The service["+t+"] ("+i.url+") responded with the following error",n)},n}(),n.Law=function(){function n(){this.initialise.apply(this,arguments)}var i={regionalLaw:!0,hasLaw:["AT","BE","BG","HR","CZ","CY","DK","EE","FI","FR","DE","EL","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","SK","SI","ES","SE","GB","UK"],revokable:["HR","CY","DK","EE","FR","DE","LV","LT","NL","PT","ES"],explicitAction:["HR","IT","ES"]};return n.prototype.initialise=function(n){t.deepExtend(this.options={},i);t.isPlainObject(n)&&t.deepExtend(this.options,n)},n.prototype.get=function(n){var t=this.options;return{hasLaw:t.hasLaw.indexOf(n)>=0,revokable:t.revokable.indexOf(n)>=0,explicitAction:t.explicitAction.indexOf(n)>=0}},n.prototype.applyLaw=function(n,t){var i=this.get(t);return i.hasLaw||(n.enabled=!1),this.options.regionalLaw&&(i.revokable&&(n.revokable=!0),i.explicitAction&&(n.dismissOnScroll=!1,n.dismissOnTimeout=!1)),n},n}(),n.initialise=function(t,i,r){var u=new n.Law(t.law);i||(i=function(){});r||(r=function(){});n.getCountryCode(t,function(r){delete t.law;delete t.location;r.code&&(t=u.applyLaw(t,r.code));i(new n.Popup(t))},function(i){delete t.law;delete t.location;r(i,new n.Popup(t))})},n.getCountryCode=function(t,i,r){if(t.law&&t.law.countryCode)return void i({code:t.law.countryCode});if(t.location){var u=new n.Location(t.location);return void u.locate(function(n){i(n||{})},r)}i({})},n.utils=t,n.hasInitialised=!0,window.cookieconsent=n)}(window.cookieconsent||{});$(document).ready(function(){var n=1600,t=1,i=$(window).width();i<=991?t=1e3/n:i<=1199?t=1200/n:i<=1279?t=1400/n:i<=1499&&(t=1600/n);$(".imageHandler").each(function(){var r=t,u=n,f=100,e="image",i;$(this).data("mtype")=="background"&&(e="background");$(this).data("mratio")&&!isNaN($(this).data("mratio"))&&(r=r*$(this).data("mratio"));$(this).data("mwidth")&&!isNaN($(this).data("mwidth"))&&(u=$(this).data("mwidth"));$(this).data("mquality")&&!isNaN($(this).data("mquality"))&&(f=$(this).data("mquality"));u=Math.round(u*r);i=$(this).data("msrc")+"?w="+u+"&quality="+f;$(this).data("mheight")&&(thisheight=Math.round($(this).data("mheight")*r),i=i+"&h="+thisheight);$(this).data("mformat")&&(i=i+"&format="+$(this).data("mformat"));$(this).data("mmode")&&(i=i+"&mode="+$(this).data("mmode"));$(this).data("mscale")&&(i=i+"&scale="+$(this).data("mscale"));$(this).data("manchor")&&(i=i+"&anchot="+$(this).data("manchor"));e=="image"?$(this).attr("src",i):$(this).css("background-image","url('"+i+"')")})})