function State() {
	this.curr = new Array();
	this.end = new Array();
	this.total = new Array();
	this.ent_num = new Array();
	this.width = 0;
	this.total['pu']=0; this.curr['pu']=1; this.end['pu']=0;
	this.total['ph']=0; this.curr['ph']=1; this.end['ph']=0;
	this.total['gr']=0; this.curr['gr']=1; this.end['gr']=0;
	this.total['blo']=0; this.curr['blo']=1; this.end['blo']=0;
	this.total['co']=0; this.curr['co']=1; this.end['co']=0;
	this.total['fr']=0; this.curr['fr']=1; this.end['fr']=0;
	this.ent_num["fr"] = 0;	this.ent_num["pu"]=0; this.ent_num["gr"]=0; 
	this.ent_num["ph"]=0; this.ent_num["blo"]=4; this.ent_num["co"]=9;
	this.map = new Array();
	this.map["fr"]="Users";	this.map["pu"]="Pubs"; this.map["gr"]="Groups"; this.map["ph"]="Photos";
	this.map["co"]="Comments";	this.map["blo"]="Blog";
	this.map2 = new Array();
	this.map2["fr"]="users";	this.map2["pu"]="pubs"; this.map2["gr"]="groups"; this.map2["ph"]="photos";
	this.map2["co"]="comments";	this.map2["blo"]="blog";
	this.uid=0;
	this.net="";
}
var state=new State();
