function launchWindow(winHeight,winWidth,winUrl,winName,winAtts)	{
// example link <a href="text.html" onclick="launchWindow('100','100','test.html','test','scrollbars,menubar,toolbar,status,scrollbars');return false;">Hit it</a>
	
	
		 
		  var winAttributes = "left=50,top=50,width=" + winWidth + ",height=" + winHeight
		
			if (winAtts)	{
				winAttributes += "," + winAtts;
			}
			/*
			winAtts must be comma delimited
			valid entries are:
			menubar [this will show file,edit etc. menus]
			toolbar [this will show the browser buttons like back/forward]
			status [this is the status bar at the bottom of the page]
			scrollbars [this will show scrollbars]
			*/
		
		
		childWindow = window.open(winUrl,winName,winAttributes);
		
		childWindow.focus();

}

function launchWindow2(winHeight,winWidth,winUrl,winName,winAtts)	{
// example link <a href="text.html" onclick="launchWindow('100','100','test.html','test','scrollbars,menubar,toolbar,status,scrollbars');return false;">Hit it</a>
	
		
		 var winAttributes = "left=50,top=50,width=" + winWidth + ",height=" + winHeight
		
			if (winAtts)	{
				winAttributes += "," + winAtts;
			}
			/*
			winAtts must be comma delimited
			valid entries are:
			menubar [this will show file,edit etc. menus]
			toolbar [this will show the browser buttons like back/forward]
			status [this is the status bar at the bottom of the page]
			scrollbars [this will show scrollbars]
			*/
		
		childWindow = window.open('',winName,winAttributes);
		childWindow.document.write(winUrl)
				
		childWindow.focus();

}