/* Here is the code for the pop-out windows, for full-size images, from sitepoint.com by Ian Lloyd   http://www.sitepoint.com/article/perfect-pop-up/1 */var newWin = null;function popUp(strURL, strType, strHeight, strWidth) {if (newWin != null && !newWin.closed) newWin.close();var strOptions="";if (strType=="console") strOptions="resizable,height="+strHeight+",width="+strWidth;if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,"+"resizable,location,height="+strHeight+",width="+strWidth;newWin = window.open(strURL, 'newWin', strOptions);newWin.focus();}/* this fixes focus problem with pop-ups: the code assesses state of the pop-up, then closes pop-up window and re-opens it with its new dimensions */