// pop-up function (by gk)
var newWin = null;
function closeWin(){
  if (newWin != null){
    if(!newWin.closed)
      newWin.close();
  }
}
function popUp(strURL,strType,strHeight,strWidth) {
closeWin();
var strOptions="";
if (strType=="console") strOptions="resizable,height="+strHeight+",width="+strWidth;
if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
newWin = window.open(strURL, 'newWin', strOptions);
newWin.focus();
}

//Ceilings Plus
//6711 E. Washington Blvd.
//Los Angeles, California 90040
//323-724-8166 phone
//323-724-8249 fax
//http://www.CeilingsPlus.com
//Copyright 2006
//Portions of this code were provided by Nathan Jones and Chris Whitlock

