function button_on ( imgName ) {
	butOn = eval ( imgName + "_on.src" );
	document [imgName].src = butOn;
}

function button_off ( imgName ) {
	butOff = eval ( imgName + "_off.src" );
	document [imgName].src = butOff;
}

function cache_images(img_name_array){

  for(x=0;x<img_name_array.length;x++) {
    eval(img_name_array[x]+"_off=new Image();");
    eval(img_name_array[x]+"_off.src=\"images/"+img_name_array[x]+"_off.gif\";");
    eval(img_name_array[x]+"_on=new Image();");
    eval(img_name_array[x]+"_on.src=\"images/"+img_name_array[x]+"_on.gif\";");
  }


}
/*
var quicklinks=new Array('quicklinks_showroom',
		     'quicklinks_workspaces',
		     'quicklinks_learnmore'
);

cache_images(quicklinks);
*/

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

var myWindow;
function openCenteredWindow(url) {
    var width = 1100;
    var height = 800;
    var left = parseInt((screen.availWidth/2) - (width/2));
    var top = parseInt((screen.availHeight/2) - (height/2));
    var windowFeatures = "width=" + width + ",height=" + height + 
        ",resizable,left=" + left + ",top=" + top + 
        "screenX=" + left + ",screenY=" + top;
    myWindow = window.open(url, "subWind", windowFeatures);
}

//    var windowFeatures = "width=" + width + ",height=" + height + 
//        ",status,resizable,menubar,location,scrollbars,toolbar,left=" + left + ",top=" + top + 
//        "screenX=" + left + ",screenY=" + top;
