rem: ,init : function(data) { this.loaded=true; $(".loading").remove(); 
add: ,init : function(){ if(typeof GBrowserIsCompatible == "undefined") {  $("#vsmap").empty().append($.P({"class":"error"},"Google maps isn't loaded! Maybe your internet connection is not working.")); } else if(!GBrowserIsCompatible()) {  $("#vsmap").empty().append($.P({"class":"error"},"Your browser isn't compatible to Google maps or the Google maps API key is wrong. By default, Google maps only works if your using the host : http: } else if (GBrowserIsCompatible()) {  GSN.debug("init gmap");  this.loaded=true;  map = new GMap2(document.getElementById("vsmap"));  map.addControl(new GLargeMapControl()); map.addControl(new GMapTypeControl()); map.addControl(new GScaleControl()); map.addControl(new GOverviewMapControl()); 
context: 	,init : function(data) {		this.loaded=true;		$(".loading").remove();		//show all the gsn container info		if ($(document).title()=="GSN") {			var gsn = $("gsn",data);			$(document).title($(gsn).attr("name")+" :: GSN");			$("#gsn-name").empty().append($(gsn).attr("name")+" :: GSN");			$("#gsn-desc").empty().append($(gsn).attr("description"));			$("#gsn-author").empty().append($(gsn).attr("author")+" ("+$(gsn).attr("email")+")");		}				//build the leftside vs menu		$("#vsmenu").empty();		$("virtual-sensor",data).each(function(){			var vsname = $(this).attr("name");			$("#vsmenu").append($.LI({},$.A({"href":"javascript:GSN.menu('"+vsname+"');","id":"menu-"+vsname+""},vsname)));			//if ($("field[@name=latitude]",$(this)).text()!="") 			//	$("#menu-"+vsname).addClass("gpsenabled");		});	}
meta: 37	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/37/a31d85d853a22365f10afdb759fbbb8cd6f2df29/gsn.js/clean/webapp/js/gsn.js