     return null unless _.isString @args.custom_infowindow
 
     boxText = document.createElement("div")
-    klass = if (@type == 'vol_op') then 'arrow_box_vol_op' else 'arrow_box'
-    boxText.setAttribute("class", klass)
+    boxText.setAttribute("class", @infoWindowBuilder.klass())
     boxText.innerHTML = @args.custom_infowindow
     @infowindow = new InfoBox(@infobox(boxText))
     @addCloseHandler(@infowindow)

class LocalSupport.MarkerBuilder extends Gmaps.Google.Builders.Marker
  create_marker: ->
    @type = this.args.type
    options = _.extend @marker_options(), @rich_marker_options()
    @serviceObject = new RichMarker options
    

    infowindow

  infobox: (boxText)->
    @infoWindowBuilder.infobox boxText 
