     geocoder_region: params.region
     geocoder_address: true
     geocoder_types: App.geotypes.join(",")
-    mapheight: 200
-    mapwidth: 200
+    mapheight: 120
+    mapwidth: 120
     noCache: true
     MapTypeIdaptype: "hybrid"
     select: (event, ui) ->

  $("#mode .from").click -> switchmode "from", App.mode
  $("#mode .splash").click -> switchmode "splash", App.mode
  $("#mode .result").click -> switchmode "result", App.mode
  $("#to_input_field").focus()
  initInputBox({region:"de",direction:"to",selector:"#to_input_field",showpanel:false})

  $("#"+d+"_panel").fadeTo("slow", 1)
  if d is "to"
    App.to = item
    App.to_choosen = true
    $("#to_input").hide()
    if not App.from_choosen
      switchmode "from", "to"
      initInputBox
        region: "de"
        direction: "from"
        selector: "#from_input_field"
        showpanel: true
  if d is "from"
    App.from_choosen = true
    App.from = item
    switchmode "result", "from"


setupsocket = ->
