<!--
/*window.onload = function() {
var node_a = document.getElementsByTagName('a');
for (var i in node_a) {
if (node_a[i].className == 'works') {
node_a[i].onclick = function() {
return window01(this.href)
};
}
}
};

function window01(url) {
window.open(
url,'works',
'width=896,height=623,scrollbars=0,resizable=0');
return false;
};*/


$(document).ready(function(){
	$("a[href='http://www.am-design.co.jp/works/index.html']").click(
		function(){
			window.open('http://www.am-design.co.jp/works/index.html','works','width=896,height=623,scrollbars=yes,resizable=yes');
			return false;
	});

	$('a[rel="works"]').click(function(){
		var win;
		win=window.open(this.href, "works","width=896,height=623,scrollbars=yes, resizable=yes");
		win.focus();
		return false;
	});
	
	$('a[rel="dbook"]').click(function(){
		var win;
		win=window.open(this.href, "dbook","width=940,height=680,menubar=no, toolbar=no, scrollbars=yes,resizable=yes");
		win.focus();
		return false;
	});
	$('a[rel="amworks"]').click(function(){
		var win=window.open(this.href, "works","width="+screen.width+",height="+screen.height+", menubar=no, toolbar=no, scrollbars=yes,resizable=yes,status=no");
		win.focus();
		return false;
	});
	$('a[rel="THH"]').click(function(){
		//alert( $.browser.name +"/" +$.os.name  ) ;
		var win;
		var wid = "1071";
		var hei = "792";
		if($.os.name == "mac"){
			wid = "1069";
			if($.browser.name == "chrome"){
				hei = "842";
			}
		}
		win=window.open(this.href, "thh","width="+wid+",height="+hei+",scrollbars=yes, resizable=yes");
		win.focus();
		return false;
	});


});
//-->
