// Open a new window
function openWindow (URL , window_name , width , height , isResizable)
{
	// URL = URL to open in new window
	// window_name = name of new window - default is QPOP
    	// width = width of new window, default is 400
    	// height = height of new window, default is 300
    	if (window_name == null) window_name = 'QPOP';
    	if (width == null) width = '300';
    	if (height == null) height = '200';
          
    	// Open the window
    	
	var newWindow = window.open(URL,window_name,'width='+width+',height='+height+',menu=yes,addressbar=yes,toolbars=yes,scrollbars=yes,resizable='+isResizable+',left=25,top=20');
    	newWindow.focus();        // Bring window to front
}

//End New Code
	



function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		vistacopy_02_over = newImage("../images/vistacopy_02_on.gif");
		vistacopy_03_over = newImage("../images/vistacopy_03_on.gif");
		vistacopy_04_over = newImage("../images/vistacopy_04_on.gif");
		vistacopy_05_over = newImage("../images/vistacopy_05_on.gif");
		preloadFlag = true;
	}
}

// -->
