TGMarker = Class.create();

TGMarker.prototype = 
{
    initialize : function(point,icon,markerId,tooltip,zIndexProcessFunc)   
    {
        this.marker = null;
        
        if(tooltip)
        {
            this.marker = new GMarker(point,{title:tooltip,icon:icon,zIndexProcess:zIndexProcessFunc});
        }
        else
        {
            this.marker = new GMarker(point,icon);
        }
         
        this.markerId = markerId;
    }
}


