var orgWindow = null
	
	function smallWindow( where )	{
	
	if (!orgWindow || orgWindow.closed) {
		if( window.screen ) {
			// we can tell the screen size
		orgWindow = window.open( where, "spawn", "toolbar=0,alwaysRaised=yes,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,width=560,height=480,top=" + ( screen.availHeight / 2 - 300 ) + ",left=" + ( screen.availWidth - 800) );
		} else { 			
			// just pop up anywhereon the screen
		orgWindow = window.open( where, "spawn", "toolbar=0,alwaysRaised=yes,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,width=560,height=480" );
		}
	
	} else { 
		// if we can bring to to the front right now 
		 orgWindow.close();
				if( window.screen ) {
			// we can tell the screen size
		orgWindow = window.open( where, "spawn", "toolbar=0,alwaysRaised=yes,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,width=560,height=480,top=" + ( screen.availHeight / 2 - 300 ) + ",left=" + ( screen.availWidth - 800) );
		} else { 			
			// just pop up anywhere on the screen
		orgWindow = window.open( where, "spawn", "toolbar=1,alwaysRaised=yes,location=0,directories=0,status=0,menubar=1,scrollbars=0,resizable=0,copyhistory=0,width=560,height=480" );
		}
		}
	}
	function closeSpawn() {
		if (!orgWindow || orgWindow.closed) {
			return 
		} else {
			orgWindow.close()
		}
	}


