function openWindow(url,width,height) 
	{
	var FromTop = self.screenTop + 10 ;
	var FromLeft = self.screenLeft + 10 ;
	popupWin = window.open(url,"mbf","menubar=no,left="+FromLeft+",top="+FromTop+",width="+width+",height="+height+",screenX=30,screenY=30")
	
	if (window.focus) {popupWin.focus()} // added Mark 21/03/06
	}

function openWindowNamed(url,width,height,winname) 
	{
	var FromTop = self.screenTop + 10 ;
	var FromLeft = self.screenLeft + 10 ;
	popupWin = window.open(url,winname,"menubar=no,scrollbars=yes,left="+FromLeft+",top="+FromTop+",width="+width+",height="+height+",screenX=30,screenY=30,resizable=yes")
	
	if (window.focus) {popupWin.focus()} // added Mark 21/03/06
	}

