function goToPopup(url, windowName, width, height, scrollBars) {
	// alert("You've activated goToPopup: (h/w) (" + height + "/" + width + ")" + "   scrollBars: " + scrollBars );
	if (!scrollBars) {
		// Set default to yes if not passed
		scrollBars = 'yes';
	}
	
	var newWidth = width + 0
	newWindow = window.open(url, windowName, 'toolbar,status,location,menubar,scrollbars=' + scrollBars + ',resizable=1,copyhistory,width=' + newWidth + ',height=' + height);
	newWindow.focus();
}




/* ---------------------------------------------------------------  */
//        Preload & Swap Functions for  Rollover Images
/* ---------------------------------------------------------------  */
if (document.images) {
	
	button_about_on = new Image;
	button_about_on.src = "images/button_about_on.gif";
	
	button_about_off = new Image;
	button_about_off.src = "images/button_about_off.gif";
	
	
	
	
}

function imageSwap(imageName, state) {
        if (document.images && state == "on") {
         eval("document." + imageName + ".src = " + state + ".src");
		 //eval("document." + imageName + "1.src = " + imageName + "_on.src");
        }
		if (document.images && state == "off") {
         eval("document." + imageName + ".src = " + state + ".src");
		 //eval("document." + imageName + "1.src = " + imageName + ".src");
        }
    }
	
	
	
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) {
		button_about_on = newImage("images/button_about_on.gif");
		button_products_on = newImage("images/button_products_on.gif");
		button_documents_on = newImage("images/button_documents_on.gif");
		button_careers_on = newImage("images/button_careers_on.gif");
		button_contact_on = newImage("images/button_contact_on.gif");
		button_search_on = newImage("images/button_search_on.gif");
		button_hqv_on = newImage("images/button_hqv_on.gif");
		preloadFlag = true;
	}
}

/* ---------------------------------------------------------------  */