	
var newWindow 

function openWindow(ltop,lleft,lwidth,lheight,docSource,winName,ltbar,lloc,ldir,lstatus,lscroll,lresize,lcopyhist,mbar) 
{
  popUpWin = window.open(docSource,winName,'toolbar='+ltbar+',location='+lloc+',directories='+ldir+',status='+lstatus+',scrollbars='+lscroll+',resizable='+lresize+',copyhistory='+lcopyhist+',width='+lwidth+',height='+lheight+',top='+ltop+',left='+lleft+',menubar='+mbar);			
  self.newWindow = popUpWin;
}
		
function preDefWin(href)
{		
   openWindow(20,20,600,400,href,'newWin','no','no','no','no','no','no','no','no');
}
		

function closeWindow()
{
	self.newWindow.close();
}		

function goHist(a) 
{

   history.go(a);      
}

