

// ---------- script properties ----------

var include_num = 1;
var bold = 0;

// ---------- sites ----------


var s = new Array();

s[0] = "Creative Force Modeling & Talent^http://www.epic1media.com/cfmodels.html^Creative Force Modeling & Talent is Epic 1 Media's fashion and talent management company.^model, creative force, go-see, fashion, style, hair, makeup, beauty, shoot";

s[1] = "Get a quote for services^http://www.epic1media.com/quote.html^If you need a quote for our services, please click here or call us toll free at 1-866-513-6911.^quote, Referral Agent, Epic 1 Media,location, fax, information, company, marketing, customer, advertising, advertise, sales, publicity, contact, feedback, magazines, publications,commercials, support, customer service, shows, music, graphics, logos design, website design, prices, fees, money, cost, amount, dollars, marketing, vehicle wraps, letterhead, envelopes, posters, banners, outsite signs, signage, t-shirts, caps, specialty, door hangers, bookmarks, color prints, video production services, printing, email, copy, copies, copying";

s[2] = "Maya Perry^http://www.epic1media.com/maya.html^Maya Perry is President of Epic 1 Media^ maya, perry, president, love, epic, consulting";

s[3] = "Larry Perry^http://www.epic1media.com/larry.html^Larry Perry is Founder / C.E.O. of Epic 1 Media^ larry, perry, ceo, in love, epic, consulting";

s[4] = "web Design^http://www.epic1media.com/web.html^Web Design Services^ web design, online, page, epic, marketing, services";

s[5] = "Graphic Design^http://www.epic1media.com/graphics.html^Graphic Design Services^ graphics, art, logos, epic, marketing, consulting, services";

s[6] = "Creative Force Modeling & Talent Official Website^http://www.cfmodeling.com^Creative Force Modeling & Talent is Epic 1 Media's fashion and talent management company.  Visit the official website.^model, creative force, go-see, fashion, style, hair, makeup, beauty, shoot, photos, acting, singing, dancing, film, events, runway, video, retouching, proofs, magazines, talent";

s[7] = "Epic1TV.com^http://www.epic1tv.com^Epic 1 TV.com is the latest edition to the Epic 1 brand and represents the company’s move into the broadcast media industry.^ epic1tv, media, online broadcasting, fashion, application, model, creative force, go-see, advertising, movies, publicity, music, memphis, beauty, services, subscribe";

s[8] = "Epic 1 Media Magazine^http://www.epic1media.com/e1mmag.html^Epic 1 Media Magazine is the flagship publication of Epic 1 Media for news, entertainment, lifestyles and business information.^ publications, media, online broadcasting, magazine, business, Memphis Music, go-see, advertising, marketing, subscribe";

s[9] = "Video Production Services^http://www.epic1media.com/video.html^From streaming media on the internet to broadcast video, we have been producing great video for over 10 years.^ video, epic 1 tv, motion graphics, rich media, multimedia, commercials, animation, advertising, marketing, movies, services, shoot";

s[10] = "Memphis Music Magazine^http://www.epic1media.com/mmmag.html^Memphis Music Magazine is designed to showcase Memphis’ talent to the world.^ publications, Memphis music, movies, online broadcasting, magazine, business, rap, hip-hop, gospel, blues, jazz, pop, go-see, advertising, marketing, epic1, publicity, subscribe";

s[11] = "Go-See Magazine^http://www.epic1media.com/gosee.html^Go-See Magazine is Epic 1 Media’s newest publication covering the modeling, beauty and fashion.^model, creative force, go-see, magazine, publication, fashion, style, hair, photos,  makeup, memphis, music, weddings, show, beauty, pictures, shoot, subscribe";

s[12] = "Contact Us^http://www.epic1media.com/contact.html^Need more information about Epic 1 Media or any of our companies?^contact us, phone number, support, larry, maya, perry, locations, fax, information, company, offices, cell, memphis, service, email";

s[13] = "Epic 1 Referral Agent^http://www.epic1media.com/referrals.html^Our referral Agent Network is Epic 1’s formal way of saying thanks.^Referral Agent, Epic 1 Media, TV,location, fax, information, company, marketing, customer, advertising, sales, publicity, contact";

s[14] = "Web Advertising Form (Adobe PDF File)^http://www.epic1media.com/WEB_ADS.pdf^Download the web advertising form. You will need Adobe Acrobat Reader to open this file.^ advertise, epic1tv, photos, sales, business services, consulting, movies, graphics, web design, online, marketing, media, multimedia, animation, 3D art, services, prices, fees, money, cost, amount, dollars, quote, pictures";

s[15] = "Give us your feedback^http://www.epic1tv.com/feedback.html^Please take a moment and give us your feedback.^Referral Agent, Epic 1 Media, TV, larry, maya, perry, location, fax, information, company, marketing, customer, advertising, sales, publicity, contact, feedback, epic 1 tv, magazines, publications, support, shows, movies, music, graphics, logos design, website design, email";

s[16] = "Print Media Services^http://www.epic1media.com/print.html^Epic 1 Media has been offering affordable printing services for over ten years, but after partnering with Xerox, things just got a whole lot bigger, better and faster.^printing services, xerox, vehicle wraps, letterhead, envelopes, posters, banners, outsite signs, photos, signage, t-shirts, caps, specialty, door hangers, bookmarks, color prints, magazines,  marketing, customer, advertising, sales, publicity, contact, feedback, epic 1 magazines, publications, support,customer service, shows, movies, music, graphics, logos design, website design, pictures, copy, copies, copying";

s[17] = "Creative Force Modeling & Talent Online Application^http://www.epic1media.com/cfmodelform.html^Online Application for Creative Force Modeling & Talent^ fashion, application, modeling, photos, creative force, go-see, consulting,publicity, beauty, pictures";

// ---------- 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 spelled 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>');
		}
	}

}
