/* ==============================Tabs Controller==============================This Javascript cucumber was pickled by:>> Robin Wallar at See Design>> www.seedesign.ca | robin [at] seedesign.ca------------------------------Written with massive mits on while scraping ice of the screenof my icicle that serves as a monitor. ------------------------------------------------------------Feel free to use this to educateyourself on the wonders of javascript.If you plan on copying something directly please contact us. ------------------------------*/var tsel = new Array();/*these are the id's of parents tabs*/tsel['tabs1']  = "t1";tsel['tabs2']  = "t2t1";function tabs(url, lid, tid_node){	tid = tid_node.getAttribute('id');		pid = gebi(tid).parentNode.getAttribute('id'); /*get the id name of this tab set*/		if(this.tsel[pid]!=tid)	{		gebi(tid).className = "selected";				if(this.tsel[pid] != "")		{			gebi(this.tsel[pid]).className = "";		}	}				ajax(url, lid);		this.tsel[pid] = tid;}