var len = location.search.length;
var href = window.location.search.substring(len-1,len);
var which = window.location.search.substring(1,len-1);
function css(){
	if(temp == 'true'){
		return false;
		}
	var listId = document.getElementById("text0").getElementsByTagName("li");
	var list = document.getElementById("text0").getElementsByTagName("li").length;
	if(len>2) $('#'+which+'').photomatic();
	if(!href){
		listId[0].className="change";
		document.getElementById("text0_Content0").className = "show";
		}else{
			tags($('#text0 li:eq('+href+')')[0],href);
			/*for(i=0; i <list; i++){
				listId[i].className ='';
				document.getElementById("text0_Content"+i).className = 'hide'
			if (i == href){
			   listId[href].className="change";
			   document.getElementById("text0_Content"+i).className = "show";
			  }  
		}*/	
	}
}
window.onload = function(){css()}
