Hi. Don't need to use jQuery.
Just replace the map = new OpenLayers.Map($("map"), {'maxResolution': 0.3515625, 'maxExtent':new OpenLayers.Bounds(-90.0,-90.0,90.0,90.0), 'numZoomLevels':6, }); to map = new OpenLayers.Map( "map", {'maxResolution': 0.3515625, 'maxExtent':new OpenLayers.Bounds(-90.0,-90.0,90.0,90.0), 'numZoomLevels':6, });
And the tilecache service resolve, i don't know. Sorry. I tring.