var gContent="";
var gq="";
var a=new Array();

a[0]="RV3^Vuk Milutinovic^about vuk milutinovic developer analyst Brighton unique web applications development training support services companies businesses individuals take great pride excellent flexible fast service clients^index.html#rv3^iRV3.png";
a[1]="Development^Making things happen^Computer software is a tool there to make everyday tasks easier Typical RV3 development cycle Services Business process analysis SQL MySQL compliant database integration PHP JavaScript DHTML web development hardware software integration media creation alteration database driven email facilities standards compliant HTML xHTML CSS web development^index.html#development^iCoding.png";
a[2]="Learning^Make the most of your tools^training shocking but true Most people know how to use computers rely repetitive memorised actions no understanding doing Outcome inefficient work force a lot of unhappy people Good news people already highly developed fundamental skills needed successfully using computers Individually made RV3 learning programmes improve all levels skills beginners competent advanced users^index.html#learning^iLearning.png";
a[3]="Support^On site, telephone and email support^Peace of mind Most systems once set up properly need next to no maintenance endeavour achieve On site aspect Unix Windows Mac operating systems configuration training management done on site Support Telephone emai options immediate help get job done^index.html#support^iSupport.png";
a[4]="Why name RV3?^Silly and childish, but there you go^Most childhood spent Rovigno Rovinj boats registration beginning with rv3 place full orange reflections hence bright logo no mystery just happy memory^index.html#about^iRV3.png";

a[5]= "AntiVirus links^Links to AntiVirus software^Avira Excellent anti-virus software for PCs.clamXav Even though macs had no viruses in recent past, they can still pass on PC viruses, and it doesnŐt do any good to be complacent. Free and regulary updated software.^links.html#AntiVirus^iAntiVirus.png";
a[6]= "Applications links^Links to Applications software^NeoOffice 2.1 Version of the OpenOffice.org office suite that has been engineered to run natively on Mac OS X without X11.OpenOffice A multi-platform and multi-lingual office suite and an Open Source project compatible with all other major office suites.Google Earth Geography as it should be, with satelite maps and wealth of other information.Parallels Run Windows along side your Mac. You must have an Intel based Mac for this software.Stellarium A free open source planetarium for your computer. It shows a realistic sky in 3D, just like what you see with the naked eye, binoculars or a telescope.SuperDuper! Bootable backups, made super easy with incremental and schedulling options. Needs an external drive.^links.html#Applications^iApps.png";
a[7]= "Fonts links^Links to Fonts software^Linotype Font Explorer An excellent font management utility, especially if your library has thousands of faces.Font Doctor X If you have accumulated years of fonts, and can not make heads or tails of it, this wonderful utility will.^links.html#Fonts^iFonts.png";
a[8]= "Games links^Links to Games software^Darwinia Darwinia is populated by a sentient evolving life form called the Darwinians, and you happen to be visiting just as the horrible viral infection breaks out. Outstanding Old Skul!!!Cubes Pure and simple Tetris, but called cubes to avoid Microsoft copyright infrigment.Oolite Conversion of the old Elite, arguably the most accomplished game of all times, with the latest technologies, and on all platforms.SixtyForce Nintendo 64 emulator running on MacOS X! Most games work just like the real thing.ZX Spectrum Emulator for oldy but goldy ZX. Full emulator with tape resurection and a number of different zx models support.Flightgear One of the most detailed flight simulators, with accurate terrains and physical models of most civil aircrafts.^links.html#Games^iGames.png";
a[9]= "Internet links^Links to Internet software^Firefox The finest internet browserMessenger for Mac Instant messaging using Microsoft Hotmail accountsOpera Surf the Internet in a safer, faster, and easier way.RapidWeaver If you need a podcast, photo or blog site done professionally in a few minutes, this is the software. Made in Brighton.Skype Everyone talks for free. Internet chat client with some very sophisticated Audio/Video conference abilities.Thunderbird Emailing made safer, faster, and easier than ever before with the industryŐs best implementations of features such as intelligent spam filters, built-in RSS reader, quick search, and much more.Transmit The best FTP client out there, with the latest technologies support.Timbuktu Remote system access and management on Mac and PCs.^links.html#Internet^iNet.png";
a[10]= "Players links^Links to Players software^VLC Media Player A free, cross-platform multi-media player and streaming-server supporting almost every kind of media.RealPlayer Internet playback of streamed content like radio and TV showsAdobe Flash Player The standard for delivering high-impact, rich web content. QuickTime Mac media player with limited MPEG support. Integral part of iTunes, but needs extensions to play all DivX and AVI files.Flip4Mac Opens the world of Windows Media content to Mac users, enabling them to access audio and video on the Web.DivX Get to play movies in the most popular codec.^links.html#Players^iPlayers.png";
a[11]= "Updates links^Links to Updates software^Mac OS X 10.4.9 Combo Update (Intel) This update includes general operating system fixes, as well as specific fixes and compatibility updates.Microsoft Office 2004 Latest security updatesMicrosoft Office 2001 Latest updates for Office 2001Apple Security update Latest security updates^links.html#Updates^iUpdates.png";
a[12]= "Utilities links^Links to Utilities software^StuffIt Expander File expansion and decoding3D-Space VFS Combines Launcher, Dock and Finder features with elegant 3D drawers to give you instant point-and-click access to all of your files and applications.CSS Edit With intuitive visual controls and a powerful source environment, find your way to Web 2.0 in style. Offers real-time styling for any website, even AJAX-powered killer Web Apps.YASU Yet Another System Utility, to be used by administrators to do tedious tasks that would normally be done on a command line, with a click of a button.Adobe Kuler Get your colours right. Extremly easy to use.Adobe Acrobat Reader Reader application for Portable Document Format (PDF) documents.Remote Desktop Connection Client Connect to Windows XP machines remotely.Boot Camp If you have the latest Intel Mac, you can turn it into a PC, running native Windows. Nothing stopping you getting the latest games for PC, but also the latest viruses too. Make sure you are protected!Little Snitch Firewall protects you from unwanted incoming internet traffic - Little Snitch protects from unwanted outgoing internet traffic.^links.html#Utilities^iUtilities.png";

