

// ---------- script properties ----------

var include_num = 0;
var bold = 1;

// ---------- sites ----------
//s[REC NUM] = "TITLE^URL OR FILENAME^DESCRIPTIVE LINE^KEYWORDS";

var s = new Array();

//splash page
s[0] = "Splash Page^../index.html^Main Splash Page^main, splash, mosaic";
//home page
s[1] = "English Home Page^index.html^Barry Spalding is one of New Brunswick's best known independent law firms. With offices in Saint John and Moncton, Barry Spalding offers full service, bilingual and cost-efficient legal services in Atlantic Canada and beyond.^home, english, anglais, news, current, class, actions, christmas, choir, welcome";
//christmas choir
s[2] = "Christmas Choir^christmas_choir.html^Barry Spalding Christmas Choir^christmas, choir, Christmas, Carol, live, on, CBC, Maritime, Noon, City, Market";
//class actions main page
s[3] = "Class Actions^class_actions.html^Class Actions^class, actions, Vioxx, General, motors, Agent, Orange, pet, food";
//vioxx
s[4] = "Vioxx Class Action^Vioxx.html^On October 27, 2004, BARRY SPALDING filed a class action in New Brunswick against MERCK FROSST CANADA LTD., MERCK FROSST CANADA & CO., MERCK & CO.,INC. pertaining to use of the drug VIOXX^On October 27, 2004, filed, a class action, New Brunswick, against, MERCK FROSST CANADA LTD., MERCK FROSST CANADA & CO., MERCK & CO.,INC. pertaining to use of the drug VIOXX";
//general motors
s[5] = "General Motors Class Action^general_motors.html^On June 12, 2006, BARRY SPALDING filed a class action in New Brunswick against GENERAL MOTORS OF CANADA and GENERAL MOTORS CORPORATION pertaining to the degradation of intake manifold gaskets.^GENERAL, MOTORS, CANADA, CORPORATION, pertaining ,degradation, intake, manifold, gaskets";
//dnd
s[6] = "Department of National Defence Class Action^agent_orange.html^On June 14, 2006, BARRY SPALDING filed a class action in New Brunswick against the DEPARTMENT OF NATIONAL DEFENCE and the ATTORNEY GENERAL OF CANADA pertaining to the spraying of toxic chemicals at CFB Gagetown.^DEPARTMENT OF NATIONAL DEFENCE, dnd, ATTORNEY GENERAL OF CANADA, pertaining, spraying, toxic chemicals, CFB, Gagetown";
//pet food
s[7] = "Pet Food Class Action^pet_food.html^ On March 30, 2007, BARRYSPALDING filed a class action in New Brunswick against various MENU FOODS entities pertaining to the recall of certain cans and pouches of dog and cat food after the illness and death of several animals.^MENU FOODS, cans, pouches, dog, cat, food, illness, death, animals.";
//about us
s[8] = "About Us^about_us.html^Barry Spalding is one of New Brunswick’s largest and best-known independent law firms.  We developed our reputation over many years by helping our clients achieve their goals and overcome the challenges that faced them. We keep abreast of the most advanced technology and expertise in order to achieve cost-effective legal solutions.  We’re inspired by our past, but we’re setting a standard for the future in Atlantic Canada and beyond.^about, us, clients, firm, profile, Community, Leaders, Innovative, Planners, Experienced, Strategists";
//areas of practice
s[9] = "Areas of Practice^area_of_practice/index.html^Barry Spalding is a full-service, bilingual law firm with special experience in a wide variety of areas.^Administrative, Law, Alternative Dispute Resolution, Construction Law, Corporate & Business Law, Environmental Law, Family Law, Insurance & Surety Law, Labour & Employment Law, Litigation Services, Motor Vehicle Accidents & Personal Injury, Real Estate & Property Law, Regulatory Law, Wills, Estates & Trusts, Other Areas of Practice";
//administrative law
s[10] = "Administrative Law^area_of_practice/administrative_law.html^Boards and Tribunals established by legislation have become the principal dispute resolution mechanism in our society. Professional regulations, telecommunications, competition law, aviation, property development and environmental regulations are but a few of the areas primarily controlled by Boards and Tribunals. Administrative Law provides protection to both individuals and corporations who appear before these Boards, Tribunals and Arbitrators.^Advocacy before Boards, Tribunals and Disciplinary Proceedings, Regulatory Proceedings, Oil and Gas Law, Labour Law, Workers' Compensation, Property Development, Telecommunications";
//alternative dispute resolution
s[11] = "Alternative Dispute Resolution^area_of_practice/alternative_dispute_resolution.html^The traditional Court approach to resolving matters is frequently not an effective nor cost efficient method of settling disputes. Alternative Dispute Resolution has become the acceptable methodology in many diverse matters and is proven, in many cases, to be more expedient. An experienced arbitrator or mediator often has more appropriate skill sets to resolve complex issues in a less formal and less costly fashion than can be obtained through the legal system. As well, as compared to resolution through arbitration or mediation, many complex issues which are placed before our Courts can require the development of a great deal of expensive expert evidence.^Arbitration, Mediation";
//Construction Law
s[12] = "Construction Law^area_of_practice/construction_law.html^Construction law is comprised of the provision of advice and representation in all matters relating to the construction process. This includes preparation of contract documentation and related agreements, contract negotiations, claims involving bid performance, labour and material payment liens and Judgment bonds, as well as a myriad of claims involving delay, the environment, unanticipated conditions and professional negligence.^Mechanics' Liens, Construction Contracts, Tenders, Performance Bonds, Professional Liability, Construction Litigation, Mediation and Arbitration";
//Corporate & Business Law
s[13] = "Corporate & Business Law^area_of_practice/corporate_business_law.html^At Barry Spalding we offer a wide range of legal services to our corporate and business clients. We are committed to smart business thinking and we know what it takes to provide our clients with timely and effective legal solutions for the local, national and international marketplace. We deliver it all utilizing the latest in technology combined with time-proven legal ability.^Incorporation, Amalgamation and Corporate Acquisition, Contracts and Commercial Agreements, Commercial Financing and Banking, Securities, Taxation, Regulatory Law, Charities/Not-for-Profit, Computer and IT Law, Intellectual Property, Commercial Litigation";
//Environmental Law
s[14] = "Environmental Law^area_of_practice/environmental_law.html^Over the past two decades environmental issues have moved to the forefront of the agenda of policy-makers worldwide. In Canada, frequent federal and provincial environmental law reforms require business and industry to keep abreast of these recent developments and to make sure their operations conform to the current legal environment. To assist our clients in meeting this challenge, our environmental law practice group is comprised of lawyers who have experience in a broad range of practice areas, including litigation and business/regulatory law.^Environmental Spills and Investigations, Environmental Assessment and Approvals Process, Coverage Opinions for Insurers, Environmental Litigation and Negotiation, Contaminated Sites and Products Liability, Due Diligence, Administrative and Regulatory Proceedings, Environmental Audits and Compliance Advice, Site Abandonment and Reclamation,";
//Family Law
s[15] = "Family Law^area_of_practice/family_law.html^The personal needs of clients are equally important to business and corporate needs. Historically, beginning with the Magna Carta some 900 years ago, the laws were developed to help people with problems they may have encountered in their daily lives. Our family law lawyers are among the most experienced in Atlantic Canada. Family law matters involve serious personal issues which must be resolved with quality legal advice in a cost efficient manner, combined with common sense and empathy for the parties.^Adoptions, Custody, Divorce, Matrimonial Property Division";
//Insurance & Surety Law
s[16] = "Insurance & Surety Law^area_of_practice/insurance_surety_law.html^Our society deals with insurance in all of its comprehensive aspects. Insurance policies are contracts of indemnity, whether they be life insurance, liability policies, surety bonds, or various types of casualty insurance. Interpreting and providing opinions on these complex policies is an area of law which is both sophisticated and complex. Our firm has extensive experience in advising both insurers and insureds with respect to coverage issues as well as in litigating coverage matters.^Auto and Commercial, Surety, General and Professional Liability, Property and Casualty, Coverage";
//Labour & Employment Law
s[17] = "Labour & Employment Law^area_of_practice/labour_employment_law.html^Labour law involves acting for and advising the employers of organized labour and individual employees in grievance and arbitration proceedings under both Federal and Provincial legislation, usually involving Collective Agreements.^Advocacy before Labour Relations Boards, Grievances and Arbitrations, Wrongful Dismissal, Labour Standards Issues, Occupational Health and Safety, Workers' Compensation";
//Litigation Services
s[18] = "Litigation Services^area_of_practice/litigation_services.html^Barry Spalding has an experienced team of skilled litigators who know when to settle and when to proceed to Court.^Personal Injuries/Fatal Accidents, Commercial Litigation, Appellate Advocacy, Bankruptcy, Creditors' Rights";
//Motor Vehicle Accidents & Personal Injury
s[19] = "Motor Vehicle Accidents & Personal Injury^area_of_practice/motor_vehicle_accidents_personal_injury.html^Barry Spalding represents victims of motor vehicle accidents and other serious personal injuries arising from defective products and other acts of negligence. Our mission is to seek justice and fair compensation for seriously injured people.^Motor Vehicle Accidents, Personal Injuries/Fatal Accidents, Product Liability Claims";
//Real Estate & Property Law
s[20] = "Real Estate & Property Law^area_of_practice/real_estate_property_law.html^Our firm provides a wide range of services in all types of real estate and real property matters including residential and commercial real estate transactions.^Residential and Commercial Property, Landlord and Tenant, Mining, Oil and Gas, Commercial Financing";
//Regulatory Law
s[21] = "Regulatory Law^area_of_practice/regulatory_law.html^Working successfully with regulatory, environmental and other administrative authorities has become increasingly important in today’s business environment. At Barry Spalding, we advise clients on legal and regulatory issues relating to the energy sector, including oil and gas resource development, mining and electricity, as well as environmental law and telecommunications. We concentrate on providing strategic advice on the practical regulatory issues facing our clients.^Representation before Local, National and Provincial Regulatory Bodies, Oil and Gas Law Mining and Forestry Law, Environmental Law and Compliance, Electricity Regulation, Telecommunications Law, Onshore and Offshore Pipeline Development, Regulatory Compliance Planning and Reporting, Municipal Zoning and Planning, Project Financing, Commercial Mediation and Arbitration, Land Acquisition and Real Estate Law";
//Wills, Estates & Trusts
s[22] = "Wills, Estates & Trusts^area_of_practice/wills_estates_trusts.html^Estate planning and preparation of Wills is part of the compliment of personal services which Barry Spalding offers to our clients. In disposing of their estate, people want to ensure that their instructions are properly communicated. The administration of an Estate can be extremely complex and often occurs at times in the life of the survivors when they are most vulnerable. Our lawyers can help to ensure that administering an Estate is as simplistic as possible.^Estate Planning, Estates, Probate and Administration, Guardianship and Dependent Adults, Tax Planning, Trusts, Wills and Powers of Attorney,";
//Other Areas of Practice
s[23] = "Other Areas of Practice^area_of_practice/other_areas_of_practice.html^Barry Spalding is a full service law firm. We have the skills, ability and experience required to practise in many areas beyond the ordinary scope of many practitioners.^Advertising and Marketing Law, Assets/Equipment Finance and Leasing, Banking and Financial Services Law, Constitutional Law, Environmental Law, Privacy Law, Municipal Law, Defamation and Media Law, Criminal Law";
//our lawyers
s[24] = "Our Lawyers^our_lawyers/our_lawyers.html^Our Lawyers^Our Lawyers, list, staff";
//John P. Barry, Q.C.
s[25] = "John P. Barry, Q.C.^our_lawyers/john_barry.html^John Barry has become a cornerstone of the law profession in New Brunswick, serving both province and country with excellence and skill. Areas of expertise include civil litigation, administrative law, professional negligence, insurance law, product liability claims, personal injury, malpractice, and the defence of medical negligence related hospital claims.^John, Barry";
//David G. Barry, Q.C.
s[26] = "David G. Barry, Q.C.^our_lawyers/david_barry.html^J David Barry is a nationally recognized practitioner of business law. His special expertise includes corporate finance and securities law, information technology, privacy and related intellectual property issues.^David, Barry";
//Howard A. Spalding, Q.C.
s[27] = "Howard A. Spalding, Q.C.^/our_lawyers/howard_spalding.html^Howard Spalding is a distinguished litigator, with particular focus on personal injury, torts, construction, commercial litigation, municipal and environmental law, as well as insurance law.^Howard, Spalding";
//Peter T. Zed, Q. C.
s[28] = "Peter T. Zed, Q. C.^our_lawyers/peter_zed.html^While he practices in the areas of administrative, utility regulation, commercial, and commercial litigation, Peter is well recognized for his skills as an arbitrator and as an advocate in employment and business matters.^Peter, Zed";
//Brenda G. Noble, Q.C.
s[29] = "Brenda G. Noble, Q.C.^our_lawyers/brenda_noble.html^Brenda is a senior and respected practitioner in the area of family and estate law. In addition to traditional litigation and negotiation of family law matters, her practice includes collaborative law and the ability to act in the capacity of mediator or arbitrator in cases where alternative dispute resolution is sought.^Brenda, Noble";
//David G. O'Brien
s[30] = "David G. O'Brien^our_lawyers/david_obrien.html^Practice Areas: Motor Vehicle Accidents, General Litigation, Insurance, Personal Injury, Administrative Law^David, O'Brien";
//Maria G. Henheffer, Q.C.
s[31] = "Maria G. Henheffer, Q.C.^our_lawyers/maria_henheffer.html^Maria Henheffer practises in the areas of litigation, insurance, personal injury, torts, administrative, and labour and employment. She has extensive trial experience in personal injury and motor vehicle related claims, as well as in employment and labour law.^Maria, Henheffer";
//Duane M. McAfee
s[32] = "Duane M. McAfee^our_lawyers/duane_mcAfee.html^Holding a distinguished record in the practice of law, Duane McAfee's areas of expertise include litigation, corporate law, personal injury, torts, commercial, and real estate law.^Duane, McAfee";
//Deirdre L. Wade, Q.C.
s[33] = "Deirdre L. Wade, Q.C.^our_lawyers/deirdre_wade.html^Experienced in commercial liability, automobile, property, professional liability, hospital liability, and surety and fidelity coverage, Deirdre's practice consists of advising insurers, particularly specialized risk insurers and insureds, on insurance coverage and duty to defend issues in all areas of insurance. She brings to her clients the advantages of computerized litigation support, most notably with regard to the use of legal software to manage and prepare cases for trial.^Deirdre, Wade";
//Michael D. Brenton
s[34] = "Michael D. Brenton^our_lawyers/michael_brenton.html^Michael's practice focuses primarily on Personal Injury Litigation, Insurance Law, Construction Law, and Professional Liability Defence. He has sucessfully represented the interests of his clients at both the trial and appellate court levels.^Michael, Brenton";
//Donald V. Keenan
s[35] = "Donald V. Keenan^our_lawyers/donald_keenan.html^Donald practises in the areas of labor and employment, litigation, and insurance law.^Donald, Keenan";
//William C. Kean
s[36] = "William C. Kean^our_lawyers/william_kean.html^ractice Areas: Corporate/Commercial, Administrative law, Intellectual Property and Real Estate and Property.^William, Kean";
//Jack M. Blackier, FCA
s[37] = "Jack M. Blackier, FCA^our_lawyers/jack_blackie.html^Jack M. Blackier brings a wealth of knowledge to the Barry Spalding team and practises in the areas of tax, estate planning, commercial litigation, administrative law, and insurance law. Currently, he also serves as the Executive Director of the New Brunswick Institute of Chartered Accountants (NBICA), a self-governing professional body.^Jack, Blackier";
//Andy W. Lodge
s[38] = "Andy W. Lodge^our_lawyers/andy_lodge.html^Andy practices in most areas of litigation, with special interests in personal injury litigation, construction law, labour law and employment law.^Andy, Lodge";
//Crystal D. Critch
s[39] = "Crystal D. Critch^our_lawyers/crystal_critch.html^Crystal practices in the areas of litigation, personal injury, insurance, torts and administrative law.^Crystal, Critch";
//Jean-Yves Bernard
s[40] = "Jean-Yves Bernard^our_lawyers/jean-yves_bernard.html^Jean-Yves practices in the areas of litigation, insurance, personal injury, torts and municipal law. Fluent in both English and French, he conducts his practice in both official languages.^Jean-Yves, Bernard";
//Nadia M. MacPhee
s[41] = "Nadia M. MacPhee^our_lawyers/nadia_macPhee.html^Nadia practices in the areas of administrative law, commercial law, civil litigation, insurance, personal injury, and torts.^Nadia, MacPhee";
//Philippe H. Richard
s[42] = "Philippe H. Richard^our_lawyers/philippe_richard.html^Philippe practices in the areas of corporate/commercial, administrative law, and Intellectual property.  Fluent in both English and French, he conducts his practice in both official languages.^Philippe, Richard";
//Margaux Savoie
s[43] = "Margaux Savoie^our_lawyers/margaux_savoie.html^DESCRIPTIVE^Margaux, Savoie";
//Julie G. LeBlanc
s[44] = "Julie G. LeBlanc^our_lawyers/julie_leBlanc.html^Julie practises in the areas of administrative law, commercial law, civil litigation, insurance, personal injury, and torts. Fluent in both English and French, she conducts her practice in both official languages.^Julie, LeBlanc";
//Richard E. DeBow, Q.C.
s[45] = "Richard E. DeBow, Q.C.^our_lawyers/richard_deBow.html^Richard E. DeBow was admitted to the New Brunswick Bar in 1970 and has practiced in Moncton since that time. He practises corporate, commercial, real property and construction law and also represents insurers on errors and omission claims.^Richard, DeBow";
//Hélène L. Beaulieu, Q.C., FCIP
s[46] = "Helene L. Beaulieu, Q.C., FCIP^our_lawyers/helene_beaulieu.html^Hélène Beaulieu was admitted to the New Brunswick Bar in 1988. She received her Masters Degree in Insurance Law and Civil Procedure from the London School of Economics and Political Science in England in 1990. In 1996, she received the Top Associate Insurance Institute Award for the Province of New Brunswick, and became a Fellow Chartered Insurance Professional with the Insurance Institute of Canada in May 2002. She has taught Business Law at the Université de Moncton since 1990. She also teaches at the Bar Admission Course and the Insurance Institute of Canada Courses and has lectured in Continuing Legal Education Conferences. Helene was appointed Queens Counsel in November, 2007.^Helene, Beaulieu";
//Chantal A. Thibodeau
s[47] = "Chantal A. Thibodeau^our_lawyers/chantal_thibodeau.html^Chantal Thibodeau practices in the areas of litigation, insurance, personal injury, torts, administrative law and municipal liability. Fluent in both English and French, she conducts her practice in both official languages.^Chantal, Thibodeau";
//M. Ann MacAulay
s[48] = "M. Ann MacAulay^our_lawyers/m_ann_macAulay.html^Ann is a skilled litigator, specializing in personal injury and insurance law.^M. Ann, MacAulay";
//Enrico A. Scichilone
s[49] = "Enrico A. Scichilone^our_lawyers/enrico_scichilone.html^Enrico Scichilone practices in the areas of litigation, insurance, personal injury, health law and administrative law. Fluent in both English and French, he conducts his practice in both official languages.^Enrico, Scichilone";
//Talia C. Profit
s[50] = "Talia C. Profit^our_lawyers/talia_profit.html^Talia Profit practices in the areas of civil litigation, insurance, personal injury, municipal liability, health law and class action lawsuits.  Fluent in both English and French, she conducts her practice in both official languages^Talia, Profit";
//J. Nathalie Maude
s[51] = "J. Nathalie Maude^our_lawyers/j_nathalie_maude.html^J. Nathalie Maude^J. Nathalie, Maude";
//John R. Warrington
s[52] = "John R. Warrington^our_lawyers/john_warrington.html^In his role as the Managing Director of Barry Spalding, John is responsible for managing the day to day business activities of the firm encompassing finance, marketing, human resources and information technology.^John, Warrington";
//recruiting
s[53] = "recruiting^recruiting.html^The capability of any law firm rest with it's people, and growth depends on progessive firms' abilities to attract and maintain top graduates from leading law schools. At Barry Spalding, we have been able to fuel our growth by attracting capable young lawyers. We are committed to maintaining this tradition.^Our recruiting Partner, One of Our Latest Associates, Barry Spalding Blog";
//Blog
s[54] = "Barry Spalding Blog^../blog.html^Blog^blog, post, posting";

