function getObj(id)
{
	var obj = null;
	if (document.all)
	{
		obj = eval('document.all.' + id);
	} else {
		obj = document.getElementById(id);
	}
	
	return obj;
}

function PopUpPic(item) {
	newWindow = window.open('','newWin', 'width=750, height=570px');
	newWinSrc = '<html><head><title>' + item + '</title></head><body style=\'margin: 0px; padding: 0px;\'><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" valign="middle"><img src="_img/gallery/'+ item + '" /></td></tr></table></body></html>';
	newWindow.document.write(newWinSrc);
}