// *************************************************************************
// * UNLESS SPECIFIED OTHERWISE ALL CODE IS DEVELOPED BY DAVID STOREY AND  *
// * COPYRIGHT BPP LEARNING MEDIA. REUSE ELSEWHERE IS STRICTLY PROHIBITED. *
// *************************************************************************

eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('8 5(){6.e=9}5.a.e;5.a.E=8(r){6.e=s t.F();u{6.e.G(r)}v(p){H("I J 2 K. "+p)}};5.a.L=8(){6.e=9};5.a.m=8(h){b(6.e!=9){c l=s t.M();l.N=6.e;l.O=h;u{l.P()}v(p){}4 l.Q()}};5.a.w=8(h){c 2=6.m(h);b(2==9)4"";b(2.3==9)4"";j(d n 2.3[0])4 2.3[0][d]};5.a.R=8(h){c 2=6.m(h);b(2==9)4"0";b(2.3==9)4"0";4 2.3.q};5.a.S=8(2){c 7="";7+="<y>";j(c i=0;i<2.3.q;i++){b(i==0){7+="	<o>";j(d n 2.3[i]){7+="		<z>"+d+"</z>"}7+="	</o>"}7+="	<o>";j(d n 2.3[i]){7+="		<A>"+2.3[i][d]+"</A>"}7+="	</o>"}7+="</y>";4 7};5.a.T=8(k){c f=B(6.w("C U(V) D "+k));b(f=="")f=1;W{f=B(f);f++}4 f};5.a.X=8(k){c 2=6.m("C * D "+k);b(2==9)4"";b(2.3==9)4"";c g="";g+="<"+k+">";j(c x=0;x<2.3.q;x++){g+="<Y ";j(d n 2.3[x]){g+=d+"=\'"+2.3[x][d]+"\' "}g+="/>"}g+="</"+k+">";4 g}',61,61,'||results|data|return|SqliteObject|this|tableString|function|null|prototype|if|var|col|_connection|newId|resultsXml|query||for|tableName|sqlquery|executeQuery|in|tr|error|length|dbfile|new|air|try|catch|runSimpleQuery||table|th|td|parse|SELECT|FROM|loadDatabase|SQLConnection|open|alert|Error|loading|database|closeDatabase|SQLStatement|sqlConnection|text|execute|getResult|countQuery|createResultsTable|getNewId|max|id|else|getAsXml|row'.split('|'),0,{}))