$(document).ready(function(){
	//$('a[@href^="http://"]').click(function(){
	$("a[href^='http://']").click(function(){
		//if ((this.href=='http://www.wam.jp/fukushi_biz/boshu/')||
		//    (this.href=='http://www.wam.go.jp/ca10/emb/koukokuyouryou.pdf')) {
		//	location.href=this.href;
		//	return false;
		//} else
		if (this.href!='http://fukushibiz.wam.jp/') {
			if ((this.href=='http://www.wam.jp/fukushi_biz/boshu/menseki.html') |
			    (this.href=='http://www.wam.jp/fukushi_biz/boshu/mokuteki.html')) {
				neww=window.open(this.href,"nWn","scrollbars=yes,width=510,height=480");
				neww.focus();
				return false;
			} else {
				window.open(this.href, '_blank');
				return false;
				//$(this).attr('target','_blank'); //window.openではIEでrefererがつかないことへの対応

			}
		}
	});
	$('a.extlink').click(function(){
		$(this).attr('target','_blank');
	});
});