function Amber () {

	this.constructor = function() {
	}

	this.showMediumPhoto = function(sUrl, sTitle) {
		var oCont = $('divMediumPhoto');
		
		// Kill any existing elements
		while (oCont.lastChild) {
			oCont.removeChild(oCont.lastChild);
		}
		
		// Add title
		var oPara = document.createElement('p');
		var sText = document.createTextNode(sTitle);
		oPara.appendChild(sText);
		oCont.appendChild(oPara);
		
		// Add image
		var oImage = new Image();
		oCont.appendChild(oImage);
		oImage.src = sUrl;
	}
	
	this.sendEmail = function() {
		var sName = 'amber';
		var sDomain = 'ambrosineallen';
		window.location = 'mailto:' + sName + '@' + sDomain + '.co.uk';
	}
	
	this.makeUrl = function() {
		var oCont = $('divGeneratedUrl');
		var oText = $('txtUrl');
		oCont.innerHTML = '<p> &lt;a href="' + oText.value  + '"&gt;WRITE YOUR LINK TITLE HERE&lt;/a&gt;</p>';
	}
}
