// JavaScript Document

<!--- getting around the chromeless problem

function openIT(theURL,theH,theW) {
  var legacywin = null;
  LeftPos = (screen.width) ? (screen.width-theW)/2 : 0;
  TopPos = (screen.height) ? (screen.height-theH)/2 : 0;
  var winName = "legacyView";
  var winfeatures = 'height='+theH+',width='+theW+',top='+TopPos+',left='+LeftPos+',resizable'
  legacywin = window.open(theURL,winName,winfeatures);
  legacywin.focus();
}

function openPIC(theURL,theH,theW) {
  var legacywin = null;
  LeftPos = (screen.width) ? (screen.width-theW)/2 : 0;
  TopPos = (screen.height) ? (screen.height-theH)/2 : 0;
  var winName = "legacyView";
  var winfeatures = 'height='+theH+',width='+theW+',top='+TopPos+',left='+LeftPos+',resizable=1,scrollbars=1'
  legacywin = window.open(theURL,winName,winfeatures);
  legacywin.focus();
}

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

function openFull(theURL,theH,theW) {
  var legacywin = null;
  LeftPos = (screen.width) ? (screen.width-theW)/2 : 0;
  TopPos = (screen.height) ? (screen.height-theH)/2 : 0;
  var winName = "legacyView";
  var winfeatures = 'height='+theH+',width='+theW+',top='+TopPos+',left='+LeftPos+',resizable=1,scrollbars=1,status=1,location=1,toolbar=1'
  legacywin = window.open(theURL,winName,winfeatures);
  legacywin.focus();
}

//--->
