//replaces Google's satalite maps with USGS's instead

G_SATELLITE_TYPE.getTileURL=function(a,b,c)
{
	var ts = this.tileSize;
	var ul = this.getLatLng(a*ts,(b+1)*ts, c);
	var lr = this.getLatLng((a+1)*ts, b*ts, c);
	var bbox = ul.x + "," + ul.y + "," + lr.x + "," + lr.y;
	var url = "http://www.terraserver-usa.com/ogcmap6.ashx?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=DOQ&STYLES=&FORMAT=image/jpeg&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:4326&BBOX=" + bbox + "&WIDTH=" + ts + "&HEIGHT=" + ts;
	return url;
}

G_HYBRID_TYPE.getTileURL=function(a,b,c)
{
	var ts = this.tileSize;
	var ul = this.getLatLng(a*ts,(b+1)*ts, c);
	var lr = this.getLatLng((a+1)*ts, b*ts, c);
	var bbox = ul.x + "," + ul.y + "," + lr.x + "," + lr.y;
	var url = "http://www.terraserver-usa.com/ogcmap6.ashx?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=DOQ&STYLES=&FORMAT=image/jpeg&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:4326&BBOX=" + bbox + "&WIDTH=" + ts + "&HEIGHT=" + ts;
	return url;
}