var winh=(screen.availHeight);
var winw=(screen.availWidth); 
var popped

function pop_it(HREF,Name,ScrollBars,Width,Height,ToolBar,Location,Directories,Status,MenuBar,Resizable,CopyHistory) {
	
	if (!Name)	{Name = 'TheWindow'}
	if (!ScrollBars)	{ScrollBars = 0}
	if (!ToolBar)	{ToolBar = 0}
	if (!Location)	{Location = 0}
	if (!Directories)	{Directories = 0}
	if (!Status)	{Status = 1}
	if (!MenuBar)	{MenuBar = 0}
	if (!Resizable)	{Resizable = 0}
	if (!CopyHistory)	{CopyHistory = 0}
	if (!Width)	{Width = 800}
	if (!Height)	{Height = 600}
	
	
		popped = window.open('about:blank',Name,"ToolBar=" + ToolBar + ",Location=" + Location + ",Directories=" + Directories + ",Status=" + Status + ",MenuBar=" + MenuBar + ",ScrollBars=" + ScrollBars + ",Resizable=" + Resizable + ",CopyHistory=" + CopyHistory + ",Width=" + Width + ",Height=" + Height + "");
		
		//popped.moveTo(((winw/2)-(Width/2)),((winh/2) - (Height/2)));  
		popped.moveTo(0,0);  
		popped.focus();
		popped.location.href = HREF;	    
}

