// Std function for opening pop-up windows. For example the contact forms
popupWins = new Array();
function windowOpener(url, name, args) {
	if ( typeof( popupWins[name] ) != "object" ) {
		popupWins[name] = window.open(url,name,args);
	} else {
		if (!popupWins[name].closed){
			popupWins[name].location.href = url;
		} else {
			popupWins[name] = window.open(url, name,args);
		}
	}
	popupWins[name].focus();
}
function windowopener(url,name,args) { windowOpener(url,name,args); }
// Std function for opening pop-up print windows.
function printWindowOpener(url) {
	if (url.indexOf("?") == -1) {
	window.open(url + "?OpenDocument&printform=true" , "printform" , 'scrollbars=yes , width=680 , height=700 , screenx=10 , screeny=10 , top=10 , left=10' )
	} else {
		window.open(url + "&printform=true" , "printform" , 'scrollbars=yes , width=680 , height=700 , screenx=10 , screeny=10 , top=10 , left=10' )
	}
}
