function TiledLayer (map,url, options){
	this.url = url;
	this.options = options;
 	this.layer = new esri.layers.ArcGISTiledMapServiceLayer(url,options);
	map.addLayer(this.layer);
}

function TiledLayerPrototype(){
	TiledLayer.prototype.showLayer = function(){
		this.layer.show();
	}

	TiledLayer.prototype.hideLayer = function(){
		this.layer.hide();
	}
}


