 (enable-console-print!)
 
 
+
 ;; state ------------------------------------------
+
+(def IMGSIZE 400)
 
 (def initial-state 
   {:current-state :search
-   :search-options {:photo true :audio true}
    :current-search ""
    :error ""
    :current-items []
    :before 0
+   :window-width (.. js/window -innerWidth) 
    })
 
 (defn reset-state [state]
   (merge state initial-state))
 
 ;; Search ------------------------------------------------
-
 
 ; ajax ---
 

        (let [ajax-chan (chan 1)]
          (async-response-loop data ajax-chan)
          (async-window-scroll data ajax-chan)
          (om/set-state! owner :ajax-chan ajax-chan)))
      om/IRenderState 
      (render-state [this local-state]

                                 (om/transact! data reset-state)
                                 )}
                 "Clear")
               ))
    ))

