// JavaScript Document for Berkshire Bank 2005
var GenericPopup = null;
function OpenGenericPopup(pstrURL, pstrName, pintwidth, pintheight) 
{
	GenericPopup = null;
	GenericPopup = window.open(pstrURL,pstrName,"width=" + pintwidth + ",height=" + pintheight + ",toolbar=0,location=0,directories=0,resizable=1,status=1,menubar=0,scrollbars=1");
	return GenericPopup;
}
function CloseOpenPopups() 
{
	if(GenericPopup != null) {
		if (GenericPopup.closed == false)
			GenericPopup.close()
	}
}

function LeavePopup() { 
var agree = confirm("YOU ARE ABOUT TO LEAVE BERKSHIRE BANK'S INTERNET SITE. \n\nThe hyperlinks to these Internet sites are provided solely as a convenience to the users of the Berkshire Bank Internet site.  The Bank has made a limited effort to determine that these links function properly.  However, linked sites are not under the control of the Bank, and the Bank is not responsible for the contents of any linked site, or any link contained in a linked site.  You are responsible for confirming the identity and authenticity of any site you visit and transact business with online.  The inclusion of a link does not imply or constitute an endorsement by the Bank, its ownership or management, the products or services it offers, or any advertisers or sponsors appearing on these web sites.");
if (agree)
       return true;
else return false;
 }