     $(this).attr("src",url+"?wmode=transparent")
 
   if $(window).width() > 1250
-    widthIsOver1250()
+    timeline_algorithm([30,30,30])
   else if $(window).width() > 850
-    widthIsOver850()
+    timeline_algorithm([30,30])
   else
-    widthIsUnder850()
+    timeline_algorithm([30])
 
 hidePostFormElms = (fadebool) ->
   if(typeof fadebool == 'undefined') then fadebool = true




widthIsOver850 = () ->
  col_heights = [30, 30]
  add_state = 0

  $(".tlelm").each ->

    
    ma_left = 200
    
    x = col_heights.length #2
    a = 0.5
    b = -0.5
    y = a*x + b
    z = -y + add_state
    ma_left = z * 400
  
    $(this).css({position:"absolute",top:col_heights[add_state],left:"50%","margin-left":ma_left-article_half_width})
    col_heights[add_state] += article_height
