// Openwindowスクリプト

function artist( link_url )
{
	var winWidth = 360;
	var winHeight = 400;
	
	var left_point = 578;
	var top_point = 250;
	
	var sw = screen.width;
	var sh = screen.height;
	
	if(sw <=799){sw = 800};
	if(sh <= 599){sh = 600};
	
	os      = getOSType();
	browser = getBrowserName();
	version = getBrowserVersion();
	
	if ((os == "Windows") && (browser == "Explorer")) { winWidth += 18; }
	if ((os == "Windows") && (browser == "Netscape") && ((version >= 4) && (version < 5))) { winWidth += 18; winHeight += 25; }
	if ((os == "Windows") && (browser == "Netscape") && ((version >= 6) && (version < 7))) { winWidth += 16; winHeight += 31; }
	if ((os == "Windows") && (browser == "Netscape") && ((version >= 7) && (version < 8))) { winWidth += 16; winHeight += 31; }
	if ((os == "MacOS") && (browser == "Netscape") && ((version >= 4) && (version < 5))) { winWidth += 1; winHeight -= 14; }
    if ((os == "MacOS") && (browser == "Netscape") && ((version >= 6) && (version < 7))) { winWidth += 15; winHeight += 10; }
    if ((os == "MacOS") && (browser == "Netscape") && ((version >= 7) && (version < 8))) { winWidth += 18; winHeight += 10; }




	window.open(link_url,"artist","width="+winWidth+",height="+winHeight+",left="+left_point+",top="+top_point+",toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,resizable=no");

}
