

/* ----------- */


// MAIL : v1r1.08'0630
	

	function contact_beaufonts() {
		confirm("Please send email to: " + atBoo())
	}

	function atBoo(iRecipient) {
	  // generates an at beaufonts email address text string
		// iRecipient : target email recipient, typically 'contact'
		var iTemp = '';
		iTemp += 'contact';
		iTemp += '@beaufonts.co';
		iTemp += 'm';
		return iTemp;
	}

	function makeMailTag(iSendTo,iSubject) {
	  // generates a complete mail_To tag
		// iSendTo  : target email address, typically 'contact at ...'
		// iSubject : subject of the message, typically 'Beaufonts enquiry'
		var iTemp = '';
		iTemp = '<A HREF="m';
		iTemp += 'ailto:';
		iTemp += iSendTo;
		iTemp += '?&subject=';
		iTemp += iSubject;
		iTemp += '">';
		iTemp += '<B>';
		iTemp += iSendTo;
		iTemp += '</B></A>';
		return iTemp;
	}

/* ----------- */


// WINDOW : v2r2.07'0727

	var defWindow = 'arc_002'

	function openWindow(iName,iURL,x,y,iExtras) {
		var y1 = Math.floor(y+48);
		if ( iName == 1 ) { iName = defWindow; }
		if ( screen.width <= x ) { var xx = 0; } else { var xx = Math.floor((screen.width - x) / 2); }
		if ( screen.height <= y1 ) { var yy = 0; } else { var yy = Math.floor((screen.height - y1) / 2); }
		if ( iExtras == 1 ) { var iExtras = ',status=no,resizable=yes,scrollbars=yes'; } else { var iExtras = ',status=no,resizable=no,scrollbars=no'; }
		var iWinPos = ',left=' + xx + ',top=' + yy
		var iFeatures = 'width='+ x +',height='+ y + iWinPos + iExtras;
		openNewWindow(iURL,iName,iFeatures);
	}

	function openNewWindow(iURL,iName,iFeatures) {
		newWindow = window.open(iURL,iName,iFeatures);
		newWindow.focus();
	}

//


/* ----------- */

/* ----------- */


/* ----------- */
/* ----------- */
