function popup(size, width, height) {
	var browser = navigator.appName;
    	width = 770;
    	height = 500;
    	swidth = ((screen.width/2)-(width/2));
    	sheight = ((screen.height/2)-(height/2));
    	macwidth = width-16;
    	macheight = height-16;
      
    	if ((browser == "Microsoft Internet Explorer") && (navigator.appVersion.lastIndexOf('Mac') != -1)){ 
    		window.open('http://www.hlywd.co.jp/select/readme.html','popup','width='+ macwidth +',height='+ macheight +',top='+ sheight +',left='+ swidth +',scrollbars=yes,resizable=no');
    	}
    	else
    	{
    		window.open('http://www.hlywd.co.jp/select/readme.html','popup','width='+ width +',height='+ height +',screenY='+ sheight +',screenX='+ swidth +',top=' + sheight + ',left=' + swidth + ',scrollbars=yes,resizable=no');
    	}
}

function mailSamp(size, width, height) {
	var browser = navigator.appName;
    	width = 528;
    	height = 500;
    	swidth = ((screen.width/2)-(width/2));
    	sheight = ((screen.height/2)-(height/2));
    	macwidth = width-16;
    	macheight = height-16;
      
    	if ((browser == "Microsoft Internet Explorer") && (navigator.appVersion.lastIndexOf('Mac') != -1)){ 
    		window.open('http://www.hlywd.co.jp/sample.html','sample','width='+ macwidth +',height='+ macheight +',top='+ sheight +',left='+ swidth +',scrollbars=yes,resizable=no');
    	}
    	else
    	{
    		window.open('http://www.hlywd.co.jp/sample.html','sample','width='+ width +',height='+ height +',screenY='+ sheight +',screenX='+ swidth +',top=' + sheight + ',left=' + swidth + ',scrollbars=yes,resizable=no');
    	}
}














