// ---------- script properties ----------
var include_num = 1;
var bold = 1;
// ---------- sites ----------
var s = new Array();
s[0] = "com-Net-com.com^http://com-net-com.com^com-Net-com.com Homepage - Software Downloads: iPod Converters, iPhone Converters Zune Converters, DVD Software, Utilities, PDF Tools, Business Software, Anti Virus Software, Data Recovery and much much more^com-net-com.com";
s[1] = "Data Recovery^http://com-net-com.com/software/data-recovery^Data Recovery Tools for recovering Pen Drives, Hardrives, iPods, Digital Photo Recovery, Removable Media Files, Digital Camera Photo Recovery, Zune Data,NTFS and Fat Partition Data, Peachtree Password Recovery, Windows Data Recovery, Internet Explorer Password Recovery etc.^Data Recovery,Photo Recovery,Pen Drive Data Recovery,Hard Drive Recovery,File Recovery,USB Drive Data Recovery,iPod Data Recovery,Recovery,FAT Recovery,NTFS Recovery Windows Recovery,Peachtree Password Recovery,Absolutely Accounting Password Recovery";
s[2] = "Antivirus^http://com-net-com.com/software/antivirus^Anti Virus-Anti Spam protection^Kaspersky,The Shield Deluxe,Cyber Defender,Antivirus,Download Antivirus,Antivirus Software,Antivirus 2008,Shield Deluxe,Anti Virus,Anti Spyware,PC Protection,Norton Antivirus,Mcafe Antivirus,Norton,Mcafe";
s[3] = "DVD-Tools^http://com-net-com.com/software/dvd-tools^DVD Software: DVD Decrypter, DVD converters,DVD copy, DVD to ipod,DVD to zune, DVD to iPhone,DVD to Video Converter etc.^DVD,dvd,DVD Tools,DVD Copy,DVD Decrypter,DVD Ripper,DVD to iPod,DVD toiPhone,DVD to Zune,DVD to PSP,DVD to 3GP,DVD Audio Ripper,Unprotect DVD,Defeat DVD Copy Protection(keywords)";
s[4] = "Flash^http://com-net-com.com/software/flash^Convert DVD and Video To Flash SWF-FLV, Flash Converters, Flahs Video Tools etc.^Flash,flash,Convert Video To Flash,Video To FLV,Video To SWF,Flash Converter,Video To Flash,Video To Flash Converter,DVD to Flash,Video to FLV,Video to SWF,AVI to Flash,AVI to SWF,AVI to FLV,mpeg to Flash,mpeg to swf,mpeg to flv,convert mov to flash,convert AVI to FLV,Convert WMV to FLV,Convert WMV to SWF(keywords)";
s[5] = "iPhone^http://com-net-com.com/software/iphone^iPhone Converters and iPhone Tools: DVD to iPhone, Video to iPhone,iPhone^iPhone,iphone,DVD To iPhone : Download DVD To iPhone-Convert DVD To iPhone, Convert  DVD To iPhone, iPhone Converter,Video To iPhone Converter,Convert Video To iPhone,iPhone Tools,iPhone Transfer(keywords)";
s[6] = "iPod^http://com-net-com.com/software/ipod^iPod Transfer, DVD, and Video Tools: DVD to iPod, Video to iPod, iPod Video Converter, etc.^iPod,ipod,DVD To iPod,Convert DVD to iPod,DVD to iPod Converter,Convert Video to iPod,DVD To iPod,iPod Format Converter,Convert to iPod,Video to iPod,iPod Converter(keywords)";
s[7] = "3GP^http://com-net-com.com/software/mobile^3GP Mobile Phone Tools: Video to 3GP DVD to 3GP, 3GP Converter, 3GP Video Converter, 3GP Cell Phone Converter^3GP,Mobile,3GP Video Converter, 3GP Converter,Convert to 3GP,mp4 converter,Video to 3GP,Video to 3GP Converter,convert to MP4,Video to MP4,Video to MP4 Converter(keywords)";
s[8] = "MP4^http://com-net-com.com/software/mp4^MP4 Tools: Video to MP4 DVD to MP4, MP4 Converter, MP4 Audio Converter, MP4 format Converter^MP4,mp4,MP4 Converter,MP4 Video Converter,MP4 Audio Converter,DVD To MP4,Convert DVD to MP4,MP4 Converter,DVD to MP4,MP4 Converter,DVD to MP4 Format(keywords)";
s[9] = "PDF^http://com-net-com.com/software/pdf^PDF Tools: PDF Password Cracker, PDF Decrypter, Unlock PDF,PDF Viewer, PDF Password Finder PDF Engineering,Engineering,Engineering Software,PDF Software^PDF,PDF Password,PDF Password Crack,PDF Unlock Password,PDF Password DecryptPDF Password Finder,Find PDF Password,Decrypt PDF,Adobe PDF,PDF Engineering Software,Crack PDF(keywords)";
s[10] = "Utilities^http://com-net-com.com/software/utilities^Utilities: Registry Cleaners, Registry Fixers, Data Recovery, Password Recovery,Antivirus,Anti Virus,RegCure,Kaspersky^Software,Software Utilities,Antivirus,Anti Virus,Registry Cleaner,Registry Cure,Registry Repair,Data Recovery,Windows Recovery,Recover Lost Data,Photo Recovery,Pen Drive Recovery(keywords)";
s[11] = "Video Tools^http://com-net-com.com/software/video-tools^Video Tools: Video to iPod, Video to iPhone, Video to Zune, Video to FLV-SWF, Video Transfer, Google Video Transfer, youTube Video Transfer,Google Video Downloader, YouTube Video Downloader, Video to 3GP Video To MP4 etc.^Video,Video Converter, Video Transcoder,Cross Format Video Converter, Video Format Converter,Video Converter iPod,iPod Converter,iPhone Converter,Zune Converter,PSP Converter,3GP Converter,MP4 Converter,AVI Converter,MPEG Converter,FLV Converter,SWF Converter(keywords)";
s[12] = "Zune^http://com-net-com.com/software/zune^Zune Video and DVD Tools: DVD to Zune, Video To Zune, Zune Video Converter, Convert To Zune Video, etc.^Zune,Zune Converter,Convert Video to Zune,DVD to Zune,Convert DVD to Zune,Zune,DVD ripper,Zune Converter,Zune Format Converter,Convert to Zune,Video to Zune,Zune Converter(keywords)";
/*
s[REC NUM] = "TITLE^URL OR FILENAME^DESCRIPTIVE LINE^KEYWORDS";
*/
// ---------- 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><br>');
		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("<b>", a +1,"</b>", '. <a href="', os[1], '">', os[0], '</a><br>', os[2], '<p class=\"resulttext\">');
		} else {
			document.write('<a href="', os[1], '">', os[0], '</a><br>', os[2], '<p>');
		}
	}
}
