<!--

function L0catJump(t) {
	
		orig_url = self.location.href;
		
		if(seo_urls==true) {
			
			/*
			SEO Format URLs: "robotgirl.com/content/ctype|cat1|cat2/id"
			
			@url_parts: 
				url_parts[3] (content)
				url_parts[4] (ctype|cat1|cat2)
				url_parts[5] (id)
			*/
			url_parts = orig_url.split("/");
			url_base = "http://"+url_parts[2]+"/"+url_parts[3];
		
			/*
			@arg_parts: 
				arg_parts[0] (ctype)
				arg_parts[1] (cat1)
				arg_parts[2] (cat2)
			*/
			arg_parts = url_parts[4].split("|");
		
			if(t=="")
			{
				final_url = url_base+"/"+arg_parts[0];
				final_url += arg_parts[2]!=null ? "||"+arg_parts[2] : "";
				self.location = final_url;
			
			}
			else {	
				final_url = url_base+"/"+arg_parts[0]+"|"+t;
				final_url += arg_parts[2]!=null ? "|"+arg_parts[2] : "";
				//final_url += url_parts[5]!=null ? "/"+url_parts[5] : "";
				self.location = final_url;
			}
		}
		else
		{
			here = orig_url.replace(/&catid=[0-9]+/,"");
			here = here.replace(/&offset=[0-9]+/,"");
			here = here.replace(/&id=[0-9]+/,"");
		
			if(t=="")
				self.location = here;
			else {	
				here = here.indexOf('?')==-1 ? here+'?' : here;
				self.location = here+"&catid="+t;
			}
		}
}

//-->
