$(document).ready(function() {
  $("a[@href^=http]").each(
    function(){
      if(this.href.indexOf(location.hostname.replace("www\.","")) == -1) {
        $(this).attr('target', '_blank');
      }
    }
  )
});

//used for header form submit
function onSubmitHandler(frm) { 
   try {   
        window.location = frm.action +
        frm.insurance.options[frm.insurance.selectedIndex].value;
    } catch (e) { }
}