function fMakeList(){
document.getElementById('searchResults').style.display='block';
var lText=document.fSearch.rv3q.value;
var lR="";

if (lText==''){fHideSearch();return;}

document.getElementById('findCancel').style.display='inline';

if (lText.toLowerCase()=='darone') {lR='<div style="clear:both;"><img alt="A nije lako biti ovako lud;)" src="http://rv3.co.uk/media/baja.jpg" align="left" border="0"></div><div style="clear:both;">KakaB majCtoP, a!?</div>';document.getElementById("searchResults").innerHTML=lR;return;}
if (lText.toLowerCase()=='lozza') {lR='<div style="clear:both;"><a href="http://www.ambrosiasw.com/games/defcon" title="Get the game" target="_blank"><img alt="Defcon" src="http://rv3.co.uk/media/defcon.jpg" align="left" border="0"></a></div><div style="clear:both;">(War Games + Command and Conquer) * Coolness = <a href="http://www.ambrosiasw.com/games/defcon" title="Get the game" target="_blank">DEFCON</a></div>';document.getElementById("searchResults").innerHTML=lR;return;}
if (lText.toLowerCase()=='hebeha') {lR='<div style="clear:both;"><img alt="Pa dobro bre gde si ti?" src="http://rv3.co.uk/media/HEBEHA.jpg" align="left" border="0"></div><div style="clear:both;">Alo:)<br>Link za <a href="http://rv3.co.uk/theKnife_PassThisOn.mp3" title="The Knife - Pass this on">pesmu :*</a><br><br>12 Aug 2007 - 22 minuta po ponoci<br>Aaa, ovo je opasno dobro, igramo na <a href="http://rv3.co.uk/KingOfTheZulus.mp3">tango foru uz ovo sada</a>.</div>';document.getElementById("searchResults").innerHTML=lR;return;}
if (lText.toLowerCase()=='6o6ah') {lR='<div style="clear:both;"><img alt="Ciao Mrave!" src="http://rv3.co.uk/m/iGames.png" align="left" border="0"></div><div style="clear:both;">Dragi Ujkice,<br>Ovde ti je <a href="http://rv3.co.uk/winboard-4_2_7b.exe" title="Instalacija za PC-ija" target="_blank">program</a> za PC-ija,<br>a ovde je tvoja <a href="http://rv3.co.uk/bobanov%20remi.gam" title="Bobanov remi" target="_blank">remi igra</a>.<br>Ljubim vas sve, Vuja</div>';document.getElementById("searchResults").innerHTML=lR;return;}
if (lText.toLowerCase()=='tnjaha') {lR='<div style="clear:both;"><img alt="Alo!" src="http://rv3.co.uk/m/t.jpg" align="left" border="0"></div><div style="clear:both;"><h2 style="color:#000;">CiganJska posla</h2>InstalirasH se sa nekim vinom, vutrom sHta vec... ono opusHteno bez koke i ludila,<br>a ondaK <a href="http://rv3.co.uk/t.m4a" title="MuZika" target="_blank">slusHasH</a> ovu stvar<br>To bi bilo to<br>CmoK</div>';document.getElementById("searchResults").innerHTML=lR;return;}
if (lText.toLowerCase()=='dom') {lR='<div style="clear:both;"><img alt="Alo!" src="http://rv3.co.uk/m/iCoding.png" align="left" border="0"></div><div style="clear:both;"><h2 style="color:#000;">Yo!!!</h2>Here is the <a href="http://rv3.co.uk/macbookpro-2.4_2.2GHz-15.pdf" title="Service manual" target="_blank">service manual</a> for your laptop.<br>Hope it helps you out</div>';document.getElementById("searchResults").innerHTML=lR;return;}
if (lText.toLowerCase()=='ljw') {lR='<div style="clear:both;"><img alt="Spam" src="http://rv3.co.uk/ljw/spam.jpg" align="left" border="0"><h2 style="color:#000;">Hello pretty</h2>Here is <a href="http://rv3.co.uk/ellalouis.mp3" title="They can\'t take that away from me" target="_blank">the tune</a> that instantly takes me for that dream-like walk we had the other day:)</div><div style="clear:both">Here are those Bob Dylan shows I was telling you about... you probably don\'t remember, but Bobby is the DJ and plays a very odd but also very nice collection of music.</div><div style="clear:both"><a href="http://rv3.co.uk/Bob-Dylan-Rich-and-Poor.m4a"><img src="http://rv3.co.uk/ljw/rich_poor.jpg" align="left" border="0">Rich and Poor</a></div><div style="clear:both"><a href="http://rv3.co.uk/Bob-Dylan-Youth-and-age.m4a"><img src="http://rv3.co.uk/ljw/age.jpg" align="left" border="0">Youth and age</a></div><div style="clear:both"><a href="http://rv3.co.uk/Bob Dylan-New-York.m4a"><img src="http://rv3.co.uk/ljw/newyork.jpg" align="left" border="0">New York</a></div></div>';document.getElementById("searchResults").innerHTML=lR;return;}
if (lText.toLowerCase()=='blackaby') {lR='<div style="clear:both;"><img alt="Happy thoughts" src="http://rv3.co.uk/blackaby/happy.jpg" align="left" border="0"><h2 style="color:#000;">Hello there</h2>Here is Bob Dylan\'s <a href="http://rv3.co.uk/Bob-Dylan-Youth-and-age.m4a" title="Youth and age" target="_blank">radio show</a> that had the birthday tune.<br>In spite of thinking about it for a few months I didn\'t do rehearsal run over the mobile... Lame, I know.<br>The tune is right near the end of the show, but the whole hour is very good listening too.</div>';document.getElementById("searchResults").innerHTML=lR;return;}

if (lText!=gq)
{
//alert (lText);
fBuildList(lText);
gq=lText;
}
}

