rem:  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")+")"); 
add: /*  var copyright = new GCopyright(1, new GLatLngBounds(new GLatLng(-90, -180), new GLatLng(90, 180)), 16, "2006 EPFL"); var copyrightCollection = new GCopyrightCollection('Imagery'); copyrightCollection.addCopyright(copyright); var tileLayers = [new GTileLayer(copyrightCollection, 16, 17)];  customGetTileUrl = function(a, b) { return "http: } tileLayers[0].getTileUrl = customGetTileUrl;  var customMap = new GMapType(tileLayers, new GMercatorProjection(18), "Aerial", {errorMessage:"Aerial imagery unavailable."}); map.addMapType(customMap); */    var tinyred = new GIcon(); tinyred.image = "http: tinyred.shadow = "http: tinyred.iconSize = new GSize(12, 20); tinyred.shadowSize = new GSize(22, 20); tinyred.iconAnchor = new GPoint(6, 20); tinyred.infoWindowAnchor = new GPoint(5, 1); GSN.map.tinyred = tinyred; var tinygreen = new GIcon(); tinygreen.image = "http: tinygreen.shadow = "http: tinygreen.iconSize = new GSize(12, 20); tinygreen.shadowSize = new GSize(22, 20); tinygreen.iconAnchor = new GPoint(6, 40); tinygreen.infoWindowAnchor = new GPoint(5, 1); GSN.map.tinygreen = tinygreen;   GEvent.addListener(map, "click", function(overlay, point) { if(overlay) if(typeof overlay.vsname != "undefined") GSN.menu(overlay.vsname); }); GEvent.addListener(map, 'zoomend', function (oldzoomlevel,newzoomlevel) { GSN.map.zoomend(oldzoomlevel,newzoomlevel); }); } 
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