/***********************************************************************
*  (c) AnnWebCom
************************************************************************/


function showMap(){
		document.location.href = 'http://www.streetmap.co.uk/streetmap.dll?grid2map?x=458399&Y=222696&arrow=y?0,35&title=BEANS+of+Bicester+-+Outdoor+Pursuits+Specialists&url=' + document.location.href + '&bimage=background%3dhttp://www.beansonline.co.uk/images/white.gif&back=Back+to+Beans+Online&zoom=3';
       }

function pop(page)  
 {  
  page= "http://www.beansonline.co.uk/" + page + "?popup" ;
  pop1 = window.open(page,'pop1','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=500,height=450');
  pop1.focus();
 }  

var onHeat = 'ppage';
function hot(name){
	cold ();
	eval(name+".style.backgroundColor='#B5D8F7'");
	onHeat = name;
}
function cold(){
	eval(onHeat+".style.backgroundColor='#E9F7FD'");
}

function y2k(number)
{ 
	return (number < 1000) ? number + 1900 : number;
}

var date = new Date();
var month = date.getMonth();
var day = date.getDate();
var year = y2k(date.getYear());

if (month == "0")
	month = "Jan.";
	else
if (month == "1")
	month = "Feb.";
	else
if (month == "2")
	month = "March";
	else
if (month == "3")
	month = "April";
	else
if (month == "4")
	month = "May";
	else
if (month == "5")
	month = "June";
	else
if (month == "6")
	month = "July";
	else
if (month == "7")
	month = "Aug.";
	else
if (month == "8")
	month = "Sept.";
	else
if (month == "9")
	month = "Oct.";
	else
if (month == "10")
	month = "Nov.";
	else
if (month == "11")
	month = "Dec.";

var dateText = (day + " " + month + " " + year);

/***********************************************************************
*
* menu rollover script
*
************************************************************************/
function over_effect(e,state){
if (document.all)
source4=event.srcElement
else if (document.getElementById)
source4=e.target
if (source4.className=="menulines")
source4.style.borderStyle=state;
else{
while(source4.tagName!="TABLE"){
source4=document.getElementById? source4.parentNode : source4.parentElement
if (source4.className=="menulines")
source4.style.borderStyle=state;
}
}
}
/* end of rollover script */