<!-- Open a new window  without resize option-->

function newWindow(source) {
	leftPos = 0;
		if (screen) {
		leftPos = (screen.width-675)/2;
		}
	topPos = 0;
		if (screen) {
		topPos = (screen.height-500)/2;
		}
	aWindow = window.open(source, "article", "toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=no,width=675,height=400,left="+ 			leftPos+",top="+ topPos +"");
	aWindow.focus();
}


function newFullWindow(source) {
	leftPos = 0;
		if (screen) {
		leftPos = (screen.width-1020);
		}
	topPos = 0;
		if (screen) {
		topPos = (screen.height-620)/2;
		}
	aWindow = window.open(source, "link", "toolbar=yes,location=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1000,height=700,left="+ leftPos+",top="+ topPos +"");
	aWindow.focus();
}


function newCPSWindow(source) {
	leftPos = 0;
		if (screen) {
		leftPos = (screen.width-820);
		}
	topPos = 0;
		if (screen) {
		topPos = (screen.height-700)/2;
		}
	aWindow = window.open(source, "link", "toolbar=yes,location=yes,menubar=yes,scrollbars=yes,resizable=yes,width=800,height=600,left="+ leftPos+",top="+ topPos +"");
	aWindow.focus();
}

function VarWindow(source, name, w, h) {		
	leftPos = 0;
		if (screen) {
		leftPos = (screen.width-w)/2;
		}
	topPos = 0;
		if (screen) {
		topPos = (screen.height-h)/2;
		}
	aWindow = window.open(source, name, "toolbar=no,location=no,menubar=no,scrollbars=yes,resizable=no,width="+ w +",height="+ h +",left="+ leftPos +",top="+ topPos +"");
	aWindow.focus();
}
		
function ListWindow(source) {		
	leftPos = 0;
		if (screen) {
		leftPos = (screen.width-650);
		}
	topPos = 0;
		if (screen) {
		topPos = (screen.height-580)/2;
		}
	aWindow = window.open(source, "listing", "toolbar=no,location=no,menubar=no,scrollbars=yes,resizable=no,width=630,height=550,left="+ leftPos +",top="+ topPos +"");
	aWindow.focus();
}
		
function PicWindow(source) {
	aWindow = window.open(source, "pictures", "width=1050,height=800")
	aWindow.focus()
}

function PicWindowV(source) {
	aWindow = window.open(source, "pictures", "width=800,height=1050")
	aWindow.focus()
}
		
function PanoWindow(source) {
	aWindow = window.open(source, "pictures", "width=1050,height=800")
	aWindow.focus()
}