

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

var include_num = 1;
var bold = 0;

// ---------- sites ----------


var s = new Array();

s[0] = "Home^index.html^Every year 350,000 veterans leave active duty and many of them plan to enter the civilian job market.These individuals are patriots and have served our country with pride and distinction.They deserve the  portunity to find suitable employment, and Milicruit.com can aide in their search by providing a virtual career fair that brings veterans and employers together. Phone: 215-525-5776 | E-mail: info@milicruit.com Copyrights © 2009 Milicruit. All Rights Reserved  Website Design by 123Triad Web Design ";
s[1] = "About Us^about_us.html^Veterans have played a pivotal role throughout our history as not only defenders of our country. Some of our most prominent business people and leaders have served in the armed forces. They have a long history of successfully coupling their military training with the needs of corporations, dating back to the 1700’s.  Veterans bring a unique skill set to civilian jobs. They can call on a wide range of real life experiences, training and education that allows them to perform at the highest level. MILICRUIT.COM was created to address the premise that the traditional recruiting environment of veterans is costly, time-consuming and often times ineffective. Given the large number of veterans currently looking to reenter civilian life, and the large number of employers seeking to hire veterans, we designed milicruit.com in an effort to allow both parties to meet and interact in a 3 dimensional online setting.Veterans get more access to more hiring companies. Employers gain access to veterans they may otherwise miss. A great screening tool for employers and veterans. Veterans can attend at their convenience. Employers benefit from tax advantages of hiring veterans. Event is available on demand for an entire year. Phone: 215-525-5776 | E-mail: info@milicruit.com Copyrights © 2009 Milicruit. All Rights Reserved  Website Design by 123Triad Web Design";
s[2] = "Veterans^veterans.html^Tough time finding a suitable employer? Have you attended live career fairs? Do you find them difficult to navigate? Impersonal? Too Crowded? Meet with hiring companies from the convenience of home. View online presentations of dozens of companies, across multiple industries. Chat live with company representatives. Download company information / job postings. Ask questions. Submit your resume. Contact hiring company directly. Phone: 215-525-5776 | E-mail: info@milicruit.com Copyrights © 2009 Milicruit. All Rights Reserved  Website Design by 123Triad Web Design";
s[3] = "Employers^employers.html^Today’s veterans are educated, disciplined and well versed in virtual communication. They live and interact in a virtual world. They text, they email, they Facebook, they Twitter, they rely on an immediacy of information at their fingertips. This generation of veterans will enter civilian life with the most sophisticated technology skills EVER, and industry leading employers will need to optimize their hiring practices if they hope to attract the best and brightest. Milicruit.com fills that need by granting veterans access to more hiring companies, more often, via a virtual career fair environment. Online presentations, live chat with company representatives, resume and information exchange… all in a highly interactive, online setting. Why Hire a Veteran VETERANS. Are Trainable Are Adaptable Have Social Maturity Have Self Confidence	Have Working Experience Can Work Under Pressure Have Acceptance of Authority Have Dedication and Work Ethic Have the Ability to Work as a Team	Seek Responsibility and Advancement	Have Everything You Require of a Productive Employee Know How to Communicate and Coordinate to Get the Job Done Have Served Our Country and Have Earned Consideration for Employment. A Virtual Alternative. What if you were able to meet with potential candidates more often? What if you were able to get a detailed database / demographics on every veteran that visits your booth?What if your time at a career fair could be focused on qualified, pre-screened candidates rather than herding the masses. Phone: 215-525-5776 | E-mail: info@milicruit.com Copyrights © 2009 Milicruit. All Rights Reserved  Website Design by 123Triad Web Design";
s[4] = "Contact Us^contact_us.html^Milicruit Phone: 215-525-5776 E-mail: info@milicruit.com Phone: 215-525-5776 | E-mail: info@milicruit.com Copyrights © 2009 Milicruit. All Rights Reserved  Website Design by 123Triad Web Design";
s[5] = "Registration^registration.html^Name Military Branch Address Phone Email Discharge date (mm/dd/yyyy) Rank Attached Resume Phone: 215-525-5776 | E-mail: info@milicruit.com Copyrights © 2009 Milicruit. All Rights Reserved  Website Design by 123Triad Web Design";
s[6] = "Sitemap^sitemap.html^Sitemap Home About Us Veterans Employers Registration Contact Us Phone: 215-525-5776 | E-mail: info@milicruit.com Copyrights © 2009 Milicruit. All Rights Reserved  Website Design by 123Triad Web Design";
// ---------- 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><p>');
		} else {
			document.write('<a href="', os[1], '">', os[0], '</a><p>');
		}
	}

}
