// ONLINE DONATION POP-UP WINDOW 
function ChargeWindow(OrgID)
			{
			window.open('https://128bit.clickandpledge.com/Default.asp?ID='+OrgID,'ChargeWindow','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=710,height=600');
			}

// ROLL-OVER
function roll(sect, obj, state) {
  if (state == 0) { document.images[obj].src = "http://www.bgcc.org/img/" + sect + "/" + obj + "_0.gif" };
  if (state == 1) { document.images[obj].src = "http://www.bgcc.org/img/" + sect + "/" + obj + "_1.gif" };
}

// ROLL GATEWAY BLURB
function rollBlurb(blurb) {
  document.images['photo_bottom'].src = "http://www.bgcc.org/img/gate/photo_bottom_" + blurb + ".jpg";
  if (blurb == 'donate') {
  	roll('gate','donate',1); 
  	roll('gate','volunteer',0);
  	roll('gate','sign_up',0);
  }
  else if (blurb == 'volunteer') {
	  roll('gate','donate',0);
	  roll('gate','volunteer',1);
	  roll('gate','sign_up',0);
  }
  else if (blurb == 'sign_up') {
	  roll('gate','donate',0);
	  roll('gate','volunteer',0);
	  roll('gate','sign_up',1);
  }
  else {
	  roll('gate','donate',0);
	  roll('gate','volunteer',0);
	  roll('gate','sign_up',0);
  }
}
  
// FLASH DETECT SCRIPT FOR FIND A CLUB
function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { //v4.0
  var ok=false; document.MM_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=autoGo; }
  if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}



with (navigator) if (appName.indexOf('Microsoft')!=-1 && appVersion.indexOf('Mac')==-1) document.write(''+
'<scr'+'ipt language="VBScript">\nOn error resume next\n'+
'MM_dir = IsObject(CreateObject("SWCtl.SWCtl.1"))\n'+
'MM_flash = NOT IsNull(CreateObject("ShockwaveFlash.ShockwaveFlash"))\n</scr'+'ipt>');



