<!-- Hide code from older browsers


// Function to display the date
 
 	d = new Array(
	"Sunday",
	"Monday",
	"Tuesday",
	"Wednesday",
	"Thursday",
	"Friday",
	"Saturday"
	);
	m = new Array(
	"January",
	"February",
	"March",
	"April",
	"May",
	"June",
	"July",
	"August",
	"September",
	"October",
	"November",
	"December"
	);
 

//
// display the current date
//
function DisplaytheDate() {
	
	today = new Date();
	day = today.getDate();
	year = today.getYear();
	
	if (year < 2000)    // Y2K Fix, Isaac Powell
	year = year + 1900; // http://onyx.idbsu.edu/~ipowell
	
	end = "th";
	if (day==1 || day==21 || day==31) end="st";
	if (day==2 || day==22) end="nd";
	if (day==3 || day==23) end="rd";
	day+=end;
		document.write(day+" "); document.write(m[today.getMonth()]+" " + year)+"&nbsp;&nbsp;";
	
} 

//
// send email avoiding loads of spam
//
function mailme() {
var name = "contact";
var domain = "moorland-furniture.co.uk";
var fulldomain = "moorland-furniture.co.uk?subject=Online Customer Enquiry";
document.write('<font color=\"#000000\""><a href=\"mailto:' + name + '@' + fulldomain + '\">');
document.write(name + '@' + domain + '</a></font>');
}


function nw(fimg) {
fimages = new Array(22);
fimages[0] = "images/gallery/CIMG0163.JPG";
fimages[1] = "images/gallery/CIMG0164.JPG";
fimages[2] = "images/gallery/CIMG0165.JPG";
fimages[3] = "images/gallery/CIMG0307.JPG";
fimages[4] = "images/gallery/CIMG0308.JPG";
fimages[5] = "images/gallery/CIMG0309.JPG";
fimages[6] = "images/gallery/CIMG0310.JPG";
fimages[7] = "images/gallery/CIMG0609.JPG";
fimages[8] = "images/gallery/CIMG0610.JPG";
fimages[9] = "images/gallery/CIMG0611.JPG";
fimages[10] = "images/gallery/CIMG0612.JPG";
fimages[11] = "images/gallery/CIMG0613.JPG";
fimages[12] = "images/gallery/CIMG0615.JPG";
fimages[13] = "images/gallery/CIMG0616.JPG";
fimages[14] = "images/gallery/CIMG0688.JPG";
fimages[15] = "images/gallery/CIMG0690.JPG";
fimages[16] = "images/gallery/CIMG0694.JPG";
fimages[17] = "images/gallery/CIMG0695.JPG";
fimages[18] = "images/gallery/CIMG0696.JPG";
fimages[19] = "images/gallery/CIMG0813.JPG";
fimages[20] = "images/gallery/CIMG0814.JPG";
fimages[21] = "images/gallery/CIMG0815.JPG";

bw=window.open(fimages[fimg],"fwin","width=480,height=360")
bw.focus()
}

// Stop hiding code -->



