/**
 * Code executed when whole document is loaded
 */ 
$(document).ready(function()
{
    // open links in new window
    $("a[rel=external]").click(function()
    {
        window.open(this.href);
        return false;
		});
});