add: }   if (params.length>1) { var lat=lng=zoom=0; for (var i=1;i<params.length;i++){ val = params[i].split("="); if (val[0]=="lt") lat = val[1]; if (val[0]=="lo") lng = val[1]; if (val[0]=="z") zoom = parseInt(val[1]); } map.setCenter(new GLatLng(lat,lng),zoom); $("#refreshall_autozoomandcenter").attr("checked",false); 
context: 	,load: function(){		GSN.debug("init:"+location.hash);		var params=location.hash.substr(1).split(",");				GSN.context = params[0];		//highlight the right tab in the navigation bar		$("#navigation li").each(function(){			if($("a",$(this)).text()==GSN.context)				$(this).addClass("selected");			else				$(this).removeClass("selected");		});				$("#main > div").hide();		//for each page context		if (GSN.context=="home")	{			GSN.vsbox.container = "#vs";			$("#main #control").show();			$("#main #homediv").show();			$("#control #closeall").show();			//load and display all the visual sensors			if (!GSN.loaded) GSN.updateall();		} else if (GSN.context=="data")	{			$(".intro").remove();			$("#main #datachooser").show();			if (!GSN.loaded) GSN.updateall();		} else if (GSN.context=="map")	{			GSN.vsbox.container = "#vs4map";			$(".intro").remove();			$("#main #control").show();			$("#control #closeall").hide();			$("#main #mapdiv").show();			if(!GSN.map.loaded) {				GSN.map.init();				GSN.updateall();			}		} else if (GSN.context=="fullmap")	{			GSN.vsbox.container = "#vs";			GSN.map.followMarker(null);			if(!GSN.map.loaded) {				GSN.map.init();				GSN.updateall();			}		}	}
meta: 37	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/37/a31d85d853a22365f10afdb759fbbb8cd6f2df29/gsn.js/buggy/webapp/js/gsn.js