function fStartSearch(){
 gContent=document.getElementById("rv3ContentMiddle").innerHTML;
  var lT='<div class="rv3container"><h1>Search<\/h1>';
  lT=lT+'<p class="small">I am looking for:<\/p><form name="fSearch" action="#" onSubmit="javascript:return false;"><input type="text" name="rv3q" size="16" value="" onkeyup="javascript:fMakeList();"><\/form><a href="javascript:fRestorePage();" title="Back to original item" onmouseover="javascript:document.b_back.src=\'/iFace/b_back_over.gif\';" onmouseout="javascript:document.b_back.src=\'/iFace/b_back.gif\';"><img alt="Back" src="/iFace/b_back.gif" align="absmiddle" border="0" name="b_back"><\/a>';

 document.getElementById("rv3ContentMiddle").innerHTML=lT+'<div id="searchResults">&nbsp;<\/div><\/div>';
 document.fSearch.rv3q.focus();
}

function fRestorePage(){
 document.getElementById("titleText").innerHTML=gTitle;
 document.getElementById("titleImage").innerHTML=gStamp;
 document.getElementById("contentMain").innerHTML=gContent;
}

function fLoadURL(pURL){
var lFound=window.location.href;
var lFile1=lFound.split('/');
var lFile2=lFile1[(lFile1.length)-1].split('#');
var lpFile=pURL.split('#');
fHideSearch();
window.location.href=pURL;
//window.location.reload();
}

function fBuildList(pQ){
var lq=pQ.toLowerCase();
var laQueries=lq.split(" ");
var lResults=new Array();
var lsResults='<ul id="resultsList">';
var lnFoundCounter=0;
var lsHeader="";
var lFoundCount=0;

for (var n=0;n<laQueries.length;n++){
 var lsQuery=laQueries[n];

  for (var i=0;i<a.length;i++){
   var lA=a[i].toLowerCase();
   if (lA.indexOf(lsQuery,1)>0)
    {
     lnFoundCounter=lnFoundCounter+1;
     var lTemp=a[i];
     var lRes=lTemp.split('^');
     lsResults=lsResults+'<li><a href="javascript:fLoadURL(\''+lRes[3]+'\');" title="'+lRes[1]+'"><img src="/m/'+lRes[4]+'" border="0" align="left" class="pngFile"><span style="padding-left:4px;font-weight:bold;">'+lRes[0]+'</span><br /><span class="small" style="padding-left:4px;">'+lRes[1]+'</span></a></li>';
    }
  }

}

lsResults=lsResults+"</ul>";
if (lnFoundCounter>0)
{lsHeader='<p class="small" style="background-color:#b7b7b7;"><strong>'+pQ+'</strong> returned <strong>'+lnFoundCounter+'</strong> articles.</p>';}
else
{lsHeader='<p class="small" style="background-color:#b7b7b7;"><strong>'+pQ+'</strong> returned <strong>no articles</strong>.'}
lsResults=lsHeader+lsResults;
document.getElementById("searchResults").innerHTML=lsResults;
}

function fHideSearch(){
	document.getElementById('findCancel').style.display='none';
	document.getElementById('searchResults').innerHTML='&nbsp;';
	document.getElementById('searchResults').style.display='none';
	document.fSearch.rv3q.value='';
}