$(window).load(function(){ // on document ready
    $('#newscatalog').prepend("<li id='noresults'><img height='65' src='/website/ui/v8/global/img/livesearch/noresults.jpg' alt='no results' width='100' /><p><strong>No results found.</strong><br />Please try a different search.  For other media inquiries you may contact Jennifer Watton, Public Relations Coordinator at 604.513.2027 ext. 3341.</p></li>");
    $('#newscatalog').before("<div id='searchbar'><h2 class='webfont'>Browse the news stories below or narrow your search here:</h2><form action='#' id='livesearch'><fieldset><input type='text' id='searchbox' value='' name='searchbox' /><div class='loading'>Loading...</div></fieldset></form></div>");
    $('#livesearch input').quicksearch('#newscatalog li', {
        'noResults': '#noresults',
		'delay': 300,
		'stripeRows': ['odd', 'even'],
		'loader': '.loading',
		'bind': 'keyup click',
		'show': function () {
            this.style.display = "";
        },
        'hide': function () {
            this.style.display = "none";
        }
    });
}); // end on document ready

