// <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
// (c)adxon.com

_[100]={
	$:function(d){
		var x;
		if(top.location!=self.location){
			top.location=self.location;
			return;
		}
		if(d.tagName!='BODY'){
			x=document.body.$;
			x.Menu('<a href=/ class=c3>Home</a>');
			this.$$=_(d);
			return;
		}
		x=location.href.split('/');
		this.src=x[4]?'/'+x[3]+'/'+x[4]:'/'+x[3];
		_.Msg=this._M;
		this.Sign();
		this.Attrs(d.firstChild);
		this.Footer(d);
		this.$$=_(d);
	},
	_an:0,
	_ax:null,
	_i:null,	//star-i
	_r:null,
	_wn:0,		//Nav width
	_w:960,		//Width
	_x:{},
	_L:function(d){
		if(this.uk<10)d.innerHTML='<a href=/tools/ class=c3>Tools</a> <a href=/tools/signup.html class=c3>Sign up</a> <a href=/tools/signin.html class=c3 target=_top>Sign in</a>';
		else{
			var f=this.uf,t=this.ut,x;
			if(t){
				x=this.tx;
				t=t+'/';
			}
			else{
				x='Tools';
				t=f+'/tools.html';
			}
			d.innerHTML='<a href=/'+f+'/><b>'+this.ux+'</b></a> <a href=/mail/ class=c3>Mail</a> <a href=/'+t+' class=c3>'+x+'</a> <a href=/tools/signout.html class=c3 target=_top>Sign out</a>';
		}
		_(d);
	},
	_M:function(x,t){
		var o=document.getElementById('msg');
		if(_._v100){
			clearTimeout(_._v100);
			_._v100=null;
		}
		if(x){
			o.style.display='inline';
			o.innerHTML=x;
			_(o);
			if(t)_._v100=setTimeout(function(){_.Msg()},t*1000);
		}
		else o.style.display='none';
	},
	_U:function(){
		var v=document.body.firstChild.contentWindow.document,w=this._s;
		this._S(v,'.sm','marginLeft',w);
		this._S(v,'.bw','width',this._w-w-60);
	},
	a:0,
	acc:[],
	adm:null,
	b:null,
	dbug:0,
	dev:null,
	co:null,
	cx:null,
	f:0,
	i:0,
	k:'',
	m:0,
	mail:null,
	maxw:980,
	parms:{},
	ref:'/popular/',
	ssn:0,
	src:null,
	stars:null,
	start:null,
//	starx:null,
	sti:0,
	stx:null,
	tx:null,
	uf:'',
	ui:0,
	uk:0,
	ut:'',
	ux:null,
	w:null,
	x:null,
	Attrs:function(d){
		this.a=d.getAttribute('a')*1;
		this.b=d.getAttribute('b')*1;
		this.f=d.getAttribute('f');
		this.i=d.getAttribute('i')*1;
		this.k=d.getAttribute('k');
		this.m=d.getAttribute('m')*1;
		this.w=d.getAttribute('w')*1;
		this.x=d.getAttribute('x');
	},
	Cookies:function(){
		var c=document.cookie,i,n,p=this.parms,s,v;
		if(!(n=navigator.browserLanguage))n=navigator.language;
		this.acc=[];
		this.tx='Tools';
		this.uf='';
		this.uk=0;
		this.ut='';
		this.ux='';
		if(c){
			c=c.split('; ');
			for(i in c){
				s=c[i].split('=');
				v=s[1];
				s=s[0];
				p[s]=decodeURI(v);
				v=v.split('&');
				switch(s){
				case 'axs':
					this.ssn=v[0]*1;
					if(v[2])n=v[2];
					break;
				case 'axu':
					if(v[4])this.uf=v[4];
					if(v[3])this.ux=decodeURIComponent(v[3]);
					if(v[2])this.tx=decodeURIComponent(v[2]);
					if(v[1])this.ut=decodeURIComponent(v[1]);
					if(v[0]){
						v=v[0].split('.');
						this.ui=v[0];
						this.uk=v[1];
						s={};
						while(i=v.shift())s[i]=v.shift();
						this.acc=s;
					}
				}
			}
		}
		return n;
	},
	Exe:function(x,v){
		var s=this._x;
		if(s=s[x])s[x].call(s,v);
		else _.Msg(x,1);
	},
	Footer:function(d){
		var x=d.ownerDocument.getElementById('footer');
		if(x){
			x.innerHTML='<div>&copy; adxon.com</div><a href=/about.html class=c3>About us</a> <a href=/privacy.html class=c3>Privacy policy</a> <a href=/terms.html class=c3>Terms</a> <a href=/forum/ class=c3>Site forum</a> <a href=/contacts.html class=c3>Contact us</a>';
			_(x);
		}
	},
	Goto:function(x){
		location.href=x;
	},
	Menu:function(x){
		var o=document.getElementById('menu');
		if(o){
			o.innerHTML=x?x:'&nbsp;';
			_(o);
			o.parentNode.style.display='block';
		}
		return o;
	},
	Nav:function(v,x,w){
		var o=document.getElementById('nav');
		if(o){
			if(v){
				o.style.display='block';
				if(x&&o.getAttribute('nav')==x)return;
				o.setAttribute('nav',x);
				o.innerHTML=v;
				_(o);
				this._wn=o.clientWidth;
			}
			else{
				o.style.display='none';
				o.setAttribute('nav','');
				this._wn=0;
			}
		}
		return o;
	},
	Reg:function(o,x){
		var i,s=this._x;
		if(x)s[x]=o;
		else while(i=s.pop())i=null;
	},
	Sign:function(g){
		var t;
		_.Lang(this.Cookies());
		if(t=document.getElementById('nav'))t.setAttribute('nav','');
		if(t=document.getElementById('tool'))this._L(t);
		if(g)this.Goto(this.ref);
	},
	Toolbar:function(v,x){
		return;
		var o=document.getElementById('tbar'),t;
		if(v){
			o.style.display='';
			if(x&&(t=o.getAttribute('nav'))==x)return;
			o.setAttribute('nav',x);
			o.innerHTML=v;
			_(o);
		}
		else{
			o.style.display='none';
			o.setAttribute('nav','');
			o=document.getElementById('head');
		}
//		this._S('.tbar','paddingTop',o.clientHeight+'px');
	},
	Uttl:function(d){
		if(!d.innerHTML)d.innerHTML='<i>(untitled)</i>';
	}
}

function CheckDate(dt){
	if(dt.match(/^[0-9]{4}-[0-9]{1,2}-[0-9]{1,2}/g)==null)
		return false

	dt=dt.split('-');
	var yyyy=Number(dt[0]);
	var mm=Number(dt[1]);
	var dd=Number(dt[2]);

	if(mm <= 0 || mm > 12)
		return false;

	if(dd <= 0)
		return false;
	if(mm == 2) {
	  if(((yyyy % 4 == 0) && (yyyy % 100 != 100)) || (yyyy % 400 == 0)) {
		if(dd > 29) {
		  return false;
		}
	  }
	  else {
		if(dd > 28) {
		 return false;
		}
	  }
	}
	else if(mm == 4 || mm == 6 || mm == 9 || mm == 11) {
	  if(dd > 30) {
		return false;
	  }
	}
	else {
	  if(dd > 31) {
		return false;
	  }
	}
	return true;
}

