function popupImage(strImage, iWidth, iHeight) 
{ 
strUrl = 'image-display.html?pageFormat=popup&image=' + strImage; 

iWidth += 40; 
iHeight += 80; 

oWindow = window.open(strUrl, 'news_image', 'width=' + iWidth + ',height=' + iHeight + ',status=no,menubar=no,toolbar=no,scrollable=no,scrollbars=no,resizable=yes'); 

oWindow.resizeTo(iWidth ,iHeight); 
oWindow.focus(); 
} 

function popupPrint(fileName)
{
 window.open(fileName,
             "windowPrint",
             "width=540,height=400,status=no,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes");
}

function popupSearch()
{
  window.open("search.html?pageFormat=popup",
              "windowSearch",
              "width=480,height=250,status=yes,menubar=no,toolbar=no,scrollable=yes,scrollbars=yes,resizable=yes");
}

function popupDonation(donationKey)
{
  url = 'https://www.hcfmstore.org/main/donation-popup.php?key=' + donationKey +
        '&s=4';
  winDonation = window.open(url,
                            'windowDonation',
                            'width=500,'      +
                            'height=600,'     +
                            'status=yes,'     +
                            'menubar=no,'     +
                            'toolbar=no,'     +
                            'scrollable=yes,' +
                            'scrollbars=yes,' +
                            'resizable=yes');
  winDonation.focus();
}

function popupTrailerLo()
{
  window.open("trailer-lo.html?pageFormat=popup",
              "trailerLo",
              "width=200,height=195,status=yes,menubar=no,toolbar=no,scrollbars=no,resizable=yes");
}

function popupTrailerHi()
{
  window.open("trailer-hi.html?pageFormat=popup",
              "trailerHi",
              "width=280,height=260,status=yes,menubar=no,toolbar=no,scrollbars=no,resizable=yes");
}

function popupExternal(fullUrl)
{
	url = fullUrl;
	winExternal = window.open(url, 'windowExternal', 'width=700, height=600, location=yes, status=yes, menubar=yes, toolbar=yes, scrollable=yes, scrollbars=yes, resizable=yes');
	winExternal.focus();
}