GetMyTopoTile=function(a,b,c) {
	var lURL=this.myBaseURL;
	lURL+=b;
	lURL+="/"+a.x;
	lURL+="/"+a.y+".png";
	return lURL;
}

var mytopoUrl;
function initMytopo(pid) {
	mytopoUrl = 'http://maps2.mytopo.com/mytopo/1.0.0/topoG/';
}


var mytopoCopy = new GCopyright(1,new GLatLngBounds(new GLatLng(-90, -180), new GLatLng(90, 180)),0,'&#169; MyTopo <a href="http://www.mytopo.com/google/index.cfm" target="_blank"><b>(Topo Maps Terms of Use)</b></a>')



var mytopoc = new GCopyrightCollection('');
mytopoc.addCopyright(mytopoCopy);
		
var tileMytopo = new GTileLayer(mytopoc,9,15);
tileMytopo.myLayers='topoG';
tileMytopo.myFormat='image/png';
tileMytopo.myBaseURL='http://maps.mytopo.com/mytopo/tilecache.py/1.0.0/topoG/';
//tileMytopo.myBaseURL=mytopoUrl;

tileMytopo.getTileUrl=GetMyTopoTile;
		
var mytopoLayer=[tileMytopo];
			
var MYTOPO_MAP = new GMapType(mytopoLayer, G_SATELLITE_MAP.getProjection(), "Topo", G_PHYSICAL_MAP);