/*
MINI by dandavis. <pre>
version 5b: uses ECMA5 base.
Distributed under a Creative Commons Attribution 2.0 Generic License.
see mini.htm for more info...
*/




/*<script>
<!-- ##BeginLibraryItem "ecma5.js" flags="{ jsCode:"compress", breakComments:true, domId:"ecma5", text:true }" -->*/
(function(Lamb){Lamb=Lamb||Object;
Lamb.getPrototypeOf=function(O){return typeof O==="object"?O.prototype:null;}
Lamb.getOwnPropertyDescriptor=function(O,P){if(typeof O!=="object"){return null;}
var t=obMap(O).filter(function(a){return a[1]===P;})[0][0]}
Lamb.getOwnPropertyNames=function(O){if(typeof O!=="object"){return null;}
return obKeys(O);}
Lamb.create=function(O,properties){O=O||{};function x(){}
x.prototype=O;var that=new x;if(properties){for(var z in properties){if(properties.hasOwnProperty(z)){that[z]=properties[z];}}}
return that;}
Lamb.defineProperties=function(O,properties){O=O||{};if(properties){for(var z in properties){if(properties.hasOwnProperty(z)){O[z]=properties[z];}}}
return O;}
Lamb.keys=function(O){return obKeys(O);}
Function.prototype.bind=function(that){var Target=this;if(!Target.call){throw new TypeError;}
var args=obValsl(arguments,[1]);var F=function(){return Target.apply(that,args.concat(obValsl(arguments)));}
return F;}
var AP=Array.prototype
if(!AP.map){AP.map=function(fun){var len=this.length;if(typeof fun!="function"){throw new TypeError;}var res=new Array(len);var thisp=arguments[1];for(var i=0;i<len;i++){if(i in this){res[i]=fun.call(thisp,this[i],i,this);}}return res;};}
if(!AP.filter){AP.filter=function(fun){var len=this.length;if(typeof fun!="function"){throw new TypeError;}var res=new Array;var thisp=arguments[1];for(var i=0;i<len;i++){if(i in this){var val=this[i];if(fun.call(thisp,val,i,this)){res.push(val);}}}return res;};}
if(!AP.lastIndexOf){AP.lastIndexOf=function(from){var len=this.length>>>0;from=Number(from)||len;for(;from>0;from--){if(from in this&&this[from]===elt){return from;}}return-1;};}
if(!AP.indexOf){AP.indexOf=function(from){var len=this.length>>>0;from=Number(from)||0;for(;from<len;from++){if(from in this&&this[from]===elt){return from;}}return-1;};}
if(!AP.every){AP.every=function(fn,that){return this.filter(fn,that).length==this.length;}}
if(!AP.some){AP.some=function(fn,that){return this.filter(fn,that).length>-1;}}
if(!AP.forEach){AP.forEach=function(fn,that){this.map(fn,that);}}
if(!AP.reduce){AP.reduce=function(fun){var len=this.length>>>0;if(typeof fun!="function"){throw new TypeError;}if(len==0&&arguments.length==1){throw new TypeError;}var i=0;if(arguments.length>=2){var rv=arguments[1];}else{do{if(i in this){rv=this[i++];break;}if(++i>=len){throw new TypeError;}}while(true);}for(;i<len;i++){if(i in this){rv=fun.call(null,rv,this[i],i,this);}}return rv;};}
if(!AP.reduceRight){AP.reduceRight=function(elt,from){var len=this.length>>>0;from=Number(from)||0;for(;from<len;from++){if(from in this&&this[from]===elt){return from;}}return-1;};}
if(!AP.reduceRight){AP.reduceRight=function(fun){var len=this.length>>>0;if(typeof fun!="function"){throw new TypeError;}if(len==0&&arguments.length==1){throw new TypeError;}var i=len-1;if(arguments.length>=2){var rv=arguments[1];}else{do{if(i in this){rv=this[i--];break;}if(--i<0){throw new TypeError;}}while(true);}for(;i>=0;i--){if(i in this){rv=fun.call(null,rv,this[i],i,this);}}return rv;};}
var SP=String.prototype;SP.trim=function(){return this.replace(/^\s+|\s+$/g,'');};SP.trimLeft=function(){return this.replace(/^\s+/,'');};SP.trimRight=function(){return this.replace(/\s+$/,'');};if(!this.JSON){JSON={};}(function(){function f(n){return n<10?"0"+n:n;}
if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z";};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf();};}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={'\b':"\\b",'\t':"\\t",'\n':"\\n",'\f':"\\f",'\r':"\\r",'"':"\\\"",'\\':"\\\\"},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?"\""+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4);})+"\"":"\""+string+"\"";}
function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key);}if(typeof rep==="function"){value=rep.call(holder,key,value);}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null";}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null";}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v;}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==="string"){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v);}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v);}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v;default:;}}
if(typeof JSON.stringify!=="function"){JSON.stringify=function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" ";}}else if(typeof space==="string"){indent=space;}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify");}return str("",{'':value});};}if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v;}else{delete value[k];}}}}return reviver.call(holder,key,value);}
cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4);});}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({'':j},""):j;}throw new SyntaxError("JSON.parse");};}}());var DP=Date.prototype;DP.toISOString=DP.toISOString||function(){return this.toJSON();}}());
/*<!-- ##EndLibraryItem -->  */

