// window print
function imageWin(width, height, name) {
	width = width + 40;
	height = height + 85;
	link = "./common/image_win.php?img=" + name;
	
	newWindow = window.open(link, "newWin", "left=0, top=0, height=" + height + ", width=" + width + ", scrollbars=auto, resize=no");
	newWindow.resizeTo(width, height);
	newWindow.focus();
	return false;
}

// window video
function videoWin(name) {
	link="./common/video_win.php?video=" + name;
	newWindow = window.open(link, "newWin", "left=0, top=0, height=400, width=400, scrollbars=auto, resize=no");
	newWindow.focus();
	return false;
}
