<!-- 
//     function to open a popup Window presenting a big picture with navigation buttons
//
//     takes three parameters:
//     
//     	target_pic - File name only of picture to open
//     	dir        - directory to find picture in (relative to root of site)
//     	thumbdir   - directory to find thumbnail in (relative to root of site)
//     	
//     if parameter 'dir' or 'thumbdir' is omitted or empty, they default to the '/Big' and /Thumb'
//     subdirectories of the current directory
//-->

function open_bigpic(target_pic, dir, thumbdir)
{	
	if ((typeof (dir) == "undefined") || (dir == ""))
	{
		dir = location.pathname.substring(0,location.pathname.lastIndexOf('/'))+"/Big";
	}
	
	if ((typeof (thumbdir) == "undefined") || (thumbdir == ""))
	{
		thumbdir = location.pathname.substring(0,location.pathname.lastIndexOf('/'))+"/Thumb";
	}
	
	target = "/php/bigpic.php?dir="+dir+"&amp;thumbdir="+thumbdir+"&amp;pic="+target_pic;
		
	openPopWin (target,860,725,'','cen','cen');
}


