/// Companion client-side JavaScript file to a "Trusted Link" Launch
/// page for secure login to AllRegs Online.
///
/// Last revised: 8/22/2007
///
/// Please note! This file is designed to be used for calling an AllRegs
/// "Trusted Link" launch file.  This script opens that file in a browser
/// popup window.  Using the function contained in this file will exempt
/// that new window from most popup blocking software.
///
/// DO NOT MODIFY THIS FILE.  AllRegs will not support altered
/// implementations of its technology.
/// 


function openAllRegs(URL) { 
	var vWindowHeight = 600; 
	var vWindowWidth = 800; 
	var left = ( screen.availWidth / 2 ) - ( vWindowWidth / 2 ); 
	var top = ( screen.availHeight / 2 ) - ( ( vWindowHeight / 2 ) ); 
	window.open( URL, "TLinkAuth", "height="+vWindowHeight+",width="+vWindowWidth+",top=" + top + ",left="+left, true ); 
} 
