<!-- Hide code from older browsers

if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN)
	}
	
	document.onmousedown=CaptureMouseDown;

// 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"
	);
 
 
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;";
	
} 

// Function to add a URL to the Favourites

function add_favourites() {

	mURL="http://www.georginaspetshop.co.uk";
	mDesc="Georginas Pet Supplies, Tavistock Devon";
	if (mURL !== "location.href") {
		mURL = "'"+mURL+"'";
	}
	mystr = "window.external.AddFavorite("+mURL+",'"+mDesc+"')";
	eval(mystr);
} 

//
// send email avoiding loads of spam
//
function mailme() {
var name = "sales";
var domain = "georginaspetshop.co.uk";
var fulldomain = "georginaspetshop.co.uk?subject=Online Customer Enquiry";
document.write('<a href=\"mailto:' + name + '@' + fulldomain + '\">Contact us by email</a>');
}

//
// Function to process the capturing of mouse events and reduce copying of images
//
function CaptureMouseDown(evt) {
	if (evt)  {
		mouseClick = evt.which
	}
	else {
		mouseClick = window.event.button
	}

	if (mouseClick==2 || mouseClick==3) {
		alert("Sorry, the menu is currently unavailable")
		return false;
	}
}


// Stop hiding code -->



