//
// My stuff
function setMsg(msg){
  window.status=msg;
  return true;
}

var bigPic = null;
function showTMJ(pic, width, height){
	if(bigPic !=null ){
		bigPic.window.close();
	}
    bigPic=window.open(pic,"bigPic","dependent,height=" + height + ",width=" + width +",alwaysRaised");
		if(bigPic.opener == null){
		bigPic.opener=self;
	}	
  setMsg(); 
}

function closeWindow(){
   if (bigPic != null){
   		bigPic.window.close();
   		bigPic=null;
	}
  setMsg();
}