var fullW = screen.width - 10
var fullH = screen.height - 4
function getX(w){return (fullW - w) / 2}
function getY(h){return (fullH - h) / 2}


function openpic(page){
	var myWidth = 650
	var myHeight = 500
	var opWin = window.open(page, "", "width=" + myWidth + ",height=" + myHeight + ",left="	+ getX(myWidth) + ",top=" + getY(myHeight) + ",resizable,status,scrollbars")
}


function openpic1(page){
	var myWidth = 580
	var myHeight = 450
	var opWin = window.open(page, "", "width=" + myWidth + ",height=" + myHeight + ",left="	+ getX(myWidth) + ",top=" + getY(myHeight) + ",resizable,status,scrollbars")
}

function openpic2(page){
	var myWidth = 310
	var myHeight = 350
	var opWin = window.open(page, "", "width=" + myWidth + ",height=" + myHeight + ",left="	+ getX(myWidth) + ",top=" + getY(myHeight) + ",resizable,status,scrollbars")
}

function operation(page){
	var myWidth = 780
	var myHeight = 450
	var opWin = window.open(page, "", "width=" + myWidth + ",height=" + myHeight + ",left="	+ getX(myWidth) + ",top=" + getY(myHeight) + ",resizable,status")
}

