function noLinks(user,domain,site) {
locationstring = "mailto:" + user + "@" + domain + "?subject=" + site + " Website Enquiry";
window.location = locationstring;
}

//used in menu search field
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
		thefield.value = ""
} 
//end custom and cf related
function loadFlashButton(x,y,z){
			//alert('x:' + x + ',y :' + y + ',z  :' + z);
			var flashvars = {};
			var params = {};
			var attributes = {};
			flashvars.theURL = z;
			attributes.id = "flashButton" + y;
			swfobject.embedSWF(x, "flashButton"+y, "156", "132", "8.0.0", "swf/expressInstall.swf", flashvars, params, attributes);
}


function cursorMove(n) {
	//alert(document.forms[n].elements[0].name);
	document.forms[n].elements[0].focus();
	
}

function showText() {
	document.getElementById('galleryThumbs').style.display = 'none';
	document.getElementById('highlight2').style.display = 'none';
	document.getElementById('galleryText').style.display = 'block';	
		
}
function showImages() {
	document.getElementById('galleryThumbs').style.display = 'block';
	document.getElementById('highlight2').style.display = 'block';
	document.getElementById('galleryText').style.display = 'none';	
		
}

