<!--//

{

/* NEW INDEX NAVIGATION START */

indexmenuoff = new Image();
indexmenuoff.src = "http://www.bjsrestaurants.com/graphics/index_menu_off.gif";
indexmenuhover = new Image();
indexmenuhover.src = "http://www.bjsrestaurants.com/graphics/index_menu_hover.gif";

indexlocationsoff = new Image();
indexlocationsoff.src = "http://www.bjsrestaurants.com/graphics/index_locations_off.gif";
indexlocationshover = new Image();
indexlocationshover.src = "http://www.bjsrestaurants.com/graphics/index_locations_hover.gif";

indexcurbsideoff = new Image();
indexcurbsideoff.src = "http://www.bjsrestaurants.com/graphics/index_curbside_off.gif";
indexcurbsidehover = new Image();
indexcurbsidehover.src = "http://www.bjsrestaurants.com/graphics/index_curbside_hover.gif";

indexonlineoff = new Image();
indexonlineoff.src = "http://www.bjsrestaurants.com/graphics/index_online_off.gif";
indexonlinehover = new Image();
indexonlinehover.src = "http://www.bjsrestaurants.com/graphics/index_online_hover.gif";

indexbeeroff = new Image();
indexbeeroff.src = "http://www.bjsrestaurants.com/graphics/index_beers_off.gif";
indexbeerhover = new Image();
indexbeerhover.src = "http://www.bjsrestaurants.com/graphics/index_beers_hover.gif";

indexgiftcardsoff = new Image();
indexgiftcardsoff.src = "http://www.bjsrestaurants.com/graphics/index_gift_cards_off.gif";
indexgiftcardshover = new Image();
indexgiftcardshover.src = "http://www.bjsrestaurants.com/graphics/index_gift_cards_hover.gif";

indexinvestorsoff = new Image();
indexinvestorsoff.src = "http://www.bjsrestaurants.com/graphics/index_investors_off.gif";
indexinvestorshover = new Image();
indexinvestorshover.src = "http://www.bjsrestaurants.com/graphics/index_investors_hover.gif";

globalhomeoff = new Image();
globalhomeoff.src = "http://www.bjsrestaurants.com/graphics/globalnav_home_off.gif";
globalhomehover = new Image();
globalhomehover.src = "http://www.bjsrestaurants.com/graphics/globalnav_home_hover.gif";

globalinvestorsoff = new Image();
globalinvestorsoff.src = "http://www.bjsrestaurants.com/graphics/globalnav_investors_off.gif";
globalinvestorshover = new Image();
globalinvestorshover.src = "http://www.bjsrestaurants.com/graphics/globalnav_investors_hover.gif";

/* NEW INDEX NAVIGATION FINISH */

homeoff = new Image();
homeoff.src = "http://www.bjsrestaurants.com/graphics/topnav_home_off.gif";
homehover = new Image();
homehover.src = "http://www.bjsrestaurants.com/graphics/topnav_home_hover.gif";

locationsoff = new Image();
locationsoff.src = "http://www.bjsrestaurants.com/graphics/topnav_locations_off.gif";
locationshover = new Image();
locationshover.src = "http://www.bjsrestaurants.com/graphics/topnav_locations_hover.gif";

menuoff = new Image();
menuoff.src = "http://www.bjsrestaurants.com/graphics/topnav_menu_off.gif";
menuhover = new Image();
menuhover.src = "http://www.bjsrestaurants.com/graphics/topnav_menu_hover.gif";

beeroff = new Image();
beeroff.src = "http://www.bjsrestaurants.com/graphics/topnav_beer_off.gif";
beerhover = new Image();
beerhover.src = "http://www.bjsrestaurants.com/graphics/topnav_beer_hover.gif";

giftcardsoff = new Image();
giftcardsoff.src = "http://www.bjsrestaurants.com/graphics/topnav_gift_cards_off.gif";
giftcardshover = new Image();
giftcardshover.src = "http://www.bjsrestaurants.com/graphics/topnav_gift_cards_hover.gif";

investorsoff = new Image();
investorsoff.src = "http://www.bjsrestaurants.com/graphics/topnav_investors_off.gif";
investorshover = new Image();
investorshover.src = "http://www.bjsrestaurants.com/graphics/topnav_investors_hover.gif";

aboutusoff = new Image();
aboutusoff.src = "http://www.bjsrestaurants.com/graphics/globalnav_about_us_off.gif";
aboutushover = new Image();
aboutushover.src = "http://www.bjsrestaurants.com/graphics/globalnav_about_us_hover.gif";

careersoff = new Image();
careersoff.src = "http://www.bjsrestaurants.com/graphics/globalnav_careers_off.gif";
careershover = new Image();
careershover.src = "http://www.bjsrestaurants.com/graphics/globalnav_careers_hover.gif";

relationsoff = new Image();
relationsoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_relations_off.gif";
relationshover = new Image();
relationshover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_relations_hover.gif";

eventoff = new Image();
eventoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_event_off.gif";
eventhover = new Image();
eventhover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_event_hover.gif";

governanceoff = new Image();
governanceoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_governance_off.gif";
governancehover = new Image();
governancehover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_governance_hover.gif";

stockoff = new Image();
stockoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_stock_off.gif";
stockhover = new Image();
stockhover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_stock_hover.gif";

newsoff = new Image();
newsoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_news_off.gif";
newshover = new Image();
newshover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_news_hover.gif";

secoff = new Image();
secoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_sec_off.gif";
sechover = new Image();
sechover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_sec_hover.gif";

financialoff = new Image();
financialoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_financial_off.gif";
financialhover = new Image();
financialhover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_financial_hover.gif";

presentationsoff = new Image();
presentationsoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_presentations_off.gif";
presentationshover = new Image();
presentationshover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_presentations_hover.gif";

fundamentalsoff = new Image();
fundamentalsoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_fundamentals_off.gif";
fundamentalshover = new Image();
fundamentalshover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_fundamentals_hover.gif";

dividendsoff = new Image();
dividendsoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_dividends_off.gif";
dividendshover = new Image();
dividendshover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_dividends_hover.gif";

purchaseoff = new Image();
purchaseoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_purchase_off.gif";
purchasehover = new Image();
purchasehover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_purchase_hover.gif";

earningsoff = new Image();
earningsoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_earnings_off.gif";
earningshover = new Image();
earningshover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_earnings_hover.gif";

ownershipoff = new Image();
ownershipoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_ownership_off.gif";
ownershiphover = new Image();
ownershiphover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_ownership_hover.gif";

analystsoff = new Image();
analystsoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_analysts_off.gif";
analystshover = new Image();
analystshover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_analysts_hover.gif";

faqoff = new Image();
faqoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_faq_off.gif";
faqhover = new Image();
faqhover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_faq_hover.gif";

alertsoff = new Image();
alertsoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_alerts_off.gif";
alertshover = new Image();
alertshover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_alerts_hover.gif";

requestoff = new Image();
requestoff.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_request_off.gif";
requesthover = new Image();
requesthover.src = "http://www.bjsrestaurants.com/graphics/leftnav_investors_request_hover.gif";

arrowoff = new Image();
arrowoff.src = "http://www.bjsrestaurants.com/graphics/button_arrow_off.gif";
arrowhover = new Image();
arrowhover.src = "http://www.bjsrestaurants.com/graphics/button_arrow_hover.gif";

learnoff = new Image();
learnoff.src = "http://www.bjsrestaurants.com/graphics/button_learn_off.gif";
learnhover = new Image();
learnhover.src = "http://www.bjsrestaurants.com/graphics/button_learn_hover.gif";

}

