-sleep = (time, callback) ->
-  setTimeout(callback, time)
-
 widthIsOver850 = () ->
   $("article, .body *").width("500")
   $(".linkimg").width("250")

		else sel = "/topics"

		$("#search_post form").attr("action",sel)
		
$ ->
  menubool = true
  $("#sidebar").hide()

  else
    widthIsUnder850()

# fancybox init
$ ->
  $('a.fancybox').fancybox()

# searchbar init
$ ->
	$("#submit_path").change ->
		val = $('#submit_path option:selected').val()
