/* Proper Usage:

User can spec the specific attributes of the window like this...
<a 	href="http://www.martinballet.com/006/tech-cv/pub-de.jpg" 
	onclick="newWindow(this.href, 'testy', 'toolbar=yes, width=900, height=200, resizable=yes, scrollbars=yes'); return false;"
>

...or *not* supply specs at all, in which case the default specs will be supplied...
<a 	href="http://www.martinballet.com/006/tech-cv/pub-de.jpg" 
	onclick="newWindow(this.href, 'testy'); return false;"
>

...parameters that *should* be passed are the first one, 'this.href' (but without any kind of quoting) which refers to the href value of the element, and
...the window name which can be any alpha/numeric characters in single quotation marks. Use different names for each link if the visitor should be able to open all the links in separate windows.
If you want to open everything into the same window, then this second parameter should be the same for all links.

*/

  function newWindow(url, nameOfWindow, spex)
  {
		if (spex == "" || spex == undefined) {
			spex = 'toolbar=yes, width=800, height=600, resizable=yes, scrollbars=yes';
		}
    	nameOfWindow=window.open(url, nameOfWindow, spex);
		nameOfWindow.focus();
  
	}
	
	
