if (top != self) top.location.href = location.href;

$(document).ready(function() {
    // Replace Text Header
    $(".imagereplace").each(function() {
        string = $(this).text();
        filename = string.toLowerCase().replace(/ /g, '-').replace(/([^0-9a-z-])/g, '');
        filelocation = ""
        $(this).html('<img src="' + filelocation + 'graphics/' + filename + '.gif" alt="' + string + '" title="' + string + '" />');
    });

});
