﻿function showPic (whichpic) 
{ 
	if (document.getElementById) 
	{
	    //document.getElementById('placeholder').src = whichpic.href;
	    openFullSize(whichpic.href)
	
//		if (whichpic.title) 
//		{ 
//			document.getElementById('desc').childNodes[0].nodeValue = whichpic.title; 
//		} 
//		else 
//		{ 
//			document.getElementById('desc').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue; 
//		} 
//		
		//openFullSize();
		
		return false;
	} 
	else 
	{ 
		return true; 
	} 
}

function openFullSize(placeholder) 
{
	randomizer = Math.round(Math.random()*100000000);
	myName = eval (randomizer)
	var strURL = placeholder; //document.getElementById(placeholder).src;
	popupWin = window.open(strURL.substr(0,strURL.indexOf('.jpg'))+'_large.jpg', myName, 'location=no, width=820, height=615');
}