function popupContentForm(url, page, token, language, mode) {
	url = url + '&fuseactionid=' + page + '&token=' + token + '&languageid=' + language + '&formdisplaymode=' + mode;
	newwindow = window.open(url,'name','height=570,width=650');
	if (window.focus) {newwindow.focus()}
	return false;
}

function getMouseX(e){
	xcoord = 0;

	if( typeof( e.pageX ) == 'number' ) {
		//most browsers
		xcoord = e.pageX;
	}
	else
		if( typeof( e.clientX ) == 'number' ) {
			//Internet Explorer and older browsers
			//other browsers provide this, but follow the pageX/Y branch
			xcoord = e.clientX;
			var badOldBrowser = ( window.navigator.userAgent.indexOf( 'Opera' ) + 1 ) || ( window.ScriptEngine && ScriptEngine().indexOf( 'InScript' ) + 1 ) || ( navigator.vendor == 'KDE' );

			if( !badOldBrowser ) {
				if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
					//IE 4, 5 & 6 (in non-standards compliant mode)
					xcoord += document.body.scrollLeft;
				}
				else
					if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
						//IE 6 (in standards compliant mode)
						xcoord += document.documentElement.scrollLeft;
					}
			}
		}

	return xcoord;
}

function getMouseY(e){
	ycoord = 0;

	if( typeof( e.pageX ) == 'number' ) {
		//most browsers
		ycoord = e.pageY;
	}
	else
		if( typeof( e.clientX ) == 'number' ) {
			//Internet Explorer and older browsers
			//other browsers provide this, but follow the pageX/Y branch
			ycoord = e.clientY;
			var badOldBrowser = ( window.navigator.userAgent.indexOf( 'Opera' ) + 1 ) || ( window.ScriptEngine && ScriptEngine().indexOf( 'InScript' ) + 1 ) || ( navigator.vendor == 'KDE' );

			if( !badOldBrowser ) {
				if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
					//IE 4, 5 & 6 (in non-standards compliant mode)
					ycoord += document.body.scrollTop;
				}
				else
					if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
						//IE 6 (in standards compliant mode)
						ycoord += document.documentElement.scrollTop;
					}
			}
		}

	return ycoord;
}