function showImage(imgUrl, imgName, imgInfo, imgWidth, imgHeight)
{
	//var screenw1 = parseInt(imgWidth) + 20;
	var screenw1 = 680;
	var screenh1 = parseInt(imgHeight) + 50;
	var vspace1 = (screen.availWidth - screenw1) / 2;
	var hspace1 = (screen.availHeight - screenh1) / 2;

	showWin = window.open('','showWin','width='+screenw1+',height='+screenh1+',top='+hspace1+',left='+vspace1+',channelmode=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=0,toolbar=0');
	showWin.focus();

	var winContent = "<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD XHTML 1.0 Strict\/\/EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n\t<title>"+imgName+"</title>\n\t<meta name=\"robots\" content=\"noindex, nofollow\" />\n\t<meta http-equiv=\"imagetoolbar\" content=\"no\" />\n</head>\n";
	winContent += "<body style=\"background: #dac8dd url(../images/homepage/gradient.jpg) 0 -350px repeat-x; color: #000;\">\n";
	winContent += "\t<div style=\"text-align: center;\">\n"
	winContent += "\t\t<p style=\"margin: 0; padding: 0;\"><img style=\"border: 1px solid #dac8dd;\" src=\""+imgUrl+"\" width=\""+imgWidth+"\" height=\""+imgHeight+"\" alt=\"\" onclick=\"window.close();\" /></p>\n";
	winContent += "\t\t<p style=\"font: 10px verdana, arial, sans-serif; margin: 10px 0 0; padding: 0;\">&nbsp;"+imgInfo+"&nbsp;</p>\n\t</div>\n";
	winContent += "</body>\n</html>\n";

	showWin.document.write(winContent);
	showWin.document.close();
}

function openWindow(winUrl,winName,winWidth,winHeight)
{
	var screenw1 = winWidth;
	var screenh1 = winHeight;
	
	var vspace1 = (screen.availWidth - screenw1) / 2;
	var hspace1 = (screen.availHeight - screenh1) / 2;

	newWin = window.open(winUrl,winName,'width='+screenw1+',height='+screenh1+',top='+hspace1+',left='+vspace1+',resizable=0,scrollbars=0,titlebar=0,toolbar=0,menubar=0,status=0,directories=0,personalbar=0');
	newWin.focus();
}

function openWin(theURL)
{
    newWin = window.open(theURL,'_blank');
    newWin.focus();
}

function myHref(theURL)
{
	window.location.href=theURL;
}