
function Popup(myLink, windowName)
{
	if (! window.focus)return true;
	var href;
	if (typeof(myLink) == 'string')
	    href=myLink;
	else
	    href=mylink.href;
	window.open(href, windowName, 'width=350,height=350');
	return false;
}


function fnPopup(strW, strU, intW, intH)
{
   var   strWindowAttributes = "";
   var   intWidth       = 400;
   var   intHeight      = 500;

   if (intW) intWidth = intW;
   if (intH) intHeight = intH;

   strWindowAttributes = "height=" + intHeight + ",width=" + intWidth + ",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizeable=0"

   objPopup = window.open(strU, strW, strWindowAttributes);
   objPopup.focus();
}

function newImage(arg) {
   if (document.images) {
      rslt = new Image();
      rslt.src = arg;
      return rslt;
   }
}

function changeImages() {
   if (document.images)
      for (var i=0; i<changeImages.arguments.length; i+=2)
         document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}

function changeImageAndDescription() {
  if (document.images)
  {
    document[changeImageAndDescription.arguments[0]].src = changeImageAndDescription.arguments[1];
    document.getElementById("folio_description").innerHTML = arrayDescriptions[changeImageAndDescription.arguments[2]-1];
  }
}

