$(function(){
  //$('.listings>ul>li').each( listingsChildrenInit );
  $('.scroll_to')
})
/*

function listingsChildrenShow()
{
  $(this).children('ul').show();
}

function listingsChildrenHide()
{
  $(this).children('ul').hide();
}

function listingsChildrenToggle()
{
  if( $(this).children('ul').css('display') == 'none' )
    listingsChildrenShow.call( $(this));
  else
    listingsChildrenHide.call( $(this));
}

function listingsChildrenInit()
{
  $(this)
    .children('a')
      .removeAttr('href')
      .css('cursor', 'pointer')
      .click( function(){
        listingsChildrenToggle.call( $(this).parent() );
      })
      .find('a.scroll_to').each(function(){
        console.log( $(this) );
        $(this).data('target', $(this).data('href'));
        $(this).attr('href', '');
      })
    ;

  listingsChildrenHide.call( $(this) );
}
*/
