function ns(emn) {
	email = '<a href="mailto:' + emn + '@fibreglassmouldings.co.uk';
	email = email + '">' + emn + '@fibreglassmouldings.co.uk</a>';
	document.write (email);
}

function NoSpam(emn,dmn,dme,nme,cls) {
if (nme == null || nme == '') {
	nme = emn + '@' + dmn + '.' + dme;
	}
email = '<a href="mailto:' + emn + '@' + dmn + '.' + dme + '"';
if (cls != null) {
	email = email + ' class="' + cls + '"'
}
email = email + '>' + nme + '</a>';
document.write (email);
}

function NoSpam2(emn,dmn,nme,cls) {
if (nme == null || nme == '') {
	nme = emn + '@' + dmn;
	}
email = '<a href="mailto:' + emn + '@' + dmn + '"';
if (cls != null) {
	email = email + ' class="' + cls + '"'
}
email = email + '>' + nme + '</a>';
document.write (email);
}
function NewWindow(mypage,w,h,scroller) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroller+',resizable'
	win = window.open(mypage, 'popwin', winprops)
	if (parseInt(navigator.appVersion) >= 4) {
		win.window.focus()
	}
}
function FullWindow(mypage) {
	var winl = '0';
	var wint = '0';
	winprops = 'height=' + screen.height + ',width=' + screen.width + ',top='+wint+',left='+winl+',scrollbars=no,resizable'
	win = window.open(mypage, 'thePage', winprops)
	if (parseInt(navigator.appVersion) >= 4) {
		win.window.focus()
	}
}