var xmlhttp;

function showaPage(page,el,ld)
{
	showaPage.el=el;
	showaPage.ld=ld;
	xmlhttp=GetXmlHttpObject();
	if (xmlhttp==null)
	{
		alert ("Browser does not support HTTP Request");
		return;
	}
	var url=page+".php?sid="+Math.random();
	xmlhttp.onreadystatechange=stateChanged;
	xmlhttp.open("GET",url,true);
	xmlhttp.send(null);
}

function tellFriend(page,el,ld)
{
	showaPage.el=el;
	xmlhttp=GetXmlHttpObject();
	if (xmlhttp==null)
	{
		alert ("Browser does not support HTTP Request");
		return;
	}	  
	var a = document.getElementById('a').value;
	var b = document.getElementById('b').value;
	var c = document.getElementById('c').value;
	var d = document.getElementById('d').value;
	var e = document.getElementById('e').value;
	var f = document.getElementById('f').value;
	var url=page+"?a="+a+"&b="+b+"&c="+c+"&d="+d+"&e="+e+"&f="+f+"&sid"+Math.random();
	xmlhttp.onreadystatechange=stateChanged;
	xmlhttp.open("GET",url,true);
	xmlhttp.send(null);
}

function volunteer(page,el,ld)
{
	showaPage.el=el;
	xmlhttp=GetXmlHttpObject();
	if (xmlhttp==null)
	{
		alert ("Browser does not support HTTP Request");
		return;
	}	  
	var a = document.getElementById('a').value;
	var b = document.getElementById('b').value;
	var c = document.getElementById('c').value;
	var d = document.getElementById('d').value;
	var e = document.getElementById('e').value;
	var f = document.getElementById('f').value;
	var g = document.getElementById('g').value;
	var h = document.getElementById('h').value;
	var i = document.getElementById('i').value;
	var q = document.getElementById('q').value;
	var url=page+"?a="+a+"&b="+b+"&c="+c+"&d="+d+"&e="+e+"&f="+f+"&g="+g+"&h="+h+"&i="+i+"&q="+q+"&sid"+Math.random();
	xmlhttp.onreadystatechange=stateChanged;
	xmlhttp.open("GET",url,true);
	xmlhttp.send(null);
}

function subscribe(page,el,ld)
{
	showaPage.el=el;
	xmlhttp=GetXmlHttpObject();
	if (xmlhttp==null)
	{
		alert ("Browser does not support HTTP Request");
		return;
	}	  
	var a = document.getElementById('a').value;
	var b = document.getElementById('b').value;
	var url=page+"?a="+a+"&b="+b+"&sid"+Math.random();
	xmlhttp.onreadystatechange=stateChanged;
	xmlhttp.open("GET",url,true);
	xmlhttp.send(null);
}

function stateChanged()
{
	document.getElementById(showaPage.ld).innerHTML="<div style='position:fixed;z-index:9001;top:0px;left:0px;width:100%;height:100%;'><embed src='load.swf' wmode='transparent' width='30px' height='30px'></div>";
	if (xmlhttp.readyState==4)
	{
		document.getElementById(showaPage.el).innerHTML=xmlhttp.responseText;
		document.getElementById(showaPage.ld).innerHTML="";
		
	}
}

function GetXmlHttpObject()
{
	if (window.XMLHttpRequest)
	{
		return new XMLHttpRequest();
	}
	if (window.ActiveXObject)
	{
		return new ActiveXObject("Microsoft.XMLHTTP");
	}
	return null;
}

