

// ---------- script properties ----------

var include_num = 1;
var bold = 0;

// ---------- sites ----------


var s = new Array();

s[0] = "Case studies^case_studies.htm^Introduction to Revera customer case studies and testimonials^customer; customers; case; study; previous; experience; testimonial; reference; referral; stories; quote^0^0^";
s[1] = "Contact Us^contact_us.htm^Contact Revera^contact; us; location; details; company; phone; email; enquire; postal; address; fax; directions^0^0^";
s[2] = "Data &amp;amp; Storage^data_and_storage.htm^Data and storage backup restore and recovery services^data; storage; backup; recovery; wire; ethernet; restore; tape; disk; managed, services; archiving; compliance; datacloud^0^0^";
s[3] = "Data Centre Services^data_centre_services.htm^Data centre services and VDC offerings^data; centre; services; computer; room; telehousing; housing; facility; auckland; wellington; VDC; virtual; datacentre; web; collocation; hosting; ASP; VDC; virtual; datacentre; 24x7; facilities; utility; computing; co-location^0^0^";
s[4] = "Events^events.htm^Register for a Revera event^event; registration; roadshow; rock; go; karting; kart; SAN; workshop; 101; school; workshop; breakfast; invite^0^0^";
s[5] = "Leadership^Leadership.htm^Leadership management and the Revera board and its directors^leadership; roger; cockayne; wayne; norrie; andrew; clements; joe; pope; rick; bettle; director; chairman; owners; board; chief; executive; officer; managing; shareholder^0^0^";
s[6] = "Managed Services^managed_services.htm^Managed service offerings^managed; service; outsource; outsourcing; fully; it; infrastructure; support; host; hosting; application; 24x7; desktop; network; security; customize; ITIL; SLA; freedom^0^0^";
s[7] = "Reveras history^history.htm^Reveras history^Revera; history; HDS; Hitachi; Data; Systems; Japan; Japanese; buyout; stake; executives^0^0^";
s[8] = "Partner Form^Partner_form.htm^Become a Revera partner registration form^become; partner; form; registration; strategic; technology; partnering; partnership; register; reseller^0^0^";
s[9] = "Partnerships^Partnerships.htm^Why Revera partners and who Revera partners with^partnerships; partnership; partnering; strategic; technology; isv; alliance; alliances; agreement; reseller^0^0^";
s[10] = "Privacy policy^privacy_policy.htm^Privacy policy statement and legal disclaimer^privacy; policy; statement; rules; legal; copyright; notice; disclaimer; link; linking; copy; right; trade; mark^0^0^";
s[11] = "Product Solutions^Product_solutions.htm^Hardware and software products Revera sells^product; solutions; storage; provision; technology; partners; hardware; software; tin; kit; servers; network; components; switch; firewall; router; HBA; NAS; SAN; mass; enterprise; modular; desktop; laptop; disk; SATA; Tier; capacity; Terrabyte; Giggabyte; Petabye; maintenance; engineer; support; spare; parts; upgrade^0^0^";
s[12] = "Professional Services^professional_services.htm^Professional service offerings and consulting services^professional; services; consulting; expertise; support; business; strategic; mentor; guidance; advice; fixed; price; experience; skill; knowledge; independent; storage; IT; design; arcitechture^0^0^";
s[13] = "Recruitment^Recruitment.htm^Register for employment at Revera^recruitment; work; revera; employ; job; search; employment; position; available; careers; vacancy; vacancies; CV; resume; HR^0^0^";
s[14] = "Revera Culture^revera_culture.htm^About the Revera culture and its values^revera; culture; staff; fun; values; rock; vision; mission; family; integrity; trust; truth; honesty; on-brand; rock-on; respect; speaker; wayne; norrie; speaking^0^0^";
s[15] = "News and Events^news_and_events.htm^Latest stories in the press on Revera^revera; news; story; stories; press; releases; release; media; communication^0^0^";
s[16] = "Sales Form^sales_form.htm^Local sales contact enquiry form^sale; form; enquiry; local; rep; representative; auckland; wellington; services; storage; enquire; contact; quote; estimate; price; question^0^0^";
s[17] = "Site map^site_map.htm^Site map^site; map^0^0^";
s[18] = "Strategic Partners^strategic_partners.htm^Learn about Reveras strategic partners^strategic; partner; partners; partnering; alliance; reseller^0^0^";
s[19] = "Technology Partners^technology_partners.htm^Learn about Reveras technology partners^technology; partner; partners; partnering; alliance; reseller^0^0^";
s[20] = "Uniqueness^uniqueness.htm^Learn why Revera is unique and different from its competitors^different; difference; unique; uniqueness; differentiator; differentiation; culture; independent; independence^0^0^";
s[21] = "What we do^what_we_do.htm^What services and products Revera offers^offerings; managed; hosting; application; host; infrastructure; IT; collocation; co-location; VDC; virtual; data; centre; product; solution; advice; independent; recovery; storage; desktop; source; utility; computing; financial; payroll; datacloud^0^0^";
s[22] = "Who we are^who_we_are.htm^About Revera the company^about; us; company; overview; profile; revera; history^0^0^";		
s[23] = "Our vacancies^our_vacancies.htm^Current job vacancies at Revera^recruitment; work; revera; employ; job; search; employment; position; available; careers; vacancy; vacancies; CV; resume; HR^0^0^";
s[24] = "Executives buy a stake in HDS^Execs_buy_stake_in_HDS.htm^Revera in the press; Executives buy a stake in HDS^news; media; press; story; buyout; HDS executive; Hitachi; share^0^0^";
s[25] = "HDS management buyout^HDS_management_buyout.htm^Revera in the press; HdS buys out minority shareholder HDS^news; media; press; story; HDS; buyout; minority; shareholder; Hitachi^0^0^";
s[26] = "HdS puts faith in truth^HdS_puts_faith_in_truth).htm^Revera in the press; HdS puts faith in truth^news; media; press; story; faith; trust; latin; brand; corporate; identity; Revera; brand^0^0^";
s[27] = "HdS a winning workplace^HdS_winning_workplace.htm^Revera in the press; HdS is a winning place to work^news; media; press; story; win; HR; company; year; work; award; HRINZ^0^0^";
s[28] = "HDS storage implementation recognition^Implementation_recognition.htm^Revera in the press; HDS gives Revera storage implementation of the year^news; media; press; story; win; HR; HDS; Hitachi; storage; implementation; year; air; new; zealand; award^0^0^";
s[29] = "IT host wins tower outsourcing deal^IT_host_wins_tower_deal.htm^Revera in the press; IT host wins Tower outsourcing deal^news; media; press; story; win; Tower; outsource; outsourcing; deal; managed; service^0^0^";
s[30] = "Minter Ellison outsource deal announcement^MERW_deal_announcement.htm^Revera in the press; Minter Ellison puts its IT in Reveras hands^news; media; press; story; Minter; Ellison; Rudd; Watts; MERW; outsource; outsourcing; managed; services; deal^0^0^";
s[31] = "MIS strategic 100^Strategic_100.htm^Revera in the press; Revera in MIS Magazine top 25 strategically important IT vendors list^news; media; press; story; MIS; magazine; top; 25; strategic; IT; vendor^0^0^";
s[32] = "Whos who in New Zealand IT^Whos_who_in_it.htm^Revera in the press; Whos who in New Zealand IT^news; media; press; story; MIS; magazine; whos; who; new; zealand;it^0^	0^";
s[33] = "Good Times Roll at Revera^Good_times_roll_at_revera.htm^Revera in the press; Good Times Roll at Revera^news; media; press; story; good; time; times; roll; revera; growth; SME; HP; invest; data; centre^0^0^";
s[34] = "Platinum Revera Sells First HP Storage^Platinum_Revera_Sells_First_HP_Storage.htm^Revera in the press; Platinum Revera Sells First HP Storage^news; media; press; story; platinum; storage; sell; sells; revera; HP; server; hitachi; HDS; distributor; reseller; NetApp^	0^0^";
s[35] = "Old friends and new help Revera grow^Old friends and new help Revera grow.htm^Revera in the press; Old friends and new help Revera grow^news; media; press; story; friends; grow; help; support; revera; HP; Sun; microsystems; partner; partnering; partnerships; CA; Microsoft; Quantum; HDS; Hitachi^0^0^";
s[36] = "Revera signs as CA provider^Revera signs as CA provider.htm^Revera in the press; Revera signs as CA provider^news; media; press; story; Computer; Associates; CA; enterprise; solution; provider; supplier; channel; partner; partnering; partnerships^0^0^";
s[37] = "Revera wins MoRST ICT business^Revera wins MoRST ICT business.htm^Revera in the press; Revera wins MoRST ICT business^news; media; press; story; MoRST; Ministry; research; science; technology; government; customer; outsource; manage; managed; service; helpdesk; desktop; 24x7; tawa; datacentre; data; centre^0^0^";
s[38] = "TenderLink reveres ASP saving^TenderLink reveres ASP saving.htm^Revera in the press; TenderLink reveres ASP saving^news; media; press; story; tenderlink; ASP; cost; saving; stephen; persson; IT; manager; tender; tenders; service; host; hosted; web; server; database; jade; network; internet; backend^0^0^";
s[39] = "MOT selects Revera for IT systems overhaul^MOT selects Revera for IT systems overhaul.htm^Revera in the press; MOT selects Revera for IT systems overhaul^news; media; press; story; MOT; ministry; transport; manage; managed; service; claire; Johnstone; service; helpdesk; desktop; 24x7; tawa; datacentre; data; centre; lotus; notes; itil; VDC; virtual; centralised^0^0^";
s[40] = "Revera takes on investment new board member^Revera takes on investment new board member.htm^Revera in the press; Revera takes on investment new board member^news; media; press; story; investment; investor; Andrew; Clements; Zeus; board; member^0^0^";


// ---------- 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>');
		}
	}

}
