
    // Gallery script.
    // With image cross fade effect for those browsers that support it.
    // Script copyright (C) 2004 www.cryer.co.uk.
    // Script is free to use provided this copyright header is included.
    function LoadGallery(pictureName,imageFile,titleCaption,captionText)
    {
      if (document.all)
      {
        document.getElementById(pictureName).style.filter="blendTrans(duration=1)";
        document.getElementById(pictureName).filters.blendTrans.Apply();
      }
      document.getElementById(pictureName).src = imageFile;
      
      if (document.all)
      {
        document.getElementById(pictureName).filters.blendTrans.Play();
      }

        if(captionText != '')
        {
            //alert("titleCaption= " + titleCaption);
            //alert("captionText= " + captionText);
            //document.getElementById(titleCaption).innerHTML=captionText;
            //document.getElementById('Gallery_Caption_Angela Gallery').innerHTML=captionText;
            
        }
        else
        {
            //alert("captionText IS NULL= " + captionText );
            //document.getElementById(titleCaption).innerHTML='&nbsp;';
        }    
            
    }

    function goToPayPal(myItem, myPrice)
    {
    var payPalURL = "https://www.paypal.com/xclick/business=abc@123.com"
	    payPalURL += "&add=1&cmd=_cart&no_note=1"
	    payPalURL += "&item_name=" + myItem;	
	    payPalURL += "&amount=" + myPrice;
    	
	    //alert("payPalURL= " + payPalURL);
	    location.href=(payPalURL);

    }
