function OpenPrintable(ID)
		{
		if (ID != '')
			{		
			//set size of new window
			w = 500;
			h = screen.availHeight;
			
			//make sure the size isn't too big for set resolution
			if (h > screen.availHeight)
				{h = screen.availHeight;}
			if (w > screen.availWidth)
				{w = screen.availWidth;}
			
			//set coords to place window in center screen
			t = screen.availHeight / 2 - h / 2;
			l = screen.availWidth / 2 - w / 2;
			
			//make sure it's not off the screen
			if (t < 0)
				{t = 0;}
			if (l < 0)
				{l = 0;}
			
			myWin = window.open('','myWin','top='+t+',left='+l+',menubar=yes,status=no,location=no,toolbar=no,scrollbars=yes,resizable=yes,width='+w+',height='+h);
			myWin.resizeTo(w, h);
			myWin.moveTo(l,t);
			myWin.focus();
			
			myWin.location = './DetailsPrintable.cfm?VID='+ID;
			}
		}


	function ChangeBigImage(PicNum)
		{
		document.BigPicture.src = eval('image' + PicNum + 'med').src;
		CurPicNum = PicNum;
		}
	
	function enlargePic()
		{
		window.open('/LinkOut/index.asp?GoTo=' + eval('image' + CurPicNum + 'orig'));
		//window.open('/LinkOut/index.asp?GoTo=' + escape(eval('image' + CurPicNum + 'orig')));
		//window.open(eval('image' + CurPicNum + 'orig'));// -->
		}