s[55] = "Legal Resources^legal_resources.html^Below are some useful websites where you may learn more about the law and the practice of law in New Brunswick:^Legal, Resources, Links";
//Contact Us
s[56] = "Contact Us^contact_us.html^Conatct Us^Saint John, Moncton, Mail, address, Mailing, Telephone, Fax, Email, E-Mail, Firm Directory, Management, Managing Partner, Members of Management Committee, Managing Director, Accounting, Office Manager, Accounts Receivable/Billing Coordinator, Accounts Payable General Accounting";

//french branch
s[57] = "French Home Page^../francais/index.html^French Home Page^home, french, francais";
// ---------- end of script properties and sites ----------


var cookies = document.cookie;
var p = cookies.indexOf("d=");

if (p != -1) {
	var st = p + 2;
	var en = cookies.indexOf(";", st);
	if (en == -1) {
		en = cookies.length;
	}
	var d = cookies.substring(st, en);
	d = unescape(d);
}
var od = d;
var m = 0;
if (d.charAt(0) == '"' && d.charAt(d.length - 1) == '"') {
	m = 1;
}

var r = new Array();
var co = 0;

if (m == 0) {
	var woin = new Array();
	var w = d.split(" ");
	for (var a = 0; a < w.length; a++) {
		woin[a] = 0;
		if (w[a].charAt(0) == '-') {
			woin[a] = 1;
		}
	}
	for (var a = 0; a < w.length; a++) {
		w[a] = w[a].replace(/^\-|^\+/gi, "");
	}
	a = 0;
	for (var c = 0; c < s.length; c++) {
		pa = 0;
		nh = 0;
		for (var i = 0; i < woin.length; i++) {
			if (woin[i] == 0) {
				nh++;
				var pat = new RegExp(w[i], "i");
				var rn = s[c].search(pat);
				if (rn >= 0) {
					pa++;
				} else {
					pa = 0;
				}
			}
			if (woin[i] == 1) {
				var pat = new RegExp(w[i], "i");
				var rn = s[c].search(pat);
				if (rn >= 0) {
					pa = 0;
				}
			}
		}
		if (pa == nh) {
			r[a] = s[c];
			a++;
		}
	}
	co = a;
}

if (m == 1) {
	d = d.replace(/"/gi, "");
	var a = 0;
	var pat = new RegExp(d, "i");
	for (var c = 0; c < s.length; c++) {
		var rn = s[c].search(pat);
		if (rn >= 0) {
			r[a] = s[c];
			a++;
		}
	}
	co = a;

}


function return_query() {
	document.jse_Form.d.value = od;
}

function num_jse() {
	document.write(co);
}

function out_jse() {
	if (co == 0) {
		document.write('Your search did not match any documents.<p>Make sure all keywords are spelt correctly.<br>Try different or more general keywords.');
		return;
	}
	for (var a = 0; a < r.length; a++) {
		var os = r[a].split("^");
		if (bold == 1 && m == 1) {
			var br = "<b>" + d + "</b>";
			os[2] = os[2].replace(pat, br);
		}
		if (include_num == 1) {
			document.write(a + 1, '. <a href="', os[1], '">', os[0], '</a><br>', os[2], '<p>');
		} else {
			document.write('<a href="', os[1], '">', os[0], '</a><br>', os[2], '<p>');
		}
	}

}