function changeImage(imgDocID1,imgObjName1) {
{
document.images[imgDocID1].src = eval(imgObjName1 + ".src");}
}

function clearText(thefield) {
if (thefield.defaultValue == thefield.value) thefield.value = ""
 } 

function storesearch(obj) 
{
var e =document.getElementById(obj);

	if(e.value != '') 
	{
	location='http://www.bjsrestaurants.com/locations.aspx?sparam=' + e.value;
	}

} 

function AC_AddExtension(src, ext)
{
  if (src.indexOf('?') != -1)
    return src.replace(/\?/, ext+'?'); 
  else
    return src + ext;
}

function AC_Generateobj(objAttrs, params, embedAttrs) 
{ 
  var str = '<object ';
  for (var i in objAttrs)
    str += i + '="' + objAttrs[i] + '" ';
  str += '>';
  for (var i in params)
    str += '<param name="' + i + '" value="' + params[i] + '" /> ';
  str += '<embed ';
  for (var i in embedAttrs)
    str += i + '="' + embedAttrs[i] + '" ';
  str += ' ></embed></object>';

  document.write(str);
}

function AC_FL_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
     , "application/x-shockwave-flash"
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_SW_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
     , null
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
  var ret = new Object();
  ret.embedAttrs = new Object();
  ret.params = new Object();
  ret.objAttrs = new Object();
  for (var i=0; i < args.length; i=i+2){
    var currArg = args[i].toLowerCase();    

    switch (currArg){	
      case "classid":
        break;
      case "pluginspage":
        ret.embedAttrs[args[i]] = args[i+1];
        break;
      case "src":
      case "movie":	
        args[i+1] = AC_AddExtension(args[i+1], ext);
        ret.embedAttrs["src"] = args[i+1];
        ret.params[srcParamName] = args[i+1];
        break;
      case "onafterupdate":
      case "onbeforeupdate":
      case "onblur":
      case "oncellchange":
      case "onclick":
      case "ondblClick":
      case "ondrag":
      case "ondragend":
      case "ondragenter":
      case "ondragleave":
      case "ondragover":
      case "ondrop":
      case "onfinish":
      case "onfocus":
      case "onhelp":
      case "onmousedown":
      case "onmouseup":
      case "onmouseover":
      case "onmousemove":
      case "onmouseout":
      case "onkeypress":
      case "onkeydown":
      case "onkeyup":
      case "onload":
      case "onlosecapture":
      case "onpropertychange":
      case "onreadystatechange":
      case "onrowsdelete":
      case "onrowenter":
      case "onrowexit":
      case "onrowsinserted":
      case "onstart":
      case "onscroll":
      case "onbeforeeditfocus":
      case "onactivate":
      case "onbeforedeactivate":
      case "ondeactivate":
      case "type":
      case "codebase":
        ret.objAttrs[args[i]] = args[i+1];
        break;
      case "width":
      case "height":
      case "align":
      case "vspace": 
      case "hspace":
      case "class":
      case "title":
      case "accesskey":
      case "name":
      case "id":
      case "tabindex":
        ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
        break;
      default:
        ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
    }
  }
  ret.objAttrs["classid"] = classid;
  if (mimeType) ret.embedAttrs["type"] = mimeType;
  return ret;
}

//-->