function Start(page) {
OpenWin = this.open(page, "NEW", "height=330,width=240,toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no");
}

function Start2(page) {
OpenWin = this.open(page, "NEW2", "height=330,width=280,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes");
}

function Start3(page, ancho, alto) {
OpenWin = this.open(page, "NEW2", "height="+alto+",width="+ancho+",toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no");
}

var win = null;

function NewWindow(mypage,myname,w,h,scroll){
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
	win = window.open(mypage,myname,settings)
}
function NewWindow2(mypage,myname,w,h,scroll){
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable,menubar=yes,location=yes'
	win = window.open(mypage,myname,settings)
}
