function makeArray(n){
  this.length = n;
  for (i=1;i<=n;i++){
    this[i]=0;
  }
  return this;
}

function displayDate() {
	var this_month = new makeArray(12);
    this_month[0]  = "January";
    this_month[1]  = "February";
    this_month[2]  = "March";
    this_month[3]  = "April";
    this_month[4]  = "May";
    this_month[5]  = "June";
    this_month[6]  = "July";
    this_month[7]  = "August";
    this_month[8]  = "September";
    this_month[9]  = "October";
    this_month[10] = "November";
    this_month[11] = "December";
	var today = new Date();
	var day   = today.getDate();
	var month = today.getMonth();
	var year  = today.getYear();
	if (year <= 100){
		year += 1900;
	}
  return(this_month[month]+" "+day+", "+year);
}


function close() {
document.location.href = "slide_show.php";
}

function aboutUs() {
 top.frames['target'].location='about_us.php';
}

function contactUs() {
 top.frames['target'].location='contact_us.php';
}

function reviews() {
 top.frames['target'].location='reviews.php';
}

function reservations() {
 top.frames['target'].location='reservations.php';
}

function events() {
 top.frames['target'].location='events.php';
}

function coupons()
   {
   window.open("http://www.tasteofportugal.net/coupons.php",'coupons',
   'width=539,height=410,menubar=no,status=no,location=no,toolbar=no,scrollbars=no');
   }

function sportsBar()
   {
   window.open("http://www.tasteofportugal.net/sportsbar.php",'sportsBar',
   'width=550,height=400,menubar=no,status=no,location=no,toolbar=no,scrollbars=no,resize=no');
   }
	 
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")