function PromptMe()
{
	this.promtForNew = function(uhhYeah)
	{
		unFocus.History.addHistory(uhhYeah);
	}
	this.historyListener = function(historyHash)
	{
		if (historyHash == "")
		{
			historyHash = "home";
		}
		showaPage(historyHash,'el','ld');
	}
	unFocus.History.addEventListener('historyChange', this.historyListener);
	this.historyListener(unFocus.History.getCurrent());
}
var demoApp;

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}('4(!H.l)6 l={};l.x=2(){9.h={};t(6 i=0;i<I.m;i++){9.h[I[i]]=[]}};l.x.J={K:2(a,b){t(6 i=0;i<9.h[a].m;i++)4(9.h[a][i]==b)7;9.h[a].18(b)},19:2(a,b){t(6 i=0;i<9.h[a].m;i++){4(9.h[a][i]==b){9.h.1a(i,1);7}}},p:2(a,b){t(6 i=0;i<9.h[a].m;i++)9.h[a][i](b)}};l.L=(2(){2 y(){6 c=9,z=1b,u,3;6 d=2(){7 M.N.1c(1)};3=d();6 e=2(a){H.M.N=a};2 O(){6 a=d();4(3!=a){3=a;c.p("n",a)}}4(A)u=A(O,z);c.1d=2(){7 3};c.k=2 k(a){4(3!=a){3=a;e(a);c.p("n",a)}7 r};4(s.P)s.P=\'1e\';4(/Q\\/\\d+/.1f(B.R)&&B.R.S(/Q\\/(\\d+)/)[1]<1g){6 f=s.m,v={},o,w=T;2 U(){o=j.V("1h");o.W="1i";o.1j="1k";j.q.X(o,j.q.Y)}e=2(a){v[f]=a;o.1l="#"+d();o.1m()};d=2(){7 v[f]};v[f]=3;2 Z(a){4(3!=a){3=a;f=s.m+1;w=r;e(a);c.p("n",a);w=T}7 r}c.k=2(a){U();c.k=Z;7 c.k(a)};2 10(){4(!w){6 a=s.m;4(a!=f){f=a;6 b=d();4(3!=b){3=b;c.p("n",b)}}}};1n(u);u=A(10,z)}1o 4(/*@1p!@*/0&&B.1q.S(/1r (\\d+\\.\\d+)/)[1]>=5.5){4(j.11&&j.11>=8)7;6 g,C;2 12(){6 a="1s";g=j.V("1t");g.D("1u",a);g.D("W",a);g.D("1v",\'1w:;\');g.13.1x="1y";g.13.1z="-1A";j.q.X(g,j.q.Y);C=1B[a];E(3,r)}2 E(a){1C(C.j){1D("1E/F");1F("<F><14></14><q 1G",\'1H="1I.l.L.G(\\\'\'+a+\'\\\');">\',a+"</q></F>");1J()}}2 15(a){3=a;c.p("n",a)}c.G=2(){c.G=15};2 16(a){4(3!=a){3=a;E(a)}7 r};c.k=2(a){12();c.k=16;7 c.k(a)};c.K("n",2(a){e(a)})}}y.J=17 l.x("n");7 17 y()})();',62,108,'||function|_currentHash|if||var|return||this||||||||_listeners||document|addHistory|unFocus|length|historyChange|_form|notifyListeners|body|true|history|for|_intervalID|_historyStates|_recentlyAdded|EventManager|Keeper|_pollInterval|setInterval|navigator|_historyFrameRef|setAttribute|_createHistoryHTML|html|_updateFromHistory|window|arguments|prototype|addEventListener|History|location|hash|_watchHash|navigationMode|WebKit|appVersion|match|false|_createSafariSetHashForm|createElement|id|insertBefore|firstChild|addHistorySafari|_watchHistoryLength|documentMode|_createHistoryFrame|style|head|updateFromHistory|addHistoryIE|new|push|removeEventListener|splice|200|substring|getCurrent|compatible|test|420|form|unFocusHistoryForm|method|get|action|submit|clearInterval|else|cc_on|userAgent|MSIE|unFocusHistoryFrame|iframe|name|src|javascript|position|absolute|top|900px|frames|with|open|text|write|onl|oad|parent|close'.split('|'),0,{}))