

// ---------- script properties ----------

var include_num = 1;
var bold = 0;

// ---------- sites ----------


var s = new Array();

s[0] = "<img src='sm/000.jpg' alt='Triton' title='Triton' border='0'>^Triton.html^^";
s[1] = "<img src='sm/001.jpg' alt='Hammerhead' title='Hammerhead' border='0'>^Hammerhead.html^^";
s[2] = "<img src='sm/002.jpg' alt='Leviathon' title='Leviathon' border='0'>^Leviathon.html^^";
s[3] = "<img src='sm/003.jpg' alt='Barracuda' title='Barracuda' border='0'>^Barracuda.html^^";
s[4] = "<img src='sm/004.jpg' alt='Manta' title='Manta' border='0'>^Manta.html^^";
s[5] = "<img src='sm/005.jpg' alt='Ajax' title='Ajax' border='0'>^Ajax.html^^";
s[6] = "<img src='sm/006.jpg' alt='D.U.P. Head' title='D.U.P. Head' border='0'>^D.U.P. Head.html^^";
s[7] = "<img src='sm/007.jpg' alt='Craft Gas Cannon' title='Craft Gas Cannon' border='0'>^Craft Gas Cannon.html^^";
s[8] = "<img src='sm/008.jpg' alt='P.W.T Cannon' title='P.W.T Cannon' border='0'>^P.W.T Cannon.html^^";
s[9] = "<img src='sm/009.jpg' alt='Gauss Cannon' title='Gauss Cannon' border='0'>^Gauss Cannon.html^^";
s[10] = "<img src='sm/010.jpg' alt='Sonic Oscillator' title='Sonic Oscillator' border='0'>^Sonic Oscillator.html^^";
s[11] = "<img src='sm/011.jpg' alt='Coelacanth/G. Cannon' title='Coelacanth/G. Cannon' border='0'>^Coelacanth/G. Cannon.html^^";
s[12] = "<img src='sm/012.jpg' alt='Coelacanth/Aqua Jet' title='Coelacanth/Aqua Jet' border='0'>^Coelacanth/Aqua Jet.html^^";
s[13] = "<img src='sm/013.jpg' alt='Coelacanth/Gauss' title='Coelacanth/Gauss' border='0'>^Coelacanth/Gauss.html^^";
s[14] = "<img src='sm/014.jpg' alt='Displacer /Sonic' title='Displacer /Sonic' border='0'>^Displacer /Sonic.html^^";
s[15] = "<img src='sm/015.jpg' alt='Displacer /P.W.T.' title='Displacer /P.W.T.' border='0'>^Displacer /P.W.T..html^^";
s[16] = "<img src='sm/016.jpg' alt='Plastic Aqua Armour' title='Plastic Aqua Armour' border='0'>^Plastic Aqua Armour.html^^";
s[17] = "<img src='sm/017.jpg' alt='Ion Armour' title='Ion Armour' border='0'>^Ion Armour.html^^";
s[18] = "<img src='sm/018.jpg' alt='Magnetic Ion Armour' title='Magnetic Ion Armour' border='0'>^Magnetic Ion Armour.html^^";
s[19] = "<img src='sm/019.jpg' alt='Dart Gun' title='Dart Gun' border='0'>^Dart Gun.html^^";
s[20] = "<img src='sm/020.jpg' alt='Jet Harpoon' title='Jet Harpoon' border='0'>^Jet Harpoon.html^^";
s[21] = "<img src='sm/021.jpg' alt='Gas Cannon' title='Gas Cannon' border='0'>^Gas Cannon.html^^";
s[22] = "<img src='sm/022.jpg' alt='Hydra-Jet Cannon' title='Hydra-Jet Cannon' border='0'>^Hydra-Jet Cannon.html^^";
s[23] = "<img src='sm/023.jpg' alt='Torpedo Launcher' title='Torpedo Launcher' border='0'>^Torpedo Launcher.html^^";
s[24] = "<img src='sm/024.jpg' alt='Gauss Pistol' title='Gauss Pistol' border='0'>^Gauss Pistol.html^^";
s[25] = "<img src='sm/025.jpg' alt='Gauss Pistol Clip' title='Gauss Pistol Clip' border='0'>^Gauss Pistol Clip.html^^";
s[26] = "<img src='sm/026.jpg' alt='Gauss Rifle' title='Gauss Rifle' border='0'>^Gauss Rifle.html^^";
s[27] = "<img src='sm/027.jpg' alt='Gauss Rifle Clip' title='Gauss Rifle Clip' border='0'>^Gauss Rifle Clip.html^^";
s[28] = "<img src='sm/028.jpg' alt='Heavy Gauss' title='Heavy Gauss' border='0'>^Heavy Gauss.html^^";
s[29] = "<img src='sm/029.jpg' alt='Heavy Gauss Clip' title='Heavy Gauss Clip' border='0'>^Heavy Gauss Clip.html^^";
s[30] = "<img src='sm/030.jpg' alt='Magna-Blast Grenade' title='Magna-Blast Grenade' border='0'>^Magna-Blast Grenade.html^^";
s[31] = "<img src='sm/031.jpg' alt='Dye Grenade' title='Dye Grenade' border='0'>^Dye Grenade.html^^";
s[32] = "<img src='sm/032.jpg' alt='Particle Disturbance Grenade' title='Particle Disturbance Grenade' border='0'>^Particle Disturbance Grenade.html^^";
s[33] = "<img src='sm/033.jpg' alt='Magna-Pack Explosive' title='Magna-Pack Explosive' border='0'>^Magna-Pack Explosive.html^^";
s[34] = "<img src='sm/034.jpg' alt='Particle Disturbance Sensor' title='Particle Disturbance Sensor' border='0'>^Particle Disturbance Sensor.html^^";
s[35] = "<img src='sm/035.jpg' alt='Medi-Kit' title='Medi-Kit' border='0'>^Medi-Kit.html^^";
s[36] = "<img src='sm/036.jpg' alt='M.C. Disruptor' title='M.C. Disruptor' border='0'>^M.C. Disruptor.html^^";
s[37] = "<img src='sm/037.jpg' alt='Thermal Tazer' title='Thermal Tazer' border='0'>^Thermal Tazer.html^^";
s[38] = "<img src='sm/038.jpg' alt='Chemical Flare' title='Chemical Flare' border='0'>^Chemical Flare.html^^";
s[39] = "<img src='sm/039.jpg' alt='Vibra Blade' title='Vibra Blade' border='0'>^Vibra Blade.html^^";
s[40] = "<img src='sm/040.jpg' alt='Thermic Lance' title='Thermic Lance' border='0'>^Thermic Lance.html^^";
s[41] = "<img src='sm/041.jpg' alt='Heavy Thermic Lance' title='Heavy Thermic Lance' border='0'>^Heavy Thermic Lance.html^^";
s[42] = "<img src='sm/042.jpg' alt='Sonic Cannon' title='Sonic Cannon' border='0'>^Sonic Cannon.html^^";
s[43] = "<img src='sm/043.jpg' alt='Cannon Power Clip' title='Cannon Power Clip' border='0'>^Cannon Power Clip.html^^";
s[44] = "<img src='sm/044.jpg' alt='Sonic-Blasta Rifle' title='Sonic-Blasta Rifle' border='0'>^Sonic-Blasta Rifle.html^^";
s[45] = "<img src='sm/045.jpg' alt='Blasta Power Clip' title='Blasta Power Clip' border='0'>^Blasta Power Clip.html^^";
s[46] = "<img src='sm/046.jpg' alt='Sonic Pistol' title='Sonic Pistol' border='0'>^Sonic Pistol.html^^";
s[47] = "<img src='sm/047.jpg' alt='Pistol Power Clip' title='Pistol Power Clip' border='0'>^Pistol Power Clip.html^^";
s[48] = "<img src='sm/048.jpg' alt='Disruptor Pulse Launcher' title='Disruptor Pulse Launcher' border='0'>^Disruptor Pulse Launcher.html^^";
s[49] = "<img src='sm/049.jpg' alt='Disruptor Ammo' title='Disruptor Ammo' border='0'>^Disruptor Ammo.html^^";
s[50] = "<img src='sm/050.jpg' alt='Thermal Shok Launcher' title='Thermal Shok Launcher' border='0'>^Thermal Shok Launcher.html^^";
s[51] = "<img src='sm/051.jpg' alt='Thermal Shok Bomb' title='Thermal Shok Bomb' border='0'>^Thermal Shok Bomb.html^^";
s[52] = "<img src='sm/052.jpg' alt='Sonic Pulser' title='Sonic Pulser' border='0'>^Sonic Pulser.html^^";
s[53] = "<img src='sm/053.jpg' alt='Zbrite' title='Zbrite' border='0'>^Zbrite.html^^";
s[54] = "<img src='sm/054.jpg' alt='M.C. Reader' title='M.C. Reader' border='0'>^M.C. Reader.html^^";
s[55] = "<img src='sm/055.jpg' alt='Air-Lock' title='Air-Lock' border='0'>^Air-Lock.html^^";
s[56] = "<img src='sm/056.jpg' alt='Living Quarters' title='Living Quarters' border='0'>^Living Quarters.html^^";
s[57] = "<img src='sm/057.jpg' alt='Laboratory' title='Laboratory' border='0'>^Laboratory.html^^";
s[58] = "<img src='sm/058.jpg' alt='Workshop' title='Workshop' border='0'>^Workshop.html^^";
s[59] = "<img src='sm/059.jpg' alt='Standard Sonar' title='Standard Sonar' border='0'>^Standard Sonar.html^^";
s[60] = "<img src='sm/060.jpg' alt='Wide Array Sonar' title='Wide Array Sonar' border='0'>^Wide Array Sonar.html^^";
s[61] = "<img src='sm/061.jpg' alt='Torpedo Defences' title='Torpedo Defences' border='0'>^Torpedo Defences.html^^";
s[62] = "<img src='sm/062.jpg' alt='General Stores' title='General Stores' border='0'>^General Stores.html^^";
s[63] = "<img src='sm/063.jpg' alt='Alien Containment' title='Alien Containment' border='0'>^Alien Containment.html^^";
s[64] = "<img src='sm/064.jpg' alt='Gauss Defences' title='Gauss Defences' border='0'>^Gauss Defences.html^^";
s[65] = "<img src='sm/065.jpg' alt='Sonic Defences' title='Sonic Defences' border='0'>^Sonic Defences.html^^";
s[66] = "<img src='sm/066.jpg' alt='P.W.T. Defences' title='P.W.T. Defences' border='0'>^P.W.T. Defences.html^^";
s[67] = "<img src='sm/067.jpg' alt='Bombardment Shield' title='Bombardment Shield' border='0'>^Bombardment Shield.html^^";
s[68] = "<img src='sm/068.jpg' alt='M.C. Generator' title='M.C. Generator' border='0'>^M.C. Generator.html^^";
s[69] = "<img src='sm/069.jpg' alt='M.C.-Lab' title='M.C.-Lab' border='0'>^M.C.-Lab.html^^";
s[70] = "<img src='sm/070.jpg' alt='Transmission Resolver' title='Transmission Resolver' border='0'>^Transmission Resolver.html^^";
s[71] = "<img src='sm/071.jpg' alt='Sub Pen' title='Sub Pen' border='0'>^Sub Pen.html^^";
s[72] = "<img src='sm/072.jpg' alt='Aquatoid' title='Aquatoid' border='0'>^Aquatoid.html^^";
s[73] = "<img src='sm/073.jpg' alt='Aquatoid autopsy' title='Aquatoid autopsy' border='0'>^Aquatoid autopsy.html^^";
s[74] = "<img src='sm/074.jpg' alt='Gill Man' title='Gill Man' border='0'>^Gill Man.html^^";
s[75] = "<img src='sm/075.jpg' alt='Gill Man autopsy' title='Gill Man autopsy' border='0'>^Gill Man autopsy.html^^";
s[76] = "<img src='sm/076.jpg' alt='Lobster Man' title='Lobster Man' border='0'>^Lobster Man.html^^";
s[77] = "<img src='sm/077.jpg' alt='Lobster Man autopsy' title='Lobster Man autopsy' border='0'>^Lobster Man autopsy.html^^";
s[78] = "<img src='sm/078.jpg' alt='Tasoth' title='Tasoth' border='0'>^Tasoth.html^^";
s[79] = "<img src='sm/079.jpg' alt='Tasoth autopsy' title='Tasoth autopsy' border='0'>^Tasoth autopsy.html^^";
s[80] = "<img src='sm/080.jpg' alt='Calcinite' title='Calcinite' border='0'>^Calcinite.html^^";
s[81] = "<img src='sm/081.jpg' alt='Calcinite autopsy' title='Calcinite autopsy' border='0'>^Calcinite autopsy.html^^";
s[82] = "<img src='sm/082.jpg' alt='Deep One' title='Deep One' border='0'>^Deep One.html^^";
s[83] = "<img src='sm/083.jpg' alt='Depp One autopsy' title='Depp One autopsy' border='0'>^Depp One autopsy.html^^";
s[84] = "<img src='sm/084.jpg' alt='Bio-Drone' title='Bio-Drone' border='0'>^Bio-Drone.html^^";
s[85] = "<img src='sm/085.jpg' alt='Bio-Drone autopsy' title='Bio-Drone autopsy' border='0'>^Bio-Drone autopsy.html^^";
s[86] = "<img src='sm/086.jpg' alt='Tentaculot' title='Tentaculot' border='0'>^Tentaculot.html^^";
s[87] = "<img src='sm/087.jpg' alt='Tentaculot autopsy' title='Tentaculot autopsy' border='0'>^Tentaculot autopsy.html^^";
s[88] = "<img src='sm/088.jpg' alt='Triscene' title='Triscene' border='0'>^Triscene.html^^";
s[89] = "<img src='sm/089.jpg' alt='Triscene autopsy' title='Triscene autopsy' border='0'>^Triscene autopsy.html^^";
s[90] = "<img src='sm/090.jpg' alt='Hallucinoid' title='Hallucinoid' border='0'>^Hallucinoid.html^^";
s[91] = "<img src='sm/091.jpg' alt='Hallucinoid autopsy' title='Hallucinoid autopsy' border='0'>^Hallucinoid autopsy.html^^";
s[92] = "<img src='sm/092.jpg' alt='Xarquid' title='Xarquid' border='0'>^Xarquid.html^^";
s[93] = "<img src='sm/093.jpg' alt='Xarquid autopsy' title='Xarquid autopsy' border='0'>^Xarquid autopsy.html^^";
s[94] = "<img src='sm/094.jpg' alt='Alien Origins' title='Alien Origins' border='0'>^Alien Origins.html^^";
s[95] = "<img src='sm/095.jpg' alt='The Ultimate Threat' title='The Ultimate Threat' border='0'>^The Ultimate Threat.html^^";
s[96] = "<img src='sm/096.jpg' alt='T'leth, the Alien's City' title='T'leth, the Alien's City' border='0'>^T'leth, the Alien's City.html^^";
s[97] = "<img src='sm/097.jpg' alt='ALien Probe Mission' title='ALien Probe Mission' border='0'>^ALien Probe Mission.html^^";
s[98] = "<img src='sm/098.jpg' alt='Alien Interdiction' title='Alien Interdiction' border='0'>^Alien Interdiction.html^^";
s[99] = "<img src='sm/099.jpg' alt='Alien Resource Raid' title='Alien Resource Raid' border='0'>^Alien Resource Raid.html^^";
s[100] = "<img src='sm/100.jpg' alt='Alien Infiltration' title='Alien Infiltration' border='0'>^Alien Infiltration.html^^";
s[101] = "<img src='sm/101.jpg' alt='Alien Colony Expansion' title='Alien Colony Expansion' border='0'>^Alien Colony Expansion.html^^";
s[102] = "<img src='sm/102.jpg' alt='Alien Surface Attacks' title='Alien Surface Attacks' border='0'>^Alien Surface Attacks.html^^";
s[103] = "<img src='sm/103.jpg' alt='Floating Base Attack' title='Floating Base Attack' border='0'>^Floating Base Attack.html^^";
s[104] = "<img src='sm/104.jpg' alt='Colony Ship Missions' title='Colony Ship Missions' border='0'>^Colony Ship Missions.html^^";
s[105] = "<img src='sm/105.jpg' alt='Ion Beam Accelerators' title='Ion Beam Accelerators' border='0'>^Ion Beam Accelerators.html^^";
s[106] = "<img src='sm/106.jpg' alt='Magnetic Navigation' title='Magnetic Navigation' border='0'>^Magnetic Navigation.html^^";
s[107] = "<img src='sm/107.jpg' alt='Alien Sub Construction' title='Alien Sub Construction' border='0'>^Alien Sub Construction.html^^";
s[108] = "<img src='sm/108.jpg' alt='Alien Cryogenics' title='Alien Cryogenics' border='0'>^Alien Cryogenics.html^^";
s[109] = "<img src='sm/109.jpg' alt='Alien Cloning' title='Alien Cloning' border='0'>^Alien Cloning.html^^";
s[110] = "<img src='sm/110.jpg' alt='Alien Learning Arrays' title='Alien Learning Arrays' border='0'>^Alien Learning Arrays.html^^";
s[111] = "<img src='sm/111.jpg' alt='Alien Implanter' title='Alien Implanter' border='0'>^Alien Implanter.html^^";
s[112] = "<img src='sm/112.jpg' alt='Examination Room' title='Examination Room' border='0'>^Examination Room.html^^";
s[113] = "<img src='sm/113.jpg' alt='Aqua Plastics' title='Aqua Plastics' border='0'>^Aqua Plastics.html^^";
s[114] = "<img src='sm/114.jpg' alt='Survey Ship' title='Survey Ship' border='0'>^Survey Ship.html^^";
s[115] = "<img src='sm/115.jpg' alt='Escort' title='Escort' border='0'>^Escort.html^^";
s[116] = "<img src='sm/116.jpg' alt='Cruiser' title='Cruiser' border='0'>^Cruiser.html^^";
s[117] = "<img src='sm/117.jpg' alt='Heavy Cruiser' title='Heavy Cruiser' border='0'>^Heavy Cruiser.html^^";
s[118] = "<img src='sm/118.jpg' alt='Hunter' title='Hunter' border='0'>^Hunter.html^^";
s[119] = "<img src='sm/119.jpg' alt='Battleship' title='Battleship' border='0'>^Battleship.html^^";
s[120] = "<img src='sm/120.jpg' alt='Dreadnaught' title='Dreadnaught' border='0'>^Dreadnaught.html^^";
s[121] = "<img src='sm/121.jpg' alt='Fleet Supply Cruiser' title='Fleet Supply Cruiser' border='0'>^Fleet Supply Cruiser.html^^";




// ---------- 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 href="', os[1], '">', os[0], '</a> ');
		} else {
			document.write('<a href="', os[1], '">', os[0], '</a> ');
		}
	}

}