FF=/a/;FF=FF[-1]?(FF.sticky===!1?3:2):top.pkcs11?1:!1;
IE = "\v"=="v";

if (!Object.prototype.toSource) {
	Object.prototype.toSource = function (){return JSON.stringify(this);}
}

function el(tid){if(tid.nodeName){return tid;}if(tid.splice){return tid.map(el);}
return el._ts[tid]||(el._ts[tid]=document.getElementById(tid));}
el.d=document;el._ts={};function els(tid){return el(tid).style;}
function tags(elm,tid){var t="getElementsByTagName";if(tid){if(elm.split){elm=el(elm);}return obValsl(elm[t](tid));}return obValsl(document[t](elm));}
function obValsl(ob){try{if(ob&&ob.length){var r=[],i=0,mx=ob.length;for(var z=0;z<mx;z++){r[z]=ob[z]||undefined;}}}catch(yy){alert(yy);}return r;}
function obVals(ob){var r=[];var i=0;for(var z in ob){if(ob&&ob.hasOwnProperty&&ob.hasOwnProperty(z)){r[i++]=ob[z];}}return r;}
function obKeys(ob){var r=[];var i=0;for(var z in ob){if(ob.hasOwnProperty(z)){r[i++]=z;}}return r;}
function obMap(ob){var r=[];var i=0;for(var z in ob){if(ob.hasOwnProperty(z)){r[i++]=[z,ob[z]];}}return r;}
function aCSS(iCSS){var D=document;var h=tags("head");if(!h[0]){return;}var ns=D.createElement("style");ns.type="text/css";h[0].appendChild(ns);try{if(ns.styleSheet&&ns.styleSheet.cssText){ns.styleSheet.cssText=iCSS;return;}ns.innerHTML=iCSS;}catch(e3){try{ns.appendChild(D.createTextNode(iCSS));}catch(e3){}}}
function jsGet(turl, timeout){var xJs=el.d.createElement("script");tags("head")[0].appendChild(xJs);xJs.src=turl;setTimeout(function(){dom.kill(xJs);}, timeout||30000); return xJs;};inject=jsGet;
function setCookie(nm, valu) {var e2 = (new Date(2019, 1, 1)).toGMTString();document.cookie = nm + "=" + escape(valu) + "; expires=" + e2;};
function getCookie(k){var d = D.cookie || "";var pairs = d.split(k + "=");if (pairs && pairs[1]) {return unescape(pairs[pairs.length-1].split(";")[0]);}}
function F$(s){return new Function( "a", "b", "c", s )}
function ping(url){clearTimeout(ping.timer);var i=ping.i||(ping.i=new Image);i.src=url;ping.timer=setTimeout(function(){i.src="";},3300);}
function defer(L, ms){return setTimeout(L, ms||50);}
function IO(U,V){var X=!window.XMLHttpRequest?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest;X.open(V?"PUT":"GET",U,false);X.setRequestHeader("Content-Type","text/html");X.setRequestHeader("If-Modified-Since","Sat, 1 Jan 2000 00:00:00 GMT");X.send(V?V:"");return X.responseText;}
function Rnd(w){return parseInt(Math.random()*(w+1));}



if(!window.globalStorage && window.localStorage){
	window.globalStorage={};
      globalStorage[document.domain]=window.localStorage;
}//end webkit+ie8  patch




if(window.globalStorage){function store(key,val){if(val){globalStorage[document.domain][key]=val;}else{try{var tm=globalStorage[document.domain][key];if(tm){tm=tm.toString();}}catch(rr){return"";}return tm;}return;}}else{var store=function (key,val){if(val){setCookie(key,val);}else{return getCookie(key);}}}
function iestorer(){var D=document;if(!D.createStyleSheet || window.globalStorage){return;}var tCSS=D.createStyleSheet();tCSS.addRule(".userData","behavior:url(#default#userdata)",0);var Static=D.createElement("input");var Q=function(z,x){Static.setAttribute(z,x);};Q("type","hidden");Q("id","EzStatic420");Q("className","userData");tags("head")[0].appendChild(Static);var s=el("EzStatic420");function ies(k,v){if(!v){s.load("oXMLStore");var t=s.getAttribute(k);return unescape(t)||"";}else{s.setAttribute(k,escape(String(v)));s.save("oXMLStore");}}
window.store=ies;}
iestorer();foxStore=store;


