//we use $j to avoid conflicts with other libraries
var $j = jQuery.noConflict();

//target=_blank for all links that point outside our website
$j(document).ready(function() {
    $j("a").filter(function() {
        return this.hostname && this.hostname !== location.hostname;
    }).attr('target', '_blank');
});

//image generic rollover. add "ro" as class for those images and follow the naming convention
$j(
	function()
	{
		// set up rollover
		$j("img.ro").hover(
			function()
			{
				this.src = this.src.replace("-off","-on");
			},
			function()
			{
				this.src = this.src.replace("-on","-off");
			}
		);
	}
)
	function clickButton(e, buttonid) {

	    var evt = e ? e : window.event;

	    var bt = document.getElementById(buttonid);

	    if (bt) {
	        if (evt.keyCode == 13) {
	            
	            bt.click();


	            return false;

	        }

	    }

	}    

 