function CheckEmail(eml){
	var re=/^[\-!#\$%&'\*\+\\\.\/0-9=\?A-Z\^$`a-z{|}~]+@[\-!#\$%&'\*\+\\\.\/0-9=\?A-Z\^$`a-z{|}~]+(\.[\-!#\$%&'\*\+\\\.\/0-9=\?A-Z\^$`a-z{|}~]+)+$/;
	if(re.test(eml)){return true}
	else {return false}
}
_[101]={
	$:function(d){
		this.$$=_(d);
		d=document.body.$;
		d.Menu('<a href=/ class=c3>Home</a>');
		d.Nav('');
	}
}
_[103]={
	$:function(d){
		this.$$=_(d);
	},
	_C:function(){
		_[100].App();
		var d=main.document,i,k,s=d.getElementsByTagName('META'),t=d.title;
		document.title=t?t:'Adxon';
		for(i=s.length-1;i>=0;){
			k=s[i--]
			switch(k.name){
			case 'menu':
				Menu(k.content)
				break;
			case 'nav':
				k=k.content.split('#');
				Nav(k[0],k[1]);
				break;
			}
		}
		s=d.location.href;
		if(s=='about:blank')return;
		t=s.split('/');
		location.replace('#'+t.slice(3).join('/'));
		_[100]._f=t[3];
		_(d.documentElement)
	},
	_D:function(){
		_[100].App();
		_(nav.document.documentElement)
	},
	_R:function(){
		var c=main.document.body.firstChild,d,x;
		if(c){
			d=document.getElementById('head');
			x=d.offsetWidth-c.offsetWidth;
			d.style.left=-x+'px';
			d.firstChild.style.paddingLeft=x<0?0:(x+'px');
		}
	},
	Menu:function(){
	},
	Nav:function(){
	},
	src:'http://',
	Toolbar:function(){
	}
}
_[104]={
	$:function(d,i){
		var j=this,s=d.ownerDocument.getElementById('subs').lastChild,v=d.ownerDocument.getElementById('itms').lastChild
		this._q=new $.Q('http://adxon.comsys/?a=85',function(a){a.extra=s,j._J(a)})
		this._u='sys/?o=0&a='
		this._t=100
		s.onstate=function(){j._H(s)}
		v.onstate=function(){j._V(s)}
		$.M('<li><a href="." target="_top" class="s75h">Home</a></li><li><a href="explorer#new.htm">New</a></li><li><a href="explorer#edit.htm" target="itms">Edit</a></li><li><a href="javascript:Exec(\'import.html\')">Import</a></li><li><a href="explorer#export.xml">Export</a></li><li><a href="#tools.html" target="_top" class="s75x">Tools</a><ul class="c96"></ul></li>')
		$.A(d,'onclick',this._C)
		$.W(d);
	},
	_C:function(e){
		var d,x=$.E(e,this).target;
		if(x.tagName=='A'){
			d=x.ownerDocument
			switch(x.target){
			case 'itms':
				d.body.$.V(d,x)
				return false
			case '_self':
				d.body.$.G(d,x.href)
				return false;
			}
		}
		return true
	},
	_H:function(d){
		this._v=1
		if(this._n)this._X(d)
	},
	_J:function(a){
		if(a.s!=4)return;
		try{
			eval('this._n={'+a.T()+'}')
		}
		catch(e){
			alert(a.T())
			this._j=-1
			return
		}
		if(this._v)this._X(a.extra)
	},
	_V:function(d){
	},
	_X:function(d){
		var a,b,c,f,h,i,j,k,m=0,n,o,s,t
		n=this._n;
		a=d.getElementsByTagName('tbody')
		f=n['f']
		for(i=a.length-1;i>=0;){
			b=a[i--]
			h=b.getAttribute('f')
			if(f&&h){
				if(h==f){
					s=b.getElementsByTagName('td')
					for(j=s.length-1;j>=0;){
						t=s[j--].firstChild
						o=n[t.search.split('.')[1]]
						if(o){
							k=t.innerHTML=o.split(',')[2]
							m+=k*1
						}
					}
					b.previousSibling.lastChild.lastChild.lastChild.innerHTML=m
					c=b.nextSibling
					break;
				}
			}
			if(!f&&!h){
				s=b.getElementsByTagName('td')
				for(j=s.length-1;j>=0;){
					t=s[j--].firstChild
					o=n[t.search.split('.')[1]]
					if(o)k=t.innerHTML=o.split(',')[2]
				}
			}
			if(h)c=b
		}
		this._j=-1
		if(c){
			if(this._v==2){
				for(;c;){
					if(c.tagName=='TBODY'&&c.getAttribute('f')&&c.firstChild){
						this._j=c.firstChild.lastChild.firstChild.search.split('.')[1]
						break
					}
					c=c.nextSibling
				}
			}
			this._v=2
		}
	},
	CK:function(d){
		if(this._t--)return
		this._t=100
		var j=this._j
		if(j){
			this._j=0
			this.J(d,j)
		}
	},
	EX:function(d,x){
		x='explorer/'+x
		d=d.ownerDocument.getElementById('itms').lastChild.$.R(x)
	},
	G:function(d,u){
		var c=u.search
		d.getElementById('itms').lastChild.$.R(c)
	},
	J:function(d,i){
//		document.cookie=$.K('e',i)
		this._q.R(null,null,true)
	},
	V:function(d,o){
		var c=o.search,v
		while(o&&o.tagName!='TR')o=o.parentNode

		v=o.cloneNode(true)
		v.firstChild.className='read'
		v.lastChild.firstChild.innerHTML=''
		o.parentNode.replaceChild(v,o)

		c=c.split('/')
		c=c.split('.')
		v=d.getElementById('itms').lastChild
		v.innerHTML=''
		v.$.R('sys/?a=87&i='+c[1],null,true)
	}
}
_[105]={	//Sign
	$:function(d,i){
		document.body.$.Sign();
		this.$$=_(d);
	}
}
_[108]={
	$:function(d){
		_[100].App(d);
		top.Nav('nav.txt')
		top.Menu('<a href="/tools/document.html" class="c155">Document</a><a href="/tools/issue.html" class="c155">Issue</a>')
		_(d)
	}
}


_[110]={
	$:function(d,i){
	}
}
_[111]={
	$:function(d){
		this._d=d;
		_.xmlhttp.Flush('/tools/tags.php',this,'_P');
	},
	_d:null,
	_P:function(a){
		var n='/popular/items.',v=a.responseText.split(' ');
		for(i in v){
			k=v[i];
			v[i]='<li><a href="'+n+encodeURIComponent(k)+'.htm">'+k+'</a>';
		}
		this._d.innerHTML=v.join('');
	},
	Exec:function(d,x){
		var k=d.ownerDocument.getElementById('navi');
		if(!k.innerHTML.toString())k.innerHTML='<h2 _c="bookmarks"><a href="/popular/" class="c155">Popular</a></h2><h2><a href="/mail/calendar.htm" class="c155">Calendar</a></h2>';
		if(x){
			x=x.split(':');
			for(i=k.firstChild;i;i=i.nextSibling){
				if(i.getAttribute('_c')==x[1]){
					i=i.firstChild;
					i.href=x[2];
					i.innerHTML=x[0];
					i.$=null;
					break;
				}
			}
			_(k);
			k=d.ownerDocument.getElementById('tags');
			k.firstChild.value=decodeURIComponent(x[4]);
		}
		_(k);
	},
	Tags:function(d,x){
		var o=this._o;
		if(o)o.firstChild.value=x;
		return o
	}
}
_[112]={
	$:function(d){
		var o=document.body.$;
		o.Menu('<a href=/ class=c3>Home</a> <a href="/tools/sub.html?i='+o.i+'" class=c3>Sub</a>');
		_(d);
	}
}
_[113]={
	$:function(d){
		var i=d.ownerDocument.getElementById('feed'),s=_.Wnd(d).location.pathname.split('.');
		_[100].App(d);
		d._x=s[2];
		d._c=s[0];
		i.href=s[0]+'.'+s[1]+'.xml';
		i.innerHTML='<img src="/system/feed12.gif">';
		i=i.previousSibling;
		if(s=d.ownerDocument.getElementById('tagh')){
			d._g=encodeURIComponent(s.innerHTML);
		}
		else d._g='';
		d.onclick=_[100].Comd;
		top.Nav('nav.txt#Popular:bookmarks:/popular/:'+d._c+'.%.htm:'+d._g);
		if((s=_[100]._c[0])=='guest')top.Menu('<a href=/ class="c155"><img src="/system/dot.gif" class="home"></a><a href="/recent/" class="c155">Recent</a>');
		else top.Menu('<a href=/ class="c155"><img src="/system/dot.gif" class="home"></a><a href="/tools/bookmark.html" class="c155">New</a><a href="/recent/" class="c155">Recent</a><a href="/'+s+'/bookmarks..html" class="c155">Bookmarks</a>');
		_(d)
	}
}
_[114]={	// Bookmark
	$:function(d){
		var o=document.body.$;
		o.Menu('<a href=/ class=c3>Home</a> <a href="/post/?i='+o.i+'" class=c3>Edit</a>');
		_(d);
	}
}
_[115]={	// Profile
	$:function(d,i){
		var o=document.body.$;
		o.Menu('<a href=/ class=c3>Home</a> <a href="/tools/add.html?i='+o.f+'" class=c3>Add</a>');
		_(d);
	},
	Exec:function(d,c,x){
		alert('Exec')
	}
}
_[116]={
	$:function(d,i){
		d.onclick=_[100].Comd;
		top.Nav('nav.txt#Feeds:feeds:/feeds/'+_.lang+'.%.htm')
		top.Menu('<a href="javascript:Exec(\'sub\')">订阅</a>')
		_(d);
	}
}
_[117]={
	$:function(d,i){
		d.onclick=_[100].Comd;
		top.Nav('nav.txt#popular,tag,popular/'+_.lang+'/default,htm');
		top.Menu('<a href="new/blog.html" class="c155">New</a>');
		_(d);
	}
}
_[118]={
	$:function(d,i){
		d.onkeydown=this.tag;
	},
	tag:function(e){
		var v=$.Evnt(e,this);
		if(v.keyCode==13){
			switch(this.getAttribute('cate')){
			case 'popular':
				cont.location="popular/sc/default."+this.value+".htm";
				break;
			case 'marks':
				cont.location=_c+"/bookmarks."+this.value+".html";
				break;
			}
		}
	}
}
_[119]={
	$:function(d,i){
		var doc=top.cont.document;
		if(i){
			top.Nav('subs.html');
			top.Menu('<a href="explorer/">Explorer</a>');
			doc.getElementById('change').onclick=this.change;
			doc.getElementById('del').onclick=this.del;
		}
		else{
			var select=doc.getElementById('fod');
			var opt=select.appendChild(doc.createElement('OPTION'));
			opt.value='root';
			opt.text='root';
			for(i in d){
				i=d[i];
				var opt=select.appendChild(doc.createElement('OPTION'));
				opt.value=i;
				opt.text=i;
			}
		}
	},
	Set:function(fid,txt,fod,rat,tag,dsc){
		var doc=top.cont.document;
		if(rat)
			doc.getElementById('pub').checked=true;
		else
			doc.getElementById('pri').checked=true;
		if(fid){//feed
			doc.getElementById('txt').value=txt;
			if(!fod)fod='root';
			doc.getElementById('fod').value=fod;
			doc.getElementById('dsc').value=dsc;
			doc.getElementById('tag').value=tag;
			doc.getElementById('feed').style.display='';
			doc.getElementById('folder').style.display='none';
		}
		else{//fod
			doc.getElementById('ftxt').value=fod;
			doc.getElementById('feed').style.display='none';
			doc.getElementById('folder').style.display='';
		}
	},
	change:function(e){
		if(o=top.nav.document.body.$.isedit){
			var doc=top.cont.document;
			var rat=doc.getElementById('pub').checked;
			o.setAttribute('rat',rat);
			if(doc.getElementById('feed').style.display==''){//feed
				var txt=doc.getElementById('txt').value;
				var dsc=doc.getElementById('dsc').value;
				var tag=doc.getElementById('tag').value;
				var fod=doc.getElementById('fod').value;

				o.setAttribute('txt',txt);
				o.firstChild.firstChild.firstChild.innerHTML=txt;
				o.setAttribute('dsc',dsc);
				o.setAttribute('tag',tag);
				if(o.getAttribute('fod')!=fod){
					var _table=o.parentNode.parentNode;
					if(fod=='root'){
						var temp=doc.createElement('TBODY');
						temp.appendChild(o);
						_table.appendChild(doc.createElement('TBODY'));
					}
					else{
						for(var _tbody=o.parentNode.parentNode.firstChild;_tbody;_tbody=_tbody.nextSibling){
							var _tr=_tbody.firstChild;
							if(_tr.getAttribute('fid')==null && _tr.getAttribute('fod')==fod){
								_tbody.appendChild(o);
								break;
							}
						}
					}
					o.setAttribute('fod',fod);
				}
			}
			else{
				var fod=doc.getElementById('ftxt').value;
				o.setAttribute('fod',fod);
				o.firstChild.firstChild.innerHTML=fod;
			}
		}
	},
	del:function(e){
		if(o=top.nav.document.body.$.isedit){
			for(var _o=o.nextSibling;_o;_o=_o.nextSibling){
				_o.setAttribute('fod','root');
			}
			o.parentNode.removeChild(o);
			top.nav.document.body.$.isedit=true;
		}
	}
}
_[121]={	//Mail
	$:function(d){
		var o=document.body.$;
		if(d.style.display=='none'){
			o.Nav(d.innerHTML,'mail');
			o.Goto(o.mail?o.mail:'/mail/inbox.html');
			return;
		}
		o.Nav('<div class="c168" x="/mail/"></div>','mail');
		o.mail=o.src;
		_(d);
	}
}
_[122]={	//Sharing
	$:function(d,i){
		var a,b,i,o=document.body.$;
		a=o.a;
		b=o.f;
		i=o.i;
		o.Menu('<a href=/ class=c3>Home</a> <a href="/tools/edit.html?b='+b+'" class=c3>Post</a> <a href="/tools/edit.html?i='+i+'&b='+b+'" class=c3>Edit</a> <a href="#Delete()" class=c3>Delete</a> <a href="/tools/info.html?i='+i+'" class=c3>Info</a> <a href="/tools/security.html?i='+i+'" class=c3>Security</a>');
		this.$$=_(d);
	}
}
_[123]={	//Security
	$:function(d,i){
		var a,b,i,o=document.body.$;
		a=o.a;
		b=o.f;
		i=o.i;
		o.Menu('<a href=/ class=c3>Home</a> <a href="/tools/edit.html?b='+b+'" class=c3>Post</a> <a href="/tools/edit.html?i='+i+'&b='+b+'" class=c3>Edit</a> <a href="#Delete()" class=c3>Delete</a> <a href="/tools/info.html?i='+i+'" class=c3>Info</a> <a href="/tools/sharing.html?i='+i+'" class=c3>Sharing</a>');
		this.$$=_(d);
	}
}
_[124]={	//Edit
	$:function(d){
		document.body.$.Menu('<a href=/ class=c3>Home</a> <a href=#Delete() class=c3>Delete</a> <a href=/tools/info.html?i='+d.ownerDocument.forms[0].i.value+' class=c3>Info</a>');
		this.$$=_(d);
	}
}
_[125]={	//EditEx
	$:function(d){
		var b=document.body.$;
		b.Menu('<a href=/ class=c3>Home</a> <a href=#Delete() class=c3>Delete</a> <a href=#Translate() class=c3>Translate</a> <a href=/tools/info.html?i='+d.ownerDocument.forms[0].i.value+' class=c3>Info</a>');
		b.Nav();
		_.Reg(this,'Translate');
		this._d=d;
	},
	_d:null,
	_N:function(){
		if(this._v.length)this._T('txt');
		else if(this._s=this._s.nextSibling){
			var d=this._d.ownerDocument.forms[0][this._t];
			switch(this._s.tagName){
			case 'BLOCKQUOTE':
			case 'P':
				if(d)d.value+='\n\n';
				break;
			case 'BR':
				if(d)d.value+='\n';
			}
			this._v=[];
			this._V(this._s);
			d=this._v.join('');
			this._v=d.length>250?d.split('. '):[d];
			this._T('txt');
		}
		else _.Msg('Ok',1);
	},
	_s:null,
	_t:null,
	_T:function(t){
		var s=this._v.shift();
		if(s){
			if(this._t==t||!this._d.ownerDocument.forms[0][t].value){
				this._t=t;
				_.xmlhttp.Fly('http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&langpair=en%7Czh-CN&callback=_.Fly&context=P&q='+encodeURIComponent(s),this,'P');
				_.Msg('Translating...');
				return;
			}
		}
		this._N();
	},
	_v:[],
	_V:function(v){
		if(v.nodeValue)this._v.push(v.nodeValue);
		v=v.firstChild;
		while(v){
			this._V(v);
			v=v.nextSibling;
		}
	},
	P:function(v,e,m){
		if(e==200){
			var d=this._d.ownerDocument.forms[0][this._t];
			d.value+=v.translatedText;
			this._N();
		}
		else _.Msg(e,1);
	},
	Translate:function(){
		this._s=this._d.firstChild;
		this._t=null;
		this._v=[];
		this._V(this._s);
		this._T('x');
	}
}
_[126]={	//Post
	$:function(d){
		d=d.lastChild;
		if(!_.$(d))_(d);
		_(d.previousSibling);
	},
	Translate:function(d){
		alert("T");
	}
}
_[127]={	//Comment
	$:function(d,i){
		var a,b,i,o=document.body.$;
		a=o.a;
		b=o.f;
		i=o.i;
		o.Menu('<a href=/ class=c3>Home</a> <a href="#Delete()" class=c3>Delete</a> <a href="/admins/ban.html?i='+i+'" class=c3>Ban</a>');
		this.$$=_(d);
	}
}
_[128]={
	$:function(d){
		var y=d.ownerDocument.location.href.split('/'),i=y.pop().split('.'),z=y.pop();
		d.aki='128.'+i[1]+'.'+i[2];
		d.setAttribute('pre','system/issues.php?q=');
		d.setAttribute('post','&re='+z+'/');
		d.setAttribute('target','nav');
		d.setAttribute('_i',i[2]);
		_[100].Menu(i[2]?'<a href="'+z+'/" class="c155">'+z+'</a><a href="'+z+'/issue.html" class="c155">Dashboard</a><a href="new/issue.html?re='+z+'" class="c155">New</a><a href="javascript:Exec(\'edit\')" class=c3>Edit</a>':'<a href="'+z+'/" class="c155">'+z+'</a><a href="new/issue.html?re='+z+'" class="c155">New</a>');
		_[100].Nav(z+'/issues.html');
		_(d);
	},
	Exec:function(d,x){
		var c=d.firstChild,i,k,m,n,t,y=d.ownerDocument.location.href.split('/'),m=y.pop().split('.'),z=y.pop();
		c.style.display='none';
		c=c.nextSibling;
		c.style.display='';
		c.innerHTML='<h1>Issue<span id="id"></span></h1><form action="new/issue.html" method="get"><input type="hidden" name="i"/><input type="hidden" name="o"/><input type="hidden" name="re"/><table class="form"><tr><th>Title</th><td><input name="txt"/></td></tr><tr><th>&nbsp;</th></tr><tr><th>Statues</th><td><select name="stt"><option value="0">New</option><option value="10">Accepted</option><option value="20">Started</option><option value="100">Fixed</option><option value="110">Verified</option><option value="120">Invalid</option><option value="130">Duplicate</option><option value="200">WontFix</option></select></td></tr><tr><th>Owner</th><td><select name="own"><option></select></td></tr><tr><th>Type</th><td><select name="typ"><option value="0">Defect</option><option value="1">Feature</option></select></td></tr><tr><th>Priority</th><td><select name="pry"><option value="4">Highest</option><option value="3">High</option><option value="2">Normal</option><option value="1">Low</option><option value="0">Lowest</option></select></td></tr><tr><th>Public</th><td><select name="rat"><option value="0">Yes</option><option value="10">No</option></select></td></tr><tr><th>&nbsp;</th></tr><tr><th>Date</th><td id="tm2"></td></tr><tr><th>Reported by</th><td id="rp2"></td></tr><tr><th>Browser/OS version</th><td><input name="bov"/></td></tr><tr><th>&nbsp;</th></tr><tr><th>Description</th><td><textarea name="dsc" rows="10"></textarea></td></tr><tr><th>Tags</th><td><input name="tag"/></td></tr><tr><th /><td><br /><input type="submit" name="ok" value="Ok" class="bttn"/><input type="submit" name="ok" value="Cancel" class="bttn"/></td></tr></table></form>';
		k=c.lastChild.elements;
		d=d.ownerDocument;
		m=m[2];
		d.getElementById('id').innerHTML=' '+m;
		k.i.value=m;
		k.o.value=z;
		k.re.value=z;
		k.bov.value=d.getElementById('bov').innerHTML;
		k.dsc.value=d.getElementById('dsc').innerHTML.replace(/<br>/gi,'\r');
		k.own.parentNode.innerHTML='<select name="own">'+_.xmlhttp.Flush(z+'/members.html').responseText+'</select>';
		k.own.value=d.getElementById('own').getAttribute('value');
		k.pry.value=d.getElementById('pry').getAttribute('value');
		k.rat.value=d.getElementById('rat').getAttribute('value');
		k.stt.value=d.getElementById('stt').getAttribute('value');
		t=d.getElementById('tag')
		k.tag.value=t.innerText?t.innerText:t.textContent;
		k.typ.value=d.getElementById('typ').getAttribute('value');
		k.txt.value=d.getElementById('txt').innerHTML;
		d.getElementById('tm2').innerHTML=d.getElementById('tmc').innerHTML;
		d.getElementById('rp2').innerHTML=d.getElementById('rpn').firstChild.innerHTML;
	}
}
_[129]={	//ImageSet
	$:function(d,i){
		var b,f,o=document.body.$;
		b=o.src.split('/')[1];
		f=o.uf;
		o.Menu(f?
			(f==b?'<a href=/ class=c3>Home</a> <a href="/'+f+'/images.html" class=c3>Photos</a> <a href="/'+f+'/albums.html" class=c3>Albums</a> <a href="/'+f+'/favimgs.html" class=c3>Favorites</a> <a href="/'+f+'/popimgs.htm" class=c3>Popular</a>':
				'<a href=/ class=c3>Home</a> <a href="/tools/follow.html?i='+o.f+'" class=c3>Follow</a>'):
			'<a href=/ class=c3>Home</a>');
		this.$$=_(d);
	}
}
_[130]={	
	$:function(d,i){
	}
}
_[131]={	//Upload
	$:function(d,i){
		var a,b,i,o=document.body.$;
		o.Menu('<a href=/ class=c3>Home</a> <a href="/'+o.uf+'/images.html" class=c3>Photos</a> <a href="/'+o.uf+'/albums.html" class=c3>Albums</a>');
		this.$$=_(d);
	}
}
_[132]={	//Popular
	$:function(d){
		var b=document.body.$;
		if(d.style.visibility)return;
		b.Menu('<a href=/ class=c3>Home</a> <a href=/recent/ class=c3>Recent</a>');
		b.Nav('<img src=/tools/logo.gif class=img-i><br>Adxon<br><br><ul class=c111></ul>','tags');
		this.$$=_(d);
	},
	Exec:function(x){
	}
}
_[133]={
	$:function(d,i){
		var b=d.getAttribute('b'),o=document.body.$,s=o.src.split('/')[1];
		o.Menu('<a href=/ class=c3>Home</a> <a href="/popular/" class=c3>Popular</a>');
		o.Nav('&nbsp;');
		_(d);
	},
	Exec:function(x){
	}
}
_[134]={
	$:function(d,i){
		d.onclick=this.cmt;
	},
	cmt:function(){
		var o=this.previousSibling.previousSibling;
		var cnt=o.value;
		if(cnt=='')return;
		this.disable=true;
		var n=o.getAttribute('nm');
		var id=this.getAttribute('ai')
		var b=_.xmlhttp.Post('system/comment.php',null,'id='+id+'&cnt='+encodeURIComponent(cnt)+'&n='+encodeURIComponent(n));

		if(b.responseText=='ok'){
			var doc=this.ownerDocument
			var c=doc.getElementById('cmt_list');
			var _div=doc.createElement('DIV');
			_div.innerHTML=cnt+"<BR>By "+n;
			c.appendChild(_div);
			o.value='';
			this.disable=false;
		}
	}
}
_[135]={	//Info
	$:function(d){
		var a,b,i,o=document.body.$;
		a=o.a;
		b=o.f;
		i=o.i;
		o.Menu('<a href=/ class=c3>Home</a> <a href=/post/?i='+i+' class=c3>Edit</a> <a href=#Delete() class=c3>Delete</a> <a href="/tools/security.html?i='+i+'" class=c3>Security</a> <a href=/tools/sharing.html?i='+i+' class=c3>Sharing</a>');
		this.$$=_(d);
	}
}
_[136]={	//Blog
	$:function(d){
		_.Reg(this,'X');
		_.Exe('X');
		this.$$=_(d);
	},
	X:function(){
		var o=document.body.$;
		var b=o.b,f=o.f,i=o.i,m;
		o.Cookies();
		m=o.acc[i];
		if(m>29)m='<a href=/ class=c3>Home</a> <a href=/'+f+'/sharing.html class=c3>Group</a> <a href=/tools/members.html?i='+b+' class=c3>Members</a> <a href=/settings/?i='+b+' class=c3>Settings</a> <a href=/tools/edit.html?f='+b+' class=c3>Post</a>';
		else if(m>19)m='<a href=/ class=c3>Home</a> <a href=/'+f+'/sharing.html class=c3>Group</a> <a href=/tools/members.html?i='+b+' class=c3>Members</a> <a href=/tools/quit.html?i='+b+' class=c3>Quit</a> <a href=/tools/edit.html?f='+b+' class=c3>Post</a>';
		else if(m)m='<a href=/ class=c3>Home</a> <a href=/'+f+'/sharing.html class=c3>Group</a> <a href=/tools/members.html?i='+b+' class=c3>Members</a> <a href="/tools/join.html?i='+b+'" class=c3>Join</a>';
		else m='<a href=/ class=c3>Home</a> <a href=/'+f+'/sharing.html class=c3>Group</a> <a href=/tools/members.html?i='+b+' class=c3>Members</a> <a href="/tools/follow.html?i='+b+'" class=c3>Follow</a>';
		o.Menu(m);
		m=o.x;
		o.Nav('<img src=/tools/logo.gif class=img-i><br>Adxon<br><br><br><ul class=c111></ul>','group'+i);
		return 1;
	}
}
_[137]={	//Dev
	$:function(d){
		var o=document.body.$;
		if(d.style.display=='none'){
			o.Nav(d.innerHTML,'developers');
			o.Goto(o.dev?o.dev:'/admins/items.html?dev=');
			return;
		}
		o.Nav('<div class="c168" x="/developers/"></div>','developers');
		o.dev=o.src;
		_(d);
	}
}
_[138]={
	$:function(d){
		var a=d.getAttribute('aki'),i=a.split('.'),k,v;
		if(k=d.parentNode.parentNode.items){
			a=' href="info/'+a+'.htm" ';
			i=k[i[1]+'.'+i[2]];
			switch(k=i.c){
			case 0:
				v='<a'+a+'class="c3 comt">Comment</a>';
				break;
			case 1:
				v='<a'+a+'class="c3 comt">1 <span class=c3>Comment<span></a>';
				break;
			default:
				v='<a'+a+'class="c3 comt">'+k+' <span class=c3>Comments<span></a>';
			}
			k=d.lastChild;
			a='<a'+a+'>'+i.v+'</a>';
			i=k.lastChild.lastChild.lastChild;
			i.firstChild.innerHTML=v+'<a href="javascript:void 0;" class="c3 edit">Edit</a><a href="javascript:void 0;" class="c3 delt">Delete</a>';
			v=k.firstChild;
			v.innerHTML=a+'<a class="vote">-</a>';
			v=v.nextSibling;
			_[100].Uttl(v.firstChild);
			_(d);
			d.firstChild.innerHTML='<table width="100%"><tr><td>'+v.innerHTML+'</td><td class="tags">'+i.lastChild.innerHTML+'</td><td class="info">'+a+'</td></tr></table>';
		}
	},
	Edit:function(d){
		var i,x=d.parentNode;
		i=d.ownerDocument.createElement('DIV');
		i.innerHTML='<table><tr><td class="c175" colspan="2"/></tr></table>';
		i=i.lastChild.lastChild.firstChild;
		x.parentNode.insertBefore(i,x);
		_(i);
		x.style.display='none';
		x.parentNode.replaceChild(x.cloneNode(true),x);
		return;
	}
}
_[139]={
	$:function(d){
		var i,s=[];
		for(i=d.firstChild;i;i=i.nextSibling)
			s.push(i.lastChild.getAttribute('aki'));
		eval(_.xmlhttp.Flush('/system/info2.php?i='+s.join('-')).responseText);
		d.items=items;
		d.className=d.parentNode.firstChild.nextSibling.className;
		if(d.getAttribute('next')){
			d.$=null;
			i=d.className;
			d.className='z69';
			_.$(d);
			d.className=i;
		}
		else _(d);
	}
}
_[140]={	//Image & Album
	$:function(d,i){
		var o=document.body.$;
		o.Menu(o.src.split('/')[1]==o.uf?'<a href=/ class=c3>Home</a> <a href="/tools/info.html?i='+o.i+'" class=c3>Info</a>':'<a href=/ class=c3>Home</a>');
		o.Nav();
		this.$$=_(d);
	}
}
_[141]={	//Stars
	$:function(d){
		var i=d.getAttribute('i');
		this._d=d;
		this._x=d.getAttribute('x');
		switch(i){
		case 'y':
			if(!document.body.$.uf)break;
		case 'a':
			_.xmlhttp.Flush(this._x+'?x=starqr',this,'_F');
			break;
		}
//		_.Attach(d,'onclick',this,'_C');
		this.$$=_(d);
	},
	_d:null,
	_x:'',
	_C:function(d,e){
		var i,x;
		d=e.target;
		switch(x=d.className){
		case 'buzzof':
		case 'buzzon':
		case 'starof':
		case 'staron':
			if(!(i=d.getAttribute('i')))i=document.body.$.i;
			switch(x=_.xmlhttp.Flush(this._x+'?x='+x+'&i='+i).responseText.split(':')[1].split("'")[1]){
			case 'buzzof':
			case 'buzzon':
			case 'starof':
			case 'staron':
				d.className=x;
			}
		}
		return true;
	},
	_F:function(a){
		var c,d,i,k;
		a=eval('({'+a.responseText+'})');
		if(a[0]=='staron'){
			d=this._d.getElementsByTagName('IMG');
			for(c=d.length;c;){
				k=d[--c];
				if(k.className=='starqr'){
					if(!(i=k.getAttribute('i')))i=document.body.$.i;
					k.className=a[i]?a[i]:'starof';
				}
			}
		}
	}
}
_[144]={	//Inputs
	$:function(d){
		d.className='gray';
		d.value=d.getAttribute('c');
		_.Attach(d,'onblur',this,'_B');
		_.Attach(d,'onfocus',this,'_F');
	},
	_B:function(d){
		if(d.className=='c144'&&!d.value){
			d.className='gray';
			d.value=d.getAttribute('c');
		}
	},
	_F:function(d){
		if(d.className=='gray'){
			d.className='c144';
			d.value='';
		}
	}
}
_[145]={	//Comments
	$:function(d){
		var b=document.body.$,o=this._o=d.getAttribute('desc'),t=o?d.firstChild:d.lastChild;
		t=t.firstChild;
		if(t.tagName!='FORM'){
			if(b.uk>9){
				t=t.parentNode;
				t.innerHTML='<form method="post" action="/tools/comment.php?b='+b.f+'&i='+b.i+'&o=desc'+'" class="colp"><textarea name="x" rows="2"></textarea><div><div></div><input type="submit" name="ok" value="Add comment" class="c3 bttn"/></div></form>';
				t=t.firstChild;
			}
			else{
				_(d);
				return;
			}
		}
		if(b.ui<2){
//			t.lastChild.innerHTML+=b.cx?'<input type=checkbox name=k id=k checked><label for=k class=c3>Keep info</label>':
//				'<input type=checkbox name=k id=k><label for=k class=c3>Keep info</label>';
		}
		this._b=d.getAttribute('buddy');
		this._x=_.Trans(d.getAttribute('c'));
		this._A(t);
		if(b.uk>9){
			t=t.lastChild.firstChild;
			t.innerHTML='';
		}
		_(d);
	},
	_b:null,
	_f:null,
	_o:null,
	_x:null,
	_A:function(d){
		this._f=d;
		_.Attach(d,'onsubmit',this,'_E');
		d=d.firstChild;
		d.value=d.innerHTML=this._x;
//		_.Attach(d,'onblur',this,'_B');
		_.Attach(d,'onfocus',this,'_F');
	},
	__B:function(d){
//		if(!d.value){
			d.className='gray';
			d.value=d.innerHTML=d.parentNode.parentNode.parentNode.getAttribute('c');
//		}
	},
	_C:function(d){
		var b=this._b,n=0;
		if(b){
			n=d.childNodes;
			n=d.getAttribute('n')*1+n.length;
			d=d.ownerDocument.getElementById(b);
			b=d.getAttribute('x');
			b=b.split(b.charAt(0));
			b.shift();
			b=b[n]?b[n]:b[2];
			d.innerHTML=b.replace(/\$/,n);
			_(d);
		}
		return n;
	},
	_E:function(d){
		d.className='colp';
		_.xmlhttp.Post(d.action+'&x=',this,'_S');
		return false;
	},
	_F:function(d){
		_.Detach(d,'onfocus');
		d.value=d.innerHTML='';
		d.parentNode.className='expn';
	},
	_P:function(d,e,v){
		var p;
		_.Detach(d,'onstate');
		if(d.firstChild){
			_(d);
			e=d.ownerDocument.createElement('DIV');
			p=d.parentNode;
			if(this._o)p.insertBefore(e,p.firstChild);
			else p.appendChild(e);
			e.setAttribute('n',this._C(d));
			d=e;
		}
		d.appendChild(v);
		this._A(d.firstChild);
	},
	_S:function(a){
		var d=this._f,k=d.parentNode,o=this._o,p=o?k.nextSibling:k.previousSibling;
		if(p)p=o?p.firstChild:p.lastChild;
		if(p)p=p.firstChild;
		if(p)p=p.name;
		p=p?p:1;
		_.Detach(d,'onsubmit');
		_.Detach(d.firstChild,'onfocus');
		_.Attach(k,'onstate',this,'_P',d.cloneNode(true));
		a=eval(a.responseText);
		p=_.Requests(d)+'&strip=y&t='+p;
		_.xmlhttp.Post(d.action+a,k,null,p);
		return false;
	}
}
_[146]={
	$:function(d){
		var a=d.getAttribute('aki'),i=a.split('.'),k,v;
		if(k=d.parentNode.parentNode.items){
			a=' href="info/'+a+'.htm" ';
			i=k[i[1]+'.'+i[2]];
			switch(k=i.c){
			case 0:
				v='<a'+a+'class="c3 comt">Comment</a>';
				break;
			case 1:
				v='<a'+a+'class="c3 comt">1 <span class=c3>Comment<span></a>';
				break;
			default:
				v='<a'+a+'class="c3 comt">'+k+' <span class=c3>Comments<span></a>';
			}
			k=d.lastChild;
			a='<a'+a+'>'+i.v+'</a>';
			i=k.lastChild.lastChild.lastChild;
			i.firstChild.innerHTML=v+'<a href="javascript:void 0;" class="c3 mark">Mark</a><a href="javascript:void 0;" class="c3 bury">Bury</a>';
			v=k.firstChild;
			v.innerHTML=a+'<a class="vote">-</a>';
			v=v.nextSibling;
			_[100].Uttl(v.firstChild);
			_(d);
			d.firstChild.innerHTML='<table width="100%"><tr><td>'+v.innerHTML+'</td><td class="tags">'+i.lastChild.innerHTML+'</td><td class="info">'+a+'</td></tr></table>';
		}
	},
	Edit:function(d){
		var i,x=d.parentNode;
		i=d.ownerDocument.createElement('DIV');
		i.innerHTML='<table><tr><td class="c175" colspan="2"/></tr></table>';
		i=i.lastChild.lastChild.firstChild;
		x.parentNode.insertBefore(i,x);
		_(i);
		x.style.display='none';
		x.parentNode.replaceChild(x.cloneNode(true),x);
		return;
	}
}
_[149]={
	$:function(d){
		var o=document.body.$;
		o.Nav();
		o.Toolbar();
		o.Menu('<a href=/ class=c3>Home</a> <a href="/settings/" class=c3>Settings</a>');
		_(d);
	}
}
_[150]={	//Signin
	$:function(d){
		var o=document.body.$;
		o.Nav();
//		o.Toolbar();
		o.Menu('<a href=/ class=c3>Home</a>');
		o=d.ownerDocument.forms[0];
		o.onok=this._K;
		this.$$=_(d);
	},
	_K:function(d){
		d=document.body.$;
		d.Sign(1);
	}
}
_[151]={	//Signup
	$:function(d){
		var o=document.body.$;
		o.Nav();
		o.Toolbar();
		o.Menu('<a href=/ class=c3>Home</a>');
		this.$$=_(d);
	},
	_Check:function(o){
		var email=o.value.replace(/(^\s*)|(\s*$)/g, "");
		var re=/^[\-!#\$%&'\*\+\\\.\/0-9=\?A-Z\^$`a-z{|}~]+@[\-!#\$%&'\*\+\\\.\/0-9=\?A-Z\^$`a-z{|}~]+(\.[\-!#\$%&'\*\+\\\.\/0-9=\?A-Z\^$`a-z{|}~]+)+$/;
		if(re.test(email)){
			document.getElementById('si').disabled=false
		}
		else{
			document.getElementById('si').disabled=true
		}
	}
}
_[152]={
	$:function(d){
		document.body.$.Sign(1);
	}
}
_[153]={	//Group
	$:function(d){
		_.Reg(this,'X');
		_.Exe('X');
		this.$$=_(d);
	},
	X:function(){
		var b=document.body.$;
		var f=b.f,i=b.i,m;
		b.Cookies();
		m=b.acc[i];
		if(m>29)m='<a href=/ class=c3>Home</a> <a href=/'+f+'/ class=c3>Blog</a> <a href=/tools/members.html?i='+i+' class=c3>Members</a> <a href=/settings/?i='+i+' class=c3>Settings</a> <a href=/tools/edit.html?f='+i+' class=c3>Post</a>';
		else if(m>19)m='<a href=/ class=c3>Home</a> <a href=/'+f+'/ class=c3>Blog</a> <a href=/tools/members.html?i='+i+' class=c3>Members</a> <a href=/tools/quit.html?i='+i+' class=c3>Quit</a> <a href=/tools/edit.html?f='+i+' class=c3>Post</a>';
		else if(m)m='<a href=/ class=c3>Home</a> <a href=/'+f+'/ class=c3>Blog</a> <a href=/tools/members.html?i='+i+' class=c3>Members</a> <a href="/tools/join.html?i='+i+'" class=c3>Join</a>';
		else m='<a href=/ class=c3>Home</a> <a href=/'+f+'/ class=c3>Blog</a> <a href=/tools/members.html?i='+i+' class=c3>Members</a> <a href="/tools/follow.html?i='+i+'" class=c3>Follow</a>';
		b.Menu(m);
		m=b.x;
		b.Nav('<img src=/tools/logo.gif class=img-i><br>Adxon<h2><a href=/'+f+'/sharing.html>'+m+'</a></h2><br><ul class=c111></ul>','group'+i);
		return 1;
	}
}
_[154]={	//Post
	$:function(d){
		var a,f,i,o=document.body.$;
		b=o.b;
		f=o.f;
		i=o.i;
		o.Menu('<a href=/ class=c3>Home</a> <a href=/tools/view.html?i='+i+' class=c3>View</a> <a href=/post/?i='+i+' class=c3>Edit</a> <a href="#Delete()" class=c3>Delete</a> <a href="#Star()" class=c3>Add star</a> <a href="#Share()" class=c3>Share</a> <a href=/tools/info.html?i='+i+' class=c3>Info</a> <a href=/tools/security.html?i='+i+' class=c3>Security</a> <a href=/tools/sharing.html?i='+i+' class=c3>Sharing</a> <a href=/tools/claim.html?i='+i+' class=c3>Claim</a> <a href=/tools/edit.html?f='+f+' class=c3>Post</a>');
		_(d);
		return;

		if(top.document.body.$.i.split('.')[0]>1)this._U(d);
		else this.Edit(d);
	},
	$$:function(d){this._U(d)},
	_:null,
	_a:null,
	_b:null,
	_c:{buzzof:1,buzzon:2,starof:3,staron:4,starqr:5},
	_e:null,
	_i:null,
	_v:null,
	_E:function(d,v){
		var c=d.ownerDocument,f=c.createElement('DIV');
		f.className='bw';
		f.innerHTML=v;
		d.innerHTML='';
		d.appendChild(f);
	},
	_F:function(d,t,a){
		var i,n,v;
		for(i=d.firstChild;i;i=i.nextSibling){
			n=i.nodeName;
			switch(n){
			case '#text':
				a.push(i.nodeValue);
				continue;
			case 'BR':
				a.push('<BR />');
				continue;
			case 'DIV':
			case 'P':
				a.push('<BR />');
				this._F(i,n,a);
				continue;
			case 'SPAN':
				this._F(i,n,a);
				continue;
			case 'A':
			case 'B':
			case 'H1':
			case 'H2':
			case 'H3':
			case 'LI':
			case 'OL':
			case 'UL':
				break;
			case 'INPUT':
				a.push('<INPUT />');
				continue;
			default:
				alert(n);
				continue;
			}
			a.push('<'+n+'>');
			this._F(i,n,a);
			a.push('</'+n+'>');
		}
	},
	_R:function(a){
		_.Msg(a.responseText);
	},
	_S:function(d){
		var a=[];
		this._F(d,'',a);
		a=a.join('');
		_.xmlhttp.Post('/tools/9.php',this,'_R','i='+top.document.body.$.i+'&v='+encodeURIComponent(a));
		return a;
	},
	_T:function(a){
		switch(a=a.responseText.split(',')[0]){
		case 'buzzof':
		case 'buzzon':
		case 'starof':
		case 'staron':
			this._e.className=a;
			break;
		}
		this._a=null;
	},
	_U:function(d){
		return;
		document.body.$.Menu('<a href=/ class=c3>Home</a> <a href="#New()" class=c3>New</a> <a href="#Delete()" class=c3>Delete</a> <a href="#Info()" class=c3>Info</a> <a href="#Edit()" class=c3>Edit</a>');
		d=d.ownerDocument;
		if(d.body.contentEditable)d.body.contentEditable=false;
		else d.designMode='off';
	},
	_X:function(x){
		if(x=this._e){
			x=x.className;
			this._a=_.xmlhttp.Flush('/tools/star.php?i='+this._i+'&x='+x,this,'_T');
		}
	},
	Cancel:function(d){
		this._E(d,this._v);
		this._U(d);
	},
	Delete:function(d){
		_.Msg('Delete',1);
	},
	Edit:function(d){
		var c=d.ownerDocument,v=d.firstChild.innerHTML;
		document.body.$.Menu('<a href=/ class=c3>Home</a> <a href="#New()" class=c3>New</a> <a href="#Delete()" class=c3>Delete</a> <a href="#Cancel()" class=c3>Cancel</a> <a href="#End()" class=c3>End</a> <a href="#Save()" class=c3>Save</a>');
		if(c.body.contentEditable)c.body.contentEditable=true;
		else c.designMode='on';
		this._v=
		d.innerHTML=v;
	},
	End:function(d){
		this._E(d,this._S(d));
		this._U(d);
	},
	Save:function(d){
		d.innerHTML=this._S(d);
	},
	Share:function(d){
		this._X('buzz');
	},
	Star:function(d){
		this._X();
	}
}
_[155]={
	$:function(d){
		var x;
		if(top.main)d.target='main';
		if(_.lang=='en')return;
		if(!(x=d.getAttribute('t')))x=d.innerHTML;
		if(x=$.Trans(x))d.innerHTML=x;
	}
}
_[156]={
	$:function(d){
		_(d);
		_[100].App(d);
		top.Menu('<a href="/tools/export.html" class="c155">Export</a>');
		top.Nav('nav.txt')
	}
}
_[157]={
	$:function(d){
		var o=document.body.$;
		o.Menu('<a href=/ class=c3>Home</a> <a href="'+o.src.split('?')[0]+'" class=c3>New</a> <a href="#Delete()" class=c3>Delete</a>');
		_(d);
	}
}
_[158]={	//Signin iframe
	$:function(d){
		d.firstChild.src='http://id.adxon.com/?re=http%3A%2F%2F'+document.domain+'%2Ftools%2Fsignin.php';
	}
}
_[159]={
	$:function(d){
		var o=document.body.$;
		if(d.style.display=='none'){
			o.Nav(d.innerHTML,'admins');
			o.Goto(o.adm?o.adm:'/admins/items.html');
			return;
		}
		o.Nav('<div class="c168" x="/admins/"></div>','admins');
		o.adm=o.src;
		_(d);
	}
}
_[160]={
	$:function(d){
		this._d=d;
//		_.Attach(d,'onclick',this,'_C',1);
		_(d);
	},
	$$:function(){
		_.Detach(this._d,'onclick');
		this._d=null;
	},
	_a:null,
	_d:null,
	_e:null,
	_C:function(d,e){
		var i;
		e=e.target;
		switch(e.tagName){
		case 'IMG':
			i=this._I(e,1)+'&x='+e.className;
			i=d.getAttribute('star')+'?i='+i;
			i=this._a=_.xmlhttp.Flush(i,this,'_T');
			this._e=e;
			break;
		case 'INPUT':
			i=e.parentNode.parentNode.rowIndex;
			if(e.checked)this.sel=i;
			else this.sel=null;
		}
		return false;
	},
	_I:function(d,i){
		while(d){
			switch(d.tagName){
			case 'TABLE':
			case 'TBODY':
			case 'TFOOT':
			case 'THEAD':
				return null;
			case 'TR':
				return i?d.getAttribute('i'):d;
			}
			d=d.parentNode;
		}
		return null;
	},
	_T:function(a){
		switch(a=a.responseText){
		case 'buzzon':
		case 'starof':
		case 'staron':
			this._e.className=a;
			break;
		}
		this._a=this._e=null;
	},
	sel:null
}
_[161]={	//Settings
	$:function(d){
		var i=d.getAttribute('i'),o=document.body.$;
		o.Toolbar();
		if(d.style.display=='none'){
			o.Menu(o.Nav(d.innerHTML,'settings'+i)?'<a href=/ class=c3>Home</a>':
				'<a href=/ class=c3>Home</a> <a href="/settings/" class=c3>Settings</a>');
			if(o.sti!=i){
				o.sti=i;
				o.stx=null;
			}
			i=i?'?i='+i:'';
			o.Goto(o.stx?o.stx:'/settings/basic.html'+i);
			return;
		}
		o.Menu(o.Nav('<div class="c168" x="/settings/?i='+i+'"></div>','settings'+i)?'<a href=/ class=c3>Home</a>':
			'<a href=/ class=c3>Home</a> <a href="/settings/" class=c3>Settings</a>');
		o.stx=o.src;
		_(d);
	}
}
_[162]={	//Language
	$:function(d){
		document.body.$.Sign(d.getAttribute('re'));
		_(d);
	}
}
_[163]={
	$:function(d){
		var o=document.body.$;
		o.Nav('<table class="c164"><tr class="head"><td><tr height="100%"><td><textarea id="i164"></textarea><tr class="foot"><th id="copy">© adxon.com</th></tr></table>','spider'+document.forms[0].g.value);
		o.Toolbar();
		_(d);
	}
}
_[164]={
	$:function(d){
		var o=d.ownerDocument.getElementById('i164'),s,t;
		if(d.firstChild.className)o.innerHTML=d.innerHTML;
		else{
			s=d.firstChild;
			t=o.firstChild.nextSibling.firstChild;
			while(s){
				t.innerHTML=s.innerHTML;
				s=s.nextSibling;
				t=t.nextSibling;
			}
		}
		_.Attach(o,'onclick',this,'_C');
		_(o);
	},
	_C:function(d,e){
		var f,i,x=e.target;
		if(x.tagName=='A'){
			i=x.innerHTML.split(':')[0];
			f=d.ownerDocument.forms[0];
			f.kw.value=i;
			i=_.xmlhttp.Post('/admins/housing_zh_cn_bot.php?i='+encodeURIComponent(i)).responseText;
			eval('i="'+i+'"');
			i=i.split(',');
			f.vs.value=i.shift();
			for(x in i)i[i[x]]=1;
			f=f.elements;
			for(x=f.length;x;){
				k=f[--x];
				if(k.name=='fs[]')k.checked=i[k.value];
			}
		}
		return false;
	}
}
_[165]={	//StdList
	$:function(d){
		var b=document.body.$;
		x=(x=d.getAttribute('new'))?' <a href='+x.replace(/%u/,b.ui)+' class=c3>New</a>':'';
		b.Menu('<a href=/ class=c3>Home</a> <a href=/'+b.uf+'/tools.html class=c3>Tools</a>'+x+' <a href=#Delete() class=c3>Delete</a> <a href=#Update() class=c3>Update</a>');
//		o.Toolbar();
		_(d);
	},
	_s:function(d){
		var c=d.firstChild.firstChild,i=c.$.sel,s;
		if(i){
			s=c.rows[i].getElementsByTagName('A');
			if(s[1])document.body.$.Goto(s[1].href.replace(/estates.html\?b=/,'spider.html?i=')+'&g='+encodeURIComponent(s[0].href));
		}
	},
	Delete:function(d){
	},
	Update:function(d){
	}
}
_[166]={
	$:function(d){
		document.body.$.Menu('<a href=/ class=c3>Home</a> <a href="#New()" class=c3>New</a> <a href="#Delete()" class=c3>Delete</a> <a href="#Refresh()" class=c3>Refresh</a>');
		_(d);
	}
}
_[167]={
	$:function(d){
		document.body.$.Menu('<a href=/ class=c3>Home</a> <a href="/admins/spider.html" class=c3>New</a> <a href="#Delete()" class=c3>Delete</a> <a href="#Refresh()" class=c3>Refresh</a>');
		_(d);
	}
}
_[167]={
	$:function(d){
		document.body.$.Menu('<a href=/ class=c3>Home</a> <a href="/admins/spider.html" class=c3>New</a> <a href="#Delete()" class=c3>Delete</a> <a href="#Refresh()" class=c3>Refresh</a>');
		_(d);
	}
}
_[168]={
	$:function(d){
		this._d=d;
		_.xmlhttp.Get(d.getAttribute('x'),this,'_P');
	},
	_P:function(a){
		var d=this._d;x=a.responseText;
		this._d=null;
		if(x=x.match(/style=\"display:none\">([\s\S]*)<\/div><\/body>/)){
			d=d.parentNode;
			d.innerHTML=x[1];
			this.$$=_(d);
		}
	}
}
_[169]={
	$:function(d){
		var a,b=d.ownerDocument.body,g,k,n=[],r,s=d.innerHTML,t,v,x;
		a=b.getAttribute('target');
		a=a?' target='+a:'';
		r=b.getAttribute('pre');
		if(!r)r='';
		t=b.getAttribute('post');
		if(!t)t='';
		x=d.getAttribute('xtra');
		if(!x)x='';
		v=d.getAttribute('value');
		if(v)d.innerHTML='<a href="'+r+x+v+t+'"'+a+'>'+s+'</a>';
		else{
			s=s.split(' ')
			for(k in s){
				g=s[k];
				n[k]='<a href="'+r+x+g+t+'"'+a+'>'+g+'</a>';
			}
			d.innerHTML=n.join(' ');
		}
	}
}
_[170]={	//tags
	$:function(d){
		var b=document.body.$,f=b.f,e,g,k=b.k,m,n=[],s,x=b._x;
		for(e=d.firstChild;e;e=e.nextSibling){
			if(e.tagName=='A'){
				g=e.innerHTML;
				n.push('<a href=/'+f+'/'+g+'.htm>'+g+'</a>');
			}
			else{
				if(e.nodeValue!=' '){
					s=e.nodeValue.split(' ');
					for(m in s){
						g=s[m];
						if(g)n.push('<a href=/'+f+'/'+k+'.'+encodeURIComponent(g)+'.htm>'+g+'</a>');
					}
				}
			}
		}
		d.innerHTML=n.join(' ');
	}
}
_[171]={
	$:function(d,i){
		if(d.getAttribute('walk')=='y')_(d);
		var doc=d.ownerDocument;
		var old=doc.getElementById('old');
		var new1=doc.getElementById('new1');
		var new2=doc.getElementById('new2');
		old.onblur=this.check2;
		new1.onfocus=this.check1;
		new1.onblur=this.check2;
		new2.onfocus=this.check3;
		new2.onblur=this.check4;
		d.onsubmit=this.check;
	},
	check:function(){
		var doc=this.ownerDocument;
		var old=doc.getElementById('old');
		var new1=doc.getElementById('new1');
		var new2=doc.getElementById('new2');
		var e1=doc.getElementById('e1');
		var e2=doc.getElementById('e2');
		var e3=doc.getElementById('e3');

		if(!old.value){
			e1.innerHTML="Please enter your old password.";
			e1.$=null;
			_.$(e1);
			return false;
		}
		if(!new1.value){
			e2.innerHTML="Please enter your new password.";
			e2.$=null;
			_.$(e2);
			return false;
		}
		if(new1.value.toLowerCase()!=new2.value.toLowerCase()){
			e3.innerHTML="You must enter the same password twice in order to confirm it.";
			e3.$=null;
			_.$(e3);
			return false;
		}
		else{
			e3.innerHTML='&nbsp;';
		}
		if(!e1.innerHTML && !e2.innerHTML && !e3.innerHTML){
			return true;
		}
		return false
	},
	check1:function(){
		var doc=this.ownerDocument;
		var old=doc.getElementById('old');
		var e1=doc.getElementById('e1');
		if(!old.value){
			e1.innerHTML="Please enter your old password.";
			e1.$=null;
			_.$(e1);
		}
	},
	check2:function(){//password length
		var doc=this.ownerDocument;
		var e=this.nextSibling;
		if(this.value){
			if(this.value.length<6 || this.value.length>16){
				e.innerHTML="Please enter your password between 6 and 16 characters.";
				e.$=null;
				_.$(e);
			}
			else{
				e.innerHTML="&nbsp;";
			}
		}
	},
	check3:function(){
		var doc=this.ownerDocument;
		var new1=doc.getElementById('new1');
		var e2=doc.getElementById('e2');
		if(!new1.value){
			e2.innerHTML="Please enter your new password.";
			e2.$=null;
			_.$(e2);
		}
	},
	check4:function(){
		var doc=this.ownerDocument;
		var new1=doc.getElementById('new1');
		var new2=doc.getElementById('new2');
		var e3=doc.getElementById('e3');
		if(new1.value.toLowerCase()!=new2.value.toLowerCase()){
			e3.innerHTML="You must enter the same password twice in order to confirm it.";
			e3.$=null;
			_.$(e3);
		}
		else{
			e3.innerHTML="&nbsp;";
		}
	}
}
_[172]={
	$:function(d,i){
		if(d.getAttribute('walk')=='y')_(d);
		d=d.ownerDocument;
		d.getElementById('sb').onclick=this.check;
		d.getElementById('zsh').onclick=this.check2;
	},
	check:function(d){
		var doc=this.ownerDocument;
		var gid=doc.getElementById('gid');
		var er=doc.getElementById('er');
		if(gid.value.length<6){
			er.innerHTML="6";
			_.$(er);
			er.$=null;
			return;
		}
		var re=/^[0-9A-Za-z_.-]+$/;
		if(!re.test(gid.value)){
			er.innerHTML="...";
			_.$(er);
			er.$=null;
			return;
		}
		this.disabled=true;
		var str='gid='+gid.value+'&eml1='+doc.getElementById('eml1').value+'&eml2='+doc.getElementById('eml2').value+'&eml3='+doc.getElementById('eml3').value
		i=_.xmlhttp.Post('system/account.php',null,str);
		if(i=i.responseText){
			this.disabled=false;
			if(i=='This guid has been used.'){
				er.innerHTML=i;
				_.$(er);
				er.$=null;
			}
		}
		else{
			cont.location='settings';
		}
	},
	check2:function(){
		this.disabled=true;
		var doc=this.ownerDocument;
		var psw=doc.getElementById('psw');
		var er=doc.getElementById('er2');
		i=_.xmlhttp.Post('system/account.php',null,'suicide=1&psw='+psw.value);
		if(i=i.responseText){
			this.disabled=false;
			if(i=='Password is not correct.'){
				er.innerHTML=i;
				_.$(er);
				er.$=null;
			}
			else if(i=='ok'){
				window.location='http:<?=BS?>';
			}
		}
	}
}
_[173]={
	$:function(d){
	}
}
_[174]={
	$:function(d){
		var x=d.innerHTML;
		x=x.replace(/\stid=\"/,' id="');
		document.body.$.Toolbar(x);
	}
}
_[175]={
	$:function(d){
		var t=[],x=d.parentNode.nextSibling.lastChild.lastChild.childNodes,z=x[1].firstChild;
		t.push('<form class="z20" action="new/mark.html" method="post"><input type="hidden" name="old" value="');
		t.push(z.href);
		t.push('"/><table class="iedt"><tr><th class=c3>URL</th><td><input type="text" name="url" value="');
		t.push(z.href);
		t.push('"/></td></tr><tr><th class=c3>Title</th><td><input type="text" name="title" value="');
		if(!z.firstChild.tagName)t.push(z.innerHTML);
		t.push('"/></td></tr><tr><th class=c3>Description</th><td><textarea name="desc" rows="3">');
		t.push(x[3].innerHTML);
		t.push('</textarea></td></tr><tr><th class=c3>Tags</th><td><input type="text" name="tags" value="');
		z=[];
		for(x=x[4].lastChild.lastChild.lastChild.firstChild;x;x=x.nextSibling)z.push(x.innerHTML);
		t.push(z.join(' '));
		t.push('"/></td></tr><tr><th /><td><input type="submit" class="c3 bttn" name="ok" value="Ok"/><button class=c3 name="canl">Cancel</button><input type="radio" class="c3 rat" id="p0" name="rate" value="0"/><label for="p0" class="c3 rat">Public</label><input type="radio" class="c3 rat" id="p10" name="rate" value="10"/><label for="p10" class="c3 rat">Private</label></td></tr></table></form>');
		d.innerHTML=t.join('');
		d.firstChild.proc=this._P;
		_(d);
	},
	_P:function(a){
		var d=a.parentNode,n=d.parentNode.nextSibling.lastChild,x=n.lastChild.childNodes,z=x[1].firstChild;
		z.href=a.url.value;
		z.innerHTML=a.title.value;
		x[3].innerHTML=a.desc.value;
		z=x[4].lastChild.lastChild.lastChild;
		z.innerHTML=a.tags.value
		z.$=null;
		_.$(z);
		d.$.Reset(d);
		return;
	},
	Reset:function(d){
		d=d.parentNode;
		var x=d.nextSibling;
		x.style.display='';
		x.parentNode.removeChild(d);
	}
}
_[176]={	//Icon
	$:function(d){
		var o=document.body.$;
		o.Toolbar();
		o.Menu(o.Nav('<div class="c168" x="/settings/?i='+i+'"></div>','settings'+i)?'<a href=/ class=c3>Home</a>':
			'<a href=/ class=c3>Home</a> <a href="/settings/" class=c3>Settings</a>');
		this.$$=_(d);
	}
}
_[177]={	//Inbox
	$:function(d){
		var o=document.body.$;
		o.Toolbar();
//		o.Nav('<div class="c168" x="/settings/?i='+i+'"></div>','settings'+i);
		o.Menu('<a href=/ class=c3>Home</a> <a href=/mail/compose.html class=c3>Compose</a>');
		this.$$=_(d);
	}
}
_[178]={	//Services
	$:function(d){
		var o=document.body.$;
		o.Toolbar();
		o.Menu('<a href=/ class=c3>Home</a> <a href="/settings/" class=c3>Settings</a> <a href="/tools/" class=c3>Tools</a>');
		this.$$=_(d);
	}
}
_[179]={	//Image rate
	$:function(d){
		_.Attach(d,'onclick',this,'_C');
		_(d);
	},
	_C:function(d,e){
		e=(e=d.getAttribute('r'))>9?9:30;
		if(_.xmlhttp.Flush('/tools/rate.php?i='+d.ownerDocument.body.$.i+'&r='+e).responseText=='ok'){
			d.setAttribute('r',e);
			d.innerHTML=e>9?'<label class=c3>Only you can see this photo</label><img src="/tools/dot.gif" class="lock">':
				'<label class=c3>Anyone can see this photo</label><img src="/tools/dot.gif" class="unlock">';
			_(d);
		}
	}
}
_[180]={	//rentals
	$:function(d){
		var b,c=d.ownerDocument,e,f=[121.40273451805,31.211048860302,170],g;
		this._d=d;
		b=c.forms[0];
		_.Attach(b,'onsubmit',this,'_G');
		_.Attach(d,'onclick',this,'_H',1);
		_.Attach(d,'onmouseover',this,'_I');
		_.Attach(d,'onmouseout',this,'_J');
		b=top.document.getElementById('map');
		e=top.document.body.$;
		e.Cookies();
		if(g=e.parms.est){
			g=g.split('_');
			if(g[2])f[2]=g[2];
			if(g[1])f[1]=g[1];
			if(g[0])f[0]=g[0];
		}
		e=e.src.split('#');
		if(e[1]){
			e=e[1].split('_');
			if(g=e[0])f[0]=g;
			if(g=e[1])f[1]=g;
			if(g=e[2])f[2]=g;
		}
		e=b.$;
		e.Attach(b,'mapchanged',this,'_A');
		e.Attach(b,'mapclick',this,'_B');
		e.Attach(b,'infoclosed',this,'_C');
		e.Center(b,f[0]+' '+f[1],f[2]);
		b=c.defaultView?c.defaultView:c.body;
		c=this;
		b.onscroll=function(){c._S()}
	},
	$$:function(){
		var c=this._d.ownerDocument;
		c=c.defaultView?c.defaultView:c.body;
		c.onscroll=null;
		this._d=null;
		_.$$(this._);
	},
	_:null,
	_A:function(a){
		if(a.info().isHidden()){
			var d,f=this._d.ownerDocument,s=[];
			f.body.scrollTop=0;
			f=f.forms[0];
			d=a.bounds();
			d=d.replace(/\s|,/g,'_');
			f.m.value=d+'_'+a.zoom();
			this._G(f,'');
		}
	},
	_B:function(a,e){
		var c,d;
		if(e&&(c=e._)&&c.y=='mark'){
			c=c.i;
			d=this._d.firstChild.rows[c];
			this._N(d);
			this._h=c;
		}
	},
	_C:function(a){
		if(this._h){
			this._d.firstChild.rows[this._h].className='';
			this._h=0;
		}
	},
	_d:null,
	_G:function(f,t){
		if(typeof(t)=='object')t='';
		this._x=_.xmlhttp.Post('/tools/box2.php',this,t?'_Q':'_P',_.Requests(f)+t);
	},
	_h:0,
	_H:function(d,e){
		var c,i;
		d=e.target;
		while(d){
			switch(d.tagName){
			case 'A':
			case 'IMG':
				return true;
			case 'TR':
				c=d.parentNode;
				if(c.tagName=='TBODY'){
					if(i=this._h)c.parentNode.rows[i].className='';
					c=d.rowIndex;
					if(i!=c){
						this._N(d);
						this._h=c;
					}
					else{
						d.className='hilt';
						this._h=0;
						this._N();
					}
				}
				break;
			}
			d=d.parentNode;
		}
		return true;
	},
	_I:function(d,e){
		d=e.target;
		while(d){
			switch(d.tagName){
			case 'A':
			case 'IMG':
				return;
			case 'TR':
				if(d.parentNode.tagName=='TBODY'&&d.className!='sel')d.className='hilt';
				return;
			}
			d=d.parentNode;
		}
	},
	_J:function(d,e){
		d=e.target;
		while(d){
			if(d.tagName=='TR'){
				if(d.parentNode.tagName=='TBODY'&&d.className!='sel')d.className='';
				return;
			}
			d=d.parentNode;
		}
	},
	_K:function(a){
		_.Msg(a.responseText,1);
	},
	_N:function(d){
		var c,m=top.document.getElementById('map');
		if(d){
			d.className='sel';
			c=d.cells[0].firstChild.nextSibling;
			m.$.Info(m,d.getAttribute('o'),'<h2><a href='+c.href+' target=_blank>'+c.innerHTML+'</a></h2>');
			_.xmlhttp.Flush('/tools/esmark.php?i='+encodeURIComponent(c.href),this,'_K');
		}
		else m.$.Info(m);
	},
	_P:function(a){
		var d=this._d;
		a=this._U(a,d);
		d.innerHTML='<table class="list bw"><colgroup><col><col class=we05><col class=we15><col style=width:16px><col class=wdat><thead><tr><td><th>Beds<th>Price<th><th>Date'+a.join('')+'<tfoot><tr class=foot><td id=about colspan=5><a href=/>About</a> <a href=/>Privacy</a> <a href=/>Terms</a> <a href=/>Blog</a> <a href=/>Contact</a></div></table>';
		this._h=0;
		this._V(d);
		this._T();
		this._=_(d);
	},
	_Q:function(a){
		var c,d;
		d=this._d;
		c=d.ownerDocument.createElement('div');
		a=this._U(a);
		c.innerHTML='<table>'+a.join('')+'</table>';
		this._V(c);
		c=c.firstChild.firstChild;
		d=d.firstChild;
		d.insertBefore(c,d.tFoot)
		this._=_(d);
	},
	_S:function(){
		var d=this._d.firstChild,e,m=d.ownerDocument,s,t,u,v,x=m.forms[0];
		m=m.body;
		s=m.scrollTop;
		e=d.lastChild.previousSibling;
		if((t=e.getAttribute('o'))&&(e.offsetTop-s<screen.height)){
			e.setAttribute('o','');
			e.setAttribute('p',t);
			this._G(x,'&t='+t);
		}
		d=this;
		if(m=this._t)clearTimeout(m);
		this._t=setTimeout(function(){d._T()},333);
	},
	_t:null,
	_T:function(){
		var d=this._d.firstChild,e=d.rows,m=d.ownerDocument,o,s,u,v,x;
		this._t=null;
		x=m.forms[0];
		m=m.body;
		s=m.scrollTop;
		o=top.innerHeight;
		if(!o)o=m.clientHeight;

		m=x.offsetTop;
		while(x=x.offsetParent)m+=x.offsetTop;
		o-=m;
		m=d.offsetTop;
		while(d=d.offsetParent)m+=d.offsetTop;
		d=e.length-2;
		x=e[2];
		u=x.offsetTop;
		while((x=x.offsetParent)&&x.tagName!='TABLE')u+=x.offsetTop;
		x=e[d];
		v=x.offsetTop;
		while((x=x.offsetParent)&&x.tagName!='TABLE')v+=x.offsetTop;
		v=(v-u)/(d-2);
		u=Math.floor((s-u-m)/v)+1;
		o=Math.floor(o/v)+1+u;
		if(u<1)u=1;
		if(o>d)o=d;
		m=top.document.getElementById('map');
		m.$.Mark(m,e,u,o+1);
	},
	_U:function(a,d){
		var b,e,g,i,k,m=[],o=0,p,s=[];
		eval('a='+a.responseText);
		e=a.pop();
		for(i in a){
			k=a[i];
			k=k.split('<');
			g=m[k]?'on':'off';
			if((b=k[1])==0)b='';
			if((p=k[4])==0)p='';
			o=k[5];
			s.push('<tr o="'+k[0]+'"><td><img src=/tools/dot.gif class=star'+g+'><a href='+k[9]+'>'+k[10]+'</a><span> - '+k[6]+'</span><th>'+b+'<th>'+p+'<td><img src=/tools/dot.gif class=pr'+k[7]+'><th class=c2 t='+o+'>');
		}
		e=e.split('<');
		if(e[0])o='';
		s.unshift('<tbody o='+o+'>');
		if(e[1])top.document.body.$.Goto('#'+e[1]+'_'+e[2]+'_'+e[3]);
		if(d){
			if(e[5]){
				d.ownerDocument.forms[0].c.value=e[5]+'_'+e[6]+'_'+e[7]+'_'+e[8]+'_'+e[9];
				o=top.document.getElementById('locs');
				m=[];
				for(i=10;k=e[i++];){
					k=k.split('_');
					m.push('<a href=#Loc('+k[1]+','+k[2]+','+k[3]+')>'+k[0]+'</a>');
				}
				o.innerHTML=m.join(', <wbr>');
			}
		}
		return s;
	},
	_V:function(d){
		var a=d.firstChild.rows,i,g,k;
		if(a[0].o)return;
		for(i=a.length;i>0;){
			k=a[--i];
			k.o=(g=k.getAttribute('o'))?g:' ';
		}
	},
	_x:null
}
_[181]={	//rentals
	$:function(d){
		var b,c=d.ownerDocument,e,f=[121.40273451805,31.211048860302,170],g;
		this._d=d;
		_.Attach(d.nextSibling,'onclick',this,'_G');
		_.Attach(d,'onclick',this,'_H',1);
		_.Attach(d,'onmouseover',this,'_I');
		_.Attach(d,'onmouseout',this,'_J');
		b=c.forms[0];
		_.Attach(b,'onsubmit',this,'_F');
		b=top.document.getElementById('map');
		e=top.document.body.$;
		e.Cookies();
		if(g=e.parms.est){
			g=g.split('_');
			if(g[2])f[2]=g[2];
			if(g[1])f[1]=g[1];
			if(g[0])f[0]=g[0];
		}
		e=e.src.split('#');
		if(e[1]){
			e=e[1].split('_');
			if(g=e[0])f[0]=g;
			if(g=e[1])f[1]=g;
			if(g=e[2])f[2]=g;
		}
		e=b.$;
		e.Attach(b,'mapchanged',this,'_A');
		e.Attach(b,'mapclick',this,'_B');
		e.Attach(b,'infoclosed',this,'_C');
		e.Center(b,f[0]+' '+f[1],f[2]);
	},
	_d:null,
	_h:0,
	_t:null,
	_x:null,
	_A:function(a){
		if(a.info().isHidden()){
			var d,f=this._d.ownerDocument,s=[];
			f.body.scrollTop=0;
			f=f.forms[0];
			d=a.bounds();
			d=d.replace(/\s|,/g,'_');
			f.m.value=d+'_'+a.zoom();
			f.o.value=0;
			this._x=_.xmlhttp.Post('/tools/box3.php',this,'_P',_.Requests(f));
		}
	},
	_B:function(a,e){
		var c,d;
		if(e&&(c=e._)&&c.y=='mark'){
			c=c.i;
			d=this._d.firstChild.rows[c];
			this._N(d);
			this._h=c;
		}
	},
	_C:function(a){
		if(this._h){
			this._d.firstChild.rows[this._h].className='';
			this._h=0;
		}
	},
	_F:function(d,e){
		d.o.value=0;
		this._x=_.xmlhttp.Post('/tools/box3.php',this,'_P',_.Requests(d));
	},
	_G:function(d,e){
		e=e.target;
		if(e.tagName=='IMG')this._O(d.previousSibling,e);
	},
	_H:function(d,e){
		var c,i;
		e=e.target;
		while(e){
			switch(e.tagName){
			case 'A':
				return true;
			case 'IMG':
				this._O(d,e);
				return false;
			case 'TR':
				c=e.parentNode;
				if(c.tagName=='TBODY'){
					if(i=this._h)c.parentNode.rows[i].className='';
					c=e.rowIndex;
					if(i!=c){
						this._N(e);
						this._h=c;
					}
					else{
						e.className='hilt';
						this._h=0;
						this._N();
					}
				}
				break;
			}
			e=e.parentNode;
		}
		return true;
	},
	_I:function(d,e){
		d=e.target;
		while(d){
			switch(d.tagName){
			case 'A':
			case 'IMG':
				return;
			case 'TR':
				if(d.parentNode.tagName=='TBODY'&&d.className!='sel')d.className='hilt';
				return;
			}
			d=d.parentNode;
		}
	},
	_J:function(d,e){
		d=e.target;
		while(d){
			if(d.tagName=='TR'){
				if(d.parentNode.tagName=='TBODY'&&d.className!='sel')d.className='';
				return;
			}
			d=d.parentNode;
		}
	},
	_K:function(a){
		_.Msg(a.responseText,1);
	},
	_N:function(d){
		var c,m=top.document.getElementById('map');
		if(d){
			d.className='sel';
			c=d.cells[0].firstChild.nextSibling.nextSibling;
			m.$.Info(m,d.getAttribute('o'),'<h2><a href='+c.href+' target=_blank>'+c.innerHTML+'</a></h2>');
//			_.xmlhttp.Flush('/tools/esmark.php?i='+encodeURIComponent(c.href),this,'_K');
		}
		else m.$.Info(m);
	},
	_O:function(d,e){
		var f=d.ownerDocument.forms[0],p=e.parentNode.className,v=f.o.value*1;
		switch(e.className){
		case 'pag0':
			f.o.value=0;
			break;
		case 'pag1':
			if(p!='phome')f.o.value=v-20;
			break;
		case 'pag2':
			if(p!='plast')f.o.value=20+v;
			break;
		}
		this._x=_.xmlhttp.Post('/tools/box3.php',this,'_P',_.Requests(f));
	},
	_P:function(a){
		var b,d=this._d,e,i,k,m=[],o,p,r,s=[];
		a=eval(a.responseText);
		e=a.pop();
		for(i=0;i<20;){
			if(!(k=a[i++]))break;
			k=k.split('<');
			r=k[8].split('/')[2].split('.');
			o=r.length;
			r=r[o-2]+'.'+r[o-1];
			if((b=k[1])==0)b='';
			if((p=k[4])==0)p='';
			o=k[5];
			s.push('<tr o="'+k[0]+'"><td><img src=/tools/dot.gif class=star'+(m[k]?'on':'of')+'> <a href='+k[8]+'>'+k[9]+'</a><span> - '+r+'</span><th>'+b+'<th>'+p+'<td><img src=/tools/dot.gif class=pr'+k[6]+'><th class=c2 t='+o+'>');
		}
		o=d.ownerDocument.forms[0];
		p=a[i];
		p=o.o.value=='0'?(p?'phome':'ponly'):(p?'pnext':'plast');
		e=e.split('<');
		if(e[1])top.document.body.$.Goto('#'+e[1]+'_'+e[2]+'_'+e[3]);
		if(d){
			if(e[5]){
				o.c.value=e[5]+'_'+e[6]+'_'+e[7]+'_'+e[8]+'_'+e[9];
				o=top.document.getElementById('locs');
				m=[];
				for(i=10;k=e[i++];){
					k=k.split('_');
					m.push('<a href=#Loc('+k[1]+','+k[2]+','+k[3]+')>'+k[0]+'</a>');
				}
				o.innerHTML=m.join(', <wbr>')+'<br><br>';
			}
		}
		d.innerHTML='<table width=420 class=list><thead><tr><td class='+p+'><img src=/tools/dot.gif class=pag0> <img src=/tools/dot.gif class=pag1> <img src=/tools/dot.gif class=pag2><th class=we05>Beds<th class=we12>Price<th style=width:16px><th class=wdat>Date<tbody>'+s.join('')+'</table>';
		d.nextSibling.innerHTML='<div class='+p+'><img src=/tools/dot.gif class=pag0> <img src=/tools/dot.gif class=pag1> <img src=/tools/dot.gif class=pag2></div>';
		this._h=0;
		this._V(d);
		e=d.firstChild.rows;
		m=top.document.getElementById('map');
		m.$.Mark(m,e,0,e.length);
		_(d);
	},
	_V:function(d){
		var a=d.firstChild.rows,i,g,k;
		if(a[0].o)return;
		for(i=a.length;i>0;){
			k=a[--i];
			k.o=(g=k.getAttribute('o'))?g:' ';
		}
	}
}
_[182]={
	$:function(d){
		var b=document.body.$;
		b.Menu('<a href=/ class=c3>Home</a> <a href=/tools/rentals.html class=c3>Rentals</a> <a href=/tools/esmarks.html class=c3>History and marks</a>');
		b.Nav('<table><tr class=hh><td class=sp rowspan=4><td><td width=40><tr><td><input><div id=locs>&nbsp;</div><tr height=100%><td><div id=map class=c68></div></td></tr><tr class="foot"><td>©adxon.com</td></tr></table>','estate','nw0');
		this.$$=_(d);
	},
	Loc:function(d,x){
		x=x.split(',');
		d=top.document.getElementById('map');
		d.$.Center(d,x[0]+' '+x[1],x[2]);
	}
}
_[183]={
	$:function(d){
		this.$$=_(d);
	}
}
_[184]={	//Members
	$:function(d){
		this._d=d;
		var b=document.body.$;
		_.Reg(this,'Demote');
		_.Reg(this,'Promote');
		b.Menu('<a href=/ class=c3>Home</a> <a href=/tools/invite.html?i='+b.i+' class=c3>Invite</a> <a href=#Promote() class=c3>Promote</a> <a href=#Demote() class=c3>Demote</a> <a href=#Kick() class=c3>Kick</a> <a href=#Ban() class=c3>Ban</a>');
		this.$$=_(d);
	},
	_d:null,
	_F:function(x){
		var f=this._d.ownerDocument.forms[0];
		f.ok.value=x;
		f.submit(f);
	},
	Ban:function(){
		this._F('ban');
	},
	Demote:function(){
		this._F('demote');
	},
	Kick:function(){
		this._F('kick');
	},
	Promote:function(){
		this._F('promote');
	}
}
_[185]={	//Items
	$:function(d){
		var b=document.body.$;
		b.Exec=this._X;
		b.Exec();
		this.$$=_(d);
	},
	_X:function(){
		var f=this.f,i=this.i,m;
		this.Cookies();
		m=this.acc[i];
		if(m>29)m='<a href=/ class=c3>Home</a> <a href=/'+f+'/sharing.html class=c3>Group</a> <a href=/tools/members.html?i='+i+' class=c3>Members</a> <a href=/settings/?i='+i+' class=c3>Settings</a> <a href=/tools/edit.html?f='+i+' class=c3>Post</a>';
		else if(m>19)m='<a href=/ class=c3>Home</a> <a href=/'+f+'/sharing.html class=c3>Group</a> <a href=/tools/members.html?i='+i+' class=c3>Members</a> <a href=/tools/quit.html?i='+i+' class=c3>Quit</a> <a href=/tools/edit.html?f='+i+' class=c3>Post</a>';
		else if(m)m='<a href=/ class=c3>Home</a> <a href=/'+f+'/sharing.html class=c3>Group</a> <a href=/tools/members.html?i='+i+' class=c3>Members</a> <a href="/tools/join.html?i='+i+'" class=c3>Join</a>';
		else m='<a href=/ class=c3>Home</a> <a href=/'+f+'/sharing.html class=c3>Group</a> <a href=/tools/members.html?i='+i+' class=c3>Members</a> <a href="/tools/follow.html?i='+i+'" class=c3>Follow</a>';
		this.Menu(m);
		m=this.x;
		this.Nav('<img src=/tools/logo.gif class=img-i><br>Adxon<h2><a href=/'+f+'/sharing.html>'+m+'</a></h2><br><ul class=c111></ul>','group'+i);
	}
}
_[186]={	//Post
	$:function(d){
		var b=document.body.$;
		b.Menu('<a href=/ class=c3>Home</a> <a href=/'+b.uf+'/tools.html class=c3>Tools</a>');
		this.$$=_(d);
	}
}
_[187]={	//Site
	$:function(d){
	}
}
_[219]={
	$:function(d){
	}
}
_[999]={
	$:function(d,i){
		_(d);
		alert(i);
	}
}