/**<script>**/
   $.fn.splitCol = function(target){
    var items = $(this).children(target);//define the elements to be counted
    var breakpt = Math.floor(items.length/2); //item position to start new column
    items.wrapAll('<div class="left-col split"/>');//wrap everything in a left col div
    $('.left-col').after('<div class="right-col split"/>');//add right col div
    items.eq(breakpt).nextAll().andSelf().appendTo('.right-col');//go to the break item,move it and all follow sibs to right col
  }
  $(function(){
	     
	 $('.column_span').appendTo('.centerrail'); 
    
    //image shadow function
    /*$('img').each(function(){
      if($(this).css('border-top-width')=='10px'){
	var imgW = $(this).width();
	var imgH = $(this).height();
	
	$(this)
	  .before('<img class="shadow" src="assets/images/guild_photo_shad.png"/>')
	  .prev()
	  .width(imgW+34)
	  .height(imgH+34)
	  .parent()
	  .css('position', 'relative');
      };
    });*/
	     
	     
	     });