(function(){
var AP=Array.prototype
AP.valids=function(){ return this.filter(function(a){ return a !== undefined && a!==""; }); }
AP.match=function (s) {var wg = this.map(function (a) {rs = a.match ? a.match(s) : String(a).match(s); return rs ? a : undefined;});return wg.valids();}
AP.random=function random(){return this[Rnd(this.length-1)];}
AP._=function (p){r=[];var tp=typeof p;if( tp==="string"){if(p[0]==="."){var sf=new Function("a", "return a"+p+"; ");return this.map(sf).valids();}function sf(a){return a[p] || undefined;}return this.map(sf).valids();}if(tp==="function"){return this.map(p);}if(p.constructor===RegExp){function rxf(a){return String(a).match(p);}return this.filter(rxf);}if(p.toFixed && tp==="number"){function nf(a){return a[p] || undefined;}return this.map(nf).valids();}return false;}
AP.unique=function unique(){var r=this;var t=[];var mx=r.length;for (var z=0; z< mx; z++){if(t.indexOf(r[z])==-1){t[t.length]=r[z];}}return t;};
AP.pluck=function(r){if(r.split){r=r.split(/\,/g);}function rak(a){var o={};r.map(function (aa){o[aa]=a[aa];});return o;}return this.map(function (a){return rak(a);});}
AP.iif=function(c){return this.filter(F$('return a'+c))}
AP.bind= function (k,m){function bind(a){if(typeof k==="object"){var obr=obMap(k);obr.map(function (it){a[it[0]]=it[1];});return a;}a[k]=m;return a;}return this.map(bind);}
AP.group=function(fun,scope,isFilter){if(fun.charCodeAt){fun=F$(fun);}if(isFilter){return this.filter(fun,scope);}else{return this.map(fun,scope);}};
}())//end protos

tmpl9=function (ob,orig,unsafe,delim){if(ob.splice){var b=[];for(var i=0,mx=ob.length;i<mx;i++){var it=ob[i];b[i]=tmpl9(it,orig,unsafe);}return b.join(delim||"");}else{var om=obMap(ob);var b=orig;function getRE(str){return new RegExp("\\*\\*"+str+"\\*\\*","gm");}
for(var i=0,mx=om.length;i<mx;i++){var it=om[i];if(it[1]===null||it[1]===undefined){continue;}if(typeof it[1]==="object"){it[1]=it[1].toSource();}b=b.replace(getRE(it[0]),it[1]);}if(b.match(/\~/)&&!unsafe){b=b.replace(/\~[\w\W]+?\~/g,function(ovr){try{return eval(ovr.slice(1,-1))||"";}catch(yy){return"";}});}return b||"";}}
;tmpl8=tmpl9;



dom=(function (){var D=document,escLUT={'&':"&amp",'\'':"&quot;",'<':"&lt;",'>':"&gt;"};function escLutFn(a){return escLUT[a];}
return{el:function el(tid){if(tid.nodeName){return tid;}return el._ts[tid]||(el._ts[tid]=D.getElementById(tid));},div:function div(nodeName,content){var d=D.createElement(nodeName||"div");d.add=function(o,c,a){d.appendChild(o.charAt?dom.create(o,c,a):o);return d;};if(content){if(content.nodeName){d.appendChild(content);return d;}if(content.split){var v="value",t="text",h="innerHTML";var prop={br:"title",textarea:v,input:v,option:t,style:t,script:t,img:"src"}[nodeName]||h;d[prop]=content;return d;}}return d;},attribs:function(elm,ob){if(elm.charAt){elm=D.createElement(elm);}var attribLut={htmlFor:"for",className:"class"};for(var z in ob){if(ob.hasOwnProperty(z)){var key=attribLut[z]||z;if(z=="style"){elm.style.cssText=ob[z];}try{elm[z]=ob[z];}catch(er){elm.setAttribute(key,ob[z]);}}}return elm;},create:function(nodeName,content,attribs){var d=dom.div(nodeName,content);if(attribs){dom.attribs(d,attribs);}return d;},prependChild:function(newChild,parentElement){var kid=parentElement.firstChild;return parentElement.insertBefore(newChild,kid);},text:function(elm){return elm.value||elm.textContent||elm.innerText||elm.innerHTML||elm.nodeValue;},encodeHTML:function(str){return str.replace(/[&'<>]/g,escLutFn);},kill:function(elm){elm.parentNode.removeChild(elm);return elm;},getParent2:function(elm){return elm.parentNode;},getParent:function(elm,tagName){var p="parentNode";if(!tagName){return elm[p];}for(;(elm=elm[p])&&elm.nodeName.toLowerCase()!=tagName;){}return elm;},replace:function(newNode,oldNode){this.getParent(oldNode).insertBefore(newNode,oldNode);this.kill(oldNode);},addStyle:function addStyle(selector,declaration){var r=D.styleSheets;if(!r||!r[0]){tags("head")[0].appendChild(this.create("style","",{type:"text/css"}));}r=r[0];return r.insertRule?r.insertRule(selector+" { "+declaration+" } ",0):r.addRule(selector,declaration);}};}());




(function(){
  var t= tags("script");
  t= t[ t.length -1];
  var tx =  t.text || t.textContent || t.innerText;
	 if(tx && t.src && t.src.indexOf("/mini"!==-1)){ try{ eval(tx) }catch(y){}; }
}());




if(window.mini){ window.mini(); }
//</script>