function Calculator(calctype) { //v2.0
	if (calctype == 0){
	window.open('YardageCalculations.htm','calc','scrollbars=no,resizable=no,width=590,height=300')}
	else
	if (calctype == 1){
	window.open('scripts/CalcSquareFeetForRectangle.asp','calc','scrollbars=no,resizable=no,width=330,height=300')}
	else
	if (calctype == 2) {
	window.open('scripts/CalcGivenSquareFeet.asp','calc','scrollbars=no,resizable=no,width=330,height=300')}
		else
	if (calctype == 3) {
	window.open('scripts/CalcSquareFeetForCircle.asp','calc','scrollbars=no,resizable=no,width=330,height=300')}
	else
	if (calctype == 4) {
	window.open('scripts/CalcSquareFeetGivenMaterial.asp','calc','scrollbars=no,resizable=no,width=330,height=150')}
  return
}

function CloseWindow() {
	window.close;
	return true
}

