	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) {
			top_bar_biz_serv_over = newImage("/images/new/business-over.gif");
			top_bar_res_serv_over = newImage("/images/new/residential-over.gif");
			top_bar_support_over = newImage("/images/new/support-over.gif");
			top_bar_about_over = newImage("/images/new/about-over.gif");
			top_bar_ceo_over = newImage("/images/new/ceo-over.gif");
			preloadFlag = true;
		}
	}
	
	function show_area(source) {
		var area = document.getElementById('hidden_area');
		area.style.display = "block";
		var img_src = "images/lg/" + source + ".jpg";
		zoom.setAttribute("src",img_src);
	}

	function hide_area() {
		var area = document.getElementById('hidden_area');
		area.style.display = "none";
	}
	
	function show_zoom(image_name) {
		var show_area = document.getElementById(image_name);
		show_area.style.display = "block";
	}

	function hide_zoom(image_name) {
		var hide_area = document.getElementById(image_name);
		hide_area.style.display = "none";
	}

function popup(url, width, height) {

	if (!width){
		width = 450;
	}
	
	if (!height){
		height = 200;
	}

	settings="toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width="+width+",height="+height;
	
	MyNewWindow=window.open(url, "", settings);
	
}

function openWin(file, imgwidth, imgheight)
{
  var mybar='toolbar=no,directories=no,status=no,menubar=no,resizable=no';
  mybar+=',width=';
  mybar+=imgwidth;
  mybar+=',height=';
  mybar+=imgheight;

  var newWin=open(file,'',mybar);
}