function openprojectwindow() { // change for different size / if you have different windows to open on the same page rename the script and change the params / sizes details

  var winUrl = '/CSS_MOLA/blank.htm'; // uses the url from the href= where its called from

  var winName = 'mola'; //same name as target used on the href where its called from

  var parms = 'toolbar=yes,scrollbars=yes,resizable=yes,status=yes,menubar=yes';

  var height = 760;

  var width = 790;

  var winCentered ='yes';  // to open the window centered use a yes or no value
  
  var left = Math.floor( (screen.width - width) / 2);

  var top = Math.floor( (screen.height - height) / 3);

  if (winCentered == 'yes') { 

            var winParms = "top=" + top + ",left=" + left + ",height=" + height + ",width=" + width + "," + parms;

            }

  else {

            var winParms = "height=" + height + ",width=" + width + "," + parms;

            }

  

  var win = window.open( winUrl ,winName ,winParms);

  if(win.focus){win.focus();}

}

function openprojectwindowbig() { // change for different size / if you have different windows to open on the same page rename the script and change the params / sizes details

  var winUrl = '/CSS_MOLA/blank.htm'; // uses the url from the href= where its called from

  var winName = 'molabig'; //same name as target used on the href where its called from

  var parms = 'toolbar=yes,scrollbars=yes,resizable=yes,status=yes,menubar=yes';

  var height = 760;

  var width = 980;

  var winCentered ='yes';  // to open the window centered use a yes or no value
  
  var left = Math.floor( (screen.width - width) / 2);

  var top = Math.floor( (screen.height - height) / 3);

  if (winCentered == 'yes') { 

            var winParms = "top=" + top + ",left=" + left + ",height=" + height + ",width=" + width + "," + parms;

            }

  else {

            var winParms = "height=" + height + ",width=" + width + "," + parms;

            }

  

  var win = window.open( winUrl ,winName ,winParms);

  if(win.focus){win.focus();}

}