
function hide() {
	if (document.getElementById) { // DOM3 = IE5, NS6
				var init="init";
				var first="first";
				var second="second";
				var third="third";
				var fourth="fourth";
				var fifth="fifth";
				var sixth="sixth";

		document.getElementById(init).style.display = 'none';
		document.getElementById(first).style.display = 'none';
		document.getElementById(second).style.display = 'none';
		document.getElementById(third).style.display = 'none';
		document.getElementById(fourth).style.display = 'none';
		document.getElementById(fifth).style.display = 'none';
		document.getElementById(sixth).style.display = 'none';

	}
			
		else if (document.layers) { // Netscape 4
				var init="init";
				var first="first";
				var second="second";
				var third="third";
				var fourth="fourth";
				var fifth="fifth";
				var sixth="sixth";

		document.init.style.display = 'none';
		document.first.style.display = 'none';
		document.second.style.display = 'none';
		document.third.style.display = 'none';
		document.fourth.style.display = 'none';
		document.fifth.style.display = 'none';
		document.sixth.style.display = 'none';
	}
}
 
function swap(no)
 {
	//safe function to show an element with a specified id
		  
	if (document.getElementById) { // DOM3 = IE5, NS6
				hide();
				document.getElementById(no).style.display = 'block';
	
	}


	else if (document.layers) { // Netscape 4
				hide();
					document.no.style.display = 'block';
		}
	}

		//function conceal email address
		
function mailer(text) {			
				var anchortext = text;
				var mailpart1 = 'gary';
				var mailpart2 = 'pophamalpacas.co.uk';
				document.write("<a href=" + "mail" + "to:" + mailpart1 +
				"@" + mailpart2 + ">" + anchortext + "</a>");
				}