// 
// launch an external window 
// variables used:
//	* myURL: the URL of the page to be opened
//	* myWindow: the name of the window
//	* windowWidth:  width of the popup window
//	* windowHeight:  height of the popup window
//	* toolbarState: on (yes) or off (no)
//	* statusState:  on (yes) or off (no)
//	* locationState:  on (yes) or off (no)
//	* resizableState:  on (yes) or off (no)
//	* scrollbarsState:  on (yes) or off (no)
//	* directoriesState: on (yes) or off (no)
//	* addressState: on (yes) or off (no)
// 	* menubarState: on (yes) or off (no)
//
// Filename: popWin.js
// Copyright (c) 2001 by Blair Reyburn (blairr@ashlandagency.com)
// http://www.ashlandagency.com
//
//
// This program is free software. You can redistribute it and/or modify 
// it under the terms of the GNU General Public License as published by 
// the Free Software Foundation; either version 2 of the License. 
//
//
// Usage:
// make a call from the HTML document via the onClick event handler
// or from an HREF call.
// onClick="popWin('http://www.ashlandagency.com','taa','640','480','yes','yes','yes','yes','yes','yes','yes','yes');"
// <A HREF="javascript:
// popWin('http://www.ashlandagency.com','taa','640','480','yes','yes','yes','yes','yes','yes','yes','yes');">
// 
// http://www.ashlandagency.com
//
// Build Revision v1.1
// Date: 5/25/2001

function popWin(myURL,myWindow,windowWidth,windowHeight,toolbarState,statusState,locationState,resizableState,scrollbarsState, directoriesState, addressState,menubarState) {
	var windowAttributes = 'width=' + windowWidth + ',' + 'height=' + windowHeight + ',' + 'toolbar=' + toolbarState + ',' + 'location=' + locationState + ',' + 'resizable=' + resizableState + ',' + 'scrollbars=' + scrollbarsState + ',' + 'directories=' + directoriesState + ',' + 'status=' + statusState + ',' + 'menubar=' + menubarState;
	window.open(myURL, myWindow, windowAttributes);
}