
	
function photoOn(imgName) {if (document.images) {document.ph.src = imgName;}}
function mediaOn(imgName) {if (document.images) {document.med.src = imgName;}}
function blogOn(imgName) {if (document.images) {document.bl.src = imgName;}}
function contactOn(imgName) {if (document.images) {document.cont.src = imgName;}}

var NewWin;

function ImgWin(src,title,width,height)
{
if (navigator.userAgent.indexOf("Opera")!= -1) var isOpera = 1; 
if (isOpera != 1)
{
	if(NewWin) NewWin.close();
}

      var param = "height="+height+",width="+width+",status=no";

      NewWin=window.open("", "", param);
      NewWin.status="no";
      NewWin.document.write("<html><head>");
      NewWin.document.write("<title>"+title+"</title></head>");
      NewWin.document.write("<body bgcolor='black'>");
      NewWin.document.write("<center>");
      NewWin.document.write("<img src='"+src+"' onClick='window.close();'>");
      NewWin.document.write("</body>");
      NewWin.document.write("</html>");

}