 <!-- Hide script from old browers

 var win1 = null;
 var win2 = null;
 var temp;
 var w = 650;// This is the default value. Will be reset within function htmlbuild if larger or smaller window is required.
 var h = 425;
 var iMyWidth;
 var iMyHeight;
 var linkTo = null



function newwindowForEminder(linkTo,w,h)
 {

   //gets top and left positions based on user's resolution so hint window is centered.
    iMyWidth = (window.screen.width/2) - (w/2) ; //half the screen width minus half the new window width.
    iMyHeight = (window.screen.height/2) - (h/2) ; //half the screen height minus half the new window height.

  if (win2 && !win2.closed)
  {
    if (linkTo == temp)
    {
       win2.focus();
    }
    else
    {
       win2.close();
       win1 = window.open(linkTo,"newEminderWindow1","toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=" + w + ",height=" + h + ",left=" + iMyWidth + ",top=" + iMyHeight);
       win1.focus();
    }
  }
  else
  {
    if (win1 && !win1.closed)
    {
      if (linkTo == temp)
      {
       win1.focus();
      }
      else
      {
       win1 = window.open(linkTo,"newEminderWindow1","toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=" + w + ",height=" + h + ",left=" + iMyWidth + ",top=" + iMyHeight);
       win1.focus();
      }
    }
    else
      win1 = window.open(linkTo,"newEminderWindow1","toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=" + w + ",height=" + h + ",left=" + iMyWidth + ",top=" + iMyHeight);
  }
  temp = linkTo;
 }


function openAnotherEminderWindow(linkTo2)
{

    //gets top and left positions based on user's resolution so hint window is centered.
    iMyWidth = (window.screen.width/2) - (w/2) ; //half the screen width minus half the new window width.
    iMyHeight = (window.screen.height/2) - (h/2) ; //half the screen height minus half the new window height.

      if (win2 && !win2.closed)
      {
        win2.focus();
      }
      else
      {
        win1.close();
        win2 = window.open(linkTo2,"newEminderWindow2","toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=" + w + ",height=" + h + ",left=" + iMyWidth + ",top=" + iMyHeight);
        win2.focus();
      }
      temp = linkTo2
}



//End hiding script from old browsers -->
