
aPicture = new Array();
var items=0;




function SelectAPicture(picSrc,caption,note)
{
	aPicture[0] = picSrc;
	aPicture[1] = caption;
	aPicture[2] = note;
}

// ----------ok-----
function ReleasePopUp(picSrc,caption,note) 
{

   SelectAPicture(picSrc,caption,note);
   popupWindow=window.open("js/popup.htm","popupWindow","menubar=no,scrollbars=no,status=no,width=640,height=560");
   popupWindow.focus();
   if (popupWindow.opener == null) popupWindow.opener = this;
}

//-----------------
function ReleaseSizeAblePopUp(picSrc,caption,note,popupwidth,popupheight)
{
   SelectAPicture(picSrc,caption,note);
   popupWindow=window.open("js/popup_resizeable.htm","popupWindow","menubar=no,scrollbars=yes,resizable=yes,status=no,width="+popupwidth+","+"height="+popupheight);
   popupWindow.focus();
   if (popupWindow.opener == null) popupWindow.opener = self;
}

