var ROOT='http://liberiabook.com/';var TOOLS=0;window.onload=iq;function iq(){log();var ll=$('l');if(ll){var r=gRE(iq_s);dHL($('clsm'),r);var l=ll.childNodes;for(var i=0;i<l.length;i++){var tl=l[i];if(tl.id){dHL(tl,r);var n=tl.firstChild;var ld=lst[i];if(ld[7]==-1) aLC(n.firstChild,ld[1],ld[5],ld[6]);tl.appendChild(lI(ld));tl.insertBefore(fI(ld[0]),n);};};};cM();cLT();var ee=$$('popup');if(ee){var b=$$$('body')[0];b.appendChild(ce('a','overlay'));for(var i=0;i<ee.length;i++){var e=ee[i];e.className='popupOn';e.className+=' h'+e.offsetHeight;e.appendChild(ce('form','','hidden','<div style="text-align:center;padding:0;"><img src="'+ROOT+'images/loading.gif" /></div>'));e.appendChild(ce('form','','hidden','<div><p></p></div><div class="btnrow"><p><input type="button" value="Close" onclick="sP(\''+e.id+'\',0);" /></p></div>'));e.parentNode.removeChild(e);var f=$$$('form',e)[0];iFF(f);vaF(f);sDS(e,0);b.appendChild(e);};};};function iFF(f){var ee=f.elements,e;for(var i=0;i<ee.length;i++){e=ee[i];var a=function(){vaF(f);};e.onchange=a;
if(e.type.indexOf("text")==0){e.onfocus=function(){this.value='';this.onfocus=null;};e.onkeypress=a;};};}function sAF(e){var p=e.parentNode;var d=gFV(e);if(d){rP(p,80,2);var u=e.getAttribute('action').substr(1)+'&ajax=1';if(u.substring(0,4)!='/ml/')u=LANG+u;var f = function(x){sAFR(x,p);};var ff = function(){alert('Please try again!');rP(p,400,1);};setTimeout(function(){var a = new Ajax(u,f,ff,d);},500);};return false;};function sAFR(x,p){if(x){var e=x.firstChild.firstChild.nodeValue;var t=x.childNodes[1].firstChild.nodeValue;if(e==1){rP(p,parseInt(p.className.substr(9)),1);alert(t);}else{p.childNodes[3].firstChild.firstChild.innerHTML=t;rP(p,180,3);};};};function gFV(f){var s="",ee=f.elements,e,rf=new Array();for(var i=0;i<ee.length;i++){e=ee[i];if(e.name.substring(0,1)=="_")rf.push(e.name);switch(e.type){case "text":case "textarea":if(e.value&&(e.name.indexOf('email')<0||vEM(e.value)))s+=e.name+"="+e.value+"&";break;case "radio":case "checkbox":if(e.checked)s+=e.name+"="+e.value+"&";break;};};for(var i=0;
i<rf.length;i++)if(s.indexOf(rf[i])<0)return null;return s.slice(0,-1);};function vaF(f){$$("btnrow",f)[0].firstChild.lastChild.disabled=(gFV(f))?null:'disabled';};function vEM(s){var re=/\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b/i;return re.test(s);};function sP(n,d){var e=$(n);if(e){sOL(n,d);if(d){e.style.top=gPSc()+(gPSz()[3]/2)+'px';rP(e,parseInt(e.className.substr(9)),1);}else{pH=0;};sDS(e,d);};};function sOL(n,d){var o=$('overlay');sDS(o,d);var h=$$$('html')[0].style;if(d){h.overflowX='hidden';var pz=gPSz();o.style.width=pz[0]+'px';o.style.height=pz[1]+'px';window.onresize=function(){sOL(n,d);};o.onclick=function(){sP(n,0);};}else{h.overflowX='auto';window.onresize=null;o.onclick=null;};}var pH=0;function rP(p,d,s){if(!s)s=1;for(var i=1;i<4;i++)sDS(p.childNodes[i],(s==i));dRP(p,d,s);};function dRP(p,d,s){var v=Math.abs(d-pH);if(v){var z=(d<pH)?-1:1;z=(v>40)?z*40:z*v;pH+=z;p.style.height=pH+'px';p.style.marginTop=-(pH/2) + 'px';p.childNodes[s].style.height=(pH-33)+'px';
setTimeout(function(){dRP(p,d,s)},1);};};function sDS(e,d){e.style.display=d?'block':'none';};function gPSc(){return (self.pageYOffset)?self.pageYOffset:document.documentElement.scrollTop;}function gPSz(){var x,y,b=document.body,wi=window.innerHeight,ws=window.scrollMaxY;if(wi&&ws){x=b.scrollWidth;y=wi+ws;}else if(b.scrollHeight>b.offsetHeight){x=b.scrollWidth;y=b.scrollHeight;}else{x=b.offsetWidth;y=b.offsetHeight;};var w,h,d=document.documentElement;if (self.innerHeight){w=self.innerWidth;h=self.innerHeight;}else if (d&&d.clientHeight){w=d.clientWidth;h=d.clientHeight;}else if (b){w=b.clientWidth;h=b.clientHeight;};var pH=(y<h)?h:y,pW=(x<w)?w:x;return new Array(pW,pH,w,h);}function dHL(o,r){if(o&&r){var a = gTO(o,new Array());for(var i=0;i<a.length;i++)a[i].innerHTML=a[i].innerHTML.replace(r,'$1<span class="hilite">$2</span>');};};function gRE(s){if(!s||/(l|listing|a|address|t|tel|c|class):/.test(s))return null;
var pa=new Array("Ee\u00C8\u00C9\u00CA\u00CB\u00E8\u00E9\u00EA\u00EB","Aa\u00C0\u00C1\u00C2\u00C3\u00C4\u00C5\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5","Oo\u00D2\u00D3\u00D4\u00D5\u00D6\u00F2\u00F3\u00F4\u00F5\u00F6","Ii\u00CC\u00CD\u00CE\u00CF\u00EC\u00ED\u00EE\u00EF","Uu\u00D9\u00DA\u00DB\u00DC\u00F9\u00FA\u00FB\u00FC","Yy\u00DD\u00FD\u00FF","Cc\u00C7\u00E7");var r=new RegExp("([^a-zA-Z0-9"+pa.join()+"])","g");var t=s.replace(r," ");while(/  /.test(t))t=t.replace(/  /," ");t=t.replace(/^ | $/g,"");t=t.split(" ");for(var i=0;i<t.length;i++){t[i]=gRW(t[i],pa);};t=t.join("|");return new RegExp("(^|[^a-zA-Z0-9_&])("+t+")","ig");};function gRW(s,pa){s=s.replace(" ","");var r="";for(var i=0;i<s.length;i++){var c=s.charAt(i);for(var ii=0;ii<pa.length;ii++){if(pa[ii].indexOf(c)>-1){c="["+pa[ii]+"]";break;};};r+=c;};return r;};function gTO(o,a){if(o.nodeType==3&&o.nodeValue.length>2&&o.childNodes.length==0){a[a.length]=o.parentNode;}else{for(var i=0;i<o.childNodes.length;i++){gTO(o.childNodes[i],a);};};return a;};
var iq_pt,iq_c,iq_n,iq_t,iq_l,iq_f,iq_s,iq_sc;function log(){var ss=screen.width+'x'+ screen.height;var u='a.iqlog?a='+gt()+'&s='+ss+'&u='+escape(window.location)+'&iq_pt='+iq_pt+'&iq_c='+iq_c+'&iq_n='+iq_n+'&iq_t='+iq_t+'&iq_l='+iq_l+'&iq_f='+iq_f+'&iq_s='+iq_s+'&iq_sc='+iq_sc+'&r='+escape(document.referrer);var a = new Ajax(u);};function aLC(o,u,r,f){o.onclick=function(){return lC(u,r,f);};};function loge(t,c){var u='b.iqlog?a='+gt()+'&t='+t+'&c='+c;var a=new Ajax(u);};function logfc(){var u='c.iqlog?a='+gt()+'&f='+rC('Favorites');var a=new Ajax(u);};function lI(l){var d=ce('div','','icons');aI(d,l[3],'m','[M]','#',function(){return eL(l[0],l[3],l[1]);});l[4]!=''?aI(d,1,'w','[W]','#',function(){return wL('fwd/'+l[4],l[0]);}):aI(d,0,'w','[W]','');aI(d,l[2],'a','[*]','.'+l[1]+'#ads',function(){return lC(l[1]+'#ads',l[5],l[6]);});aI(d,1,'i','[i]','.'+l[1],function(){return lC(l[1],l[5],l[6]);});return d;};function lC(u,r,f){var ul='d.iqlog?a='+gt()+'&r='+r+'&f='+f;
var af=function(){document.location.href=ROOT+u.substr(1);};var a=new Ajax(ul,af);return false;};function wL(u,c){window.open(u);loge(2,c);return false;};function eL(c,i,u){var f = function(x){sE(x);};var r = new Ajax(c+','+i+u+'.ml',f);loge(1,c);return false;};function sE(r){if(r) document.location.href='mailto:'+r.childNodes[0].childNodes[0].nodeValue;};function aI(d,o,c,i,h,oc){var a;if(o){a=ce('a');a.href=h;a.onclick=oc;}else{a=ce('span');};a.className=c;a.innerHTML='<b>'+i+'</b>';d.appendChild(a);};function cM(){var c=$('c2');if(c){var d=ce('div','myDir');d.appendChild(ce('h2','','',MYDIR));c.appendChild(d);lM(0);};};function cMD(x){var m=$('myDir');if(m&&x){if(m.childNodes.length==2)m.removeChild(m.childNodes[1]);var u=ce('ul');for(var i=0;i<x.childNodes.length;i++){var n=x.childNodes[i];var l=ce('li');var a=ce('a','','',n.getAttribute('n'));a.href='.'+n.getAttribute('u');var r=ce('a','','remove',REMV);r.href=jL('lM('+n.getAttribute('c')+');');l.appendChild(a);l.appendChild(r);u.appendChild(l);};
m.appendChild(u);};if($('l')){var l=$('l').childNodes;for(i=0;i<l.length;i++)if(l[i].id)l[i].replaceChild(fI(lst[i][0]),l[i].firstChild);};var s=$('mdSwitch');if(s&&lcode>0){if(s.childNodes.length==0) s.appendChild(ce('a'));var a=s.firstChild;if(iF(lcode)){a.innerHTML=MYDIRR;a.href=jL('lM('+lcode+');');}else{a.innerHTML=MYDIRA;var fc=gF();if(fc&&fc.length>20)a.href=jL('alert(MYDIRF);');else a.href=jL('lM('+lcode+');');};};};function lM(c){var m=$('myDir');if(m.childNodes.length==2)m.removeChild(m.childNodes[1]);m.appendChild(ce('p','','',LOAD));var f=(c)?function(x){cMD(x);logfc();}:function(x){cMD(x);};var r = new Ajax(LANG+'/'+c+'.mydir?a='+gt(),f);};function gF(){var f=rC('Favorites');return (f.length>0)?f.split(','):null;};function iF(c){var f=gF();if(f){for(var i=0;i<f.length;i++)if(f[i]==c)return true;};return false;};function fI(c){var f=gF(),a=ce('a','f'+c,'favIcon','<b>[X]</b>');a.href=jL('lM('+c+');');if(iF(c)){a.className+=' favIconOn';}else if(f&&f.length>20){a.className+=' favIconDisabled';
a.href=jL('alert(MYDIRF);');};return a;};function cLT(){var d=$('lTools');if(d&&lcode>0){var u=document.location.href.substr(ROOT.length-1);u=u.slice(0,-4);aLL(d,BOOK,jL('bP()'));if(TOOLS){aLL(d,VCON,'/vcf'+u+'vcf');aLL(d,VTXT,'/txt'+u+'txt');aLL(d,VMAIL,jL('sP(\'sendPopup\',1);'));};if(RECURL!=''){aLL(d,WREC,jL('sP(\'recPopup\',1);'));};aLL(d,'','#','mdSwitch');};};function aLL(l,t,h,i){var a=ce('a','','',t),n=ce('li',i);a.href=h;n.appendChild(a);l.appendChild(n);};function bP(){var t=document.title,u=document.location.href,w=window;if (w.sidebar) w.sidebar.addPanel(t,u,'');else if(w.external) w.external.AddFavorite(u,t);else if(w.opera&&w.print) return true;};function Ajax(u,f,ff,d){var r=0;var m=(d)?"POST":"GET";if(window.XMLHttpRequest){r=new XMLHttpRequest();}else if(window.ActiveXObject){try{r=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{r=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){r=0;};};};if(r){r.onreadystatechange=function(){hR(f,ff)};r.open(m,ROOT+u,true);
if(d)r.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");r.send(d);};function hR(f,ff){if(r.readyState==4){if(f&&r.status==200|304){(r.responseXML!=null)?f(r.responseXML.documentElement):f();}else if(ff){ff();};};};};function jL(s){return 'javascript:'+s;};function ce(e,i,c,h){var x=document.createElement(e);if(i)x.id=i;if(c)x.className=c;if(h)x.innerHTML=h;return x;};function $(){var ee=new Array();var a=arguments.length;for(var i=0;i<a;i++){var e=arguments[i];if(typeof e=='string')e=document.getElementById(e);if(a==1)return e;ee.push(e);}return ee;}function $$(c,e){if(!e)var e=document;var ea=$$$('*',e),ee=new Array(),r=new RegExp("(^|\\s)"+c+"(\\s|$)");for(var i=0;i<ea.length;i++){if(r.test(ea[i].className)){ee.push(ea[i]);};};return (ee.length)?ee:null;};function $$$(t,e){if(!e)var e=document;var ee=(t=='*'&&e.all)?e.all:e.getElementsByTagName(t);return ee;};function dw(s){document.write(s);};function gt(){return (new Date()).getTime();};
function rC(n){var c=""+document.cookie;var i=c.indexOf(n);if(i<0) return "";var j=c.indexOf(';',i);if(j<0) j=c.length;return unescape(c.substring(i+n.length+1,j));}var asf="application/x-shockwave-flash";function hF(){var n=navigator,na=n.appVersion,s="ShockwaveFlash";if(na.indexOf("MSIE")>-1&&na.indexOf("Windows")>-1){dw('<script language="VBScript"\> \non error resume next \nvF = (IsObject(CreateObject("'+s+'.'+s+'.7"))) \n</script\> \n');if(window.vF!=null)return window.vF;};var nm=n.mimeTypes,np=n.plugins;s="Shockwave Flash";if(nm&&nm[asf]&&nm[asf].enabledPlugin){var fD=(np[s+" 2.0"]||np[s]).description;return parseInt(fD.charAt(fD.indexOf(".")-1))>=7;};return 0;};function fp(n,v){return '<param name="'+n+'" value="'+v+'">';};
function wf(n,w,h){if(hF()){dw('<object width="'+w+'" height="'+h+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">'+fp('movie',n)+fp('bgcolor','#FFFFFF')+fp('quality','high')+fp('menu','true')+'<embed src="'+n+'" width="'+w+'" height="'+h+'" bgcolor="#FFFFFF" quality="high" menu="true" type="'+asf+'" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"><\/embed><\/object>');};};function ad(p,c){if(p)p='_'+p;if(!c)c='';wAd('bannerAd','bannerAd',468,70,p+'.bnr?bc='+c);};function tad(s,f,p){wAd('textAd','tad'+s,160,s*70,'_'+p+'.'+f+'.'+s+'.tad');};function wAd(i,c,w,h,s){dw('<iframe  id="'+i+'" class="'+c+' width="'+w+'" height="'+h+'" src="'+gt()+s+'" frameborder="0" scrolling="no"></iframe>');};