/* created by Holysavior of ZNR Shoutbox on all pages */ if (!location.href.match(/index/i)) { $.get(main_url + 'index/', function(sb) { $('#main').append($('#sbx', sb)); $('#shoutpost').submit(function() { var txt = $('#shoutpost :text'); shoutPost(txt.val()); txt.val(''); return false; }); $('#shoutrefresh').click(shoutGrab); }); }