/*********************************************************************
|     Greatest Inventions - The Evolution of Man Through History     |
**********************************************************************/
if (document.images)
	{
		img1on=new Image();
		img1on.src="images/help.on.gif";
		img2on=new Image();
		img2on.src="images/help1.on.gif";
		img3on=new Image();
		img3on.src="images/links.on.gif";
		img4on=new Image();
		img4on.src="images/guide.on.gif";
		img5on=new Image();
		img5on.src="images/guide1.on.gif";
		img6on=new Image();
		img6on.src="images/guide2.on.gif";
		img7on=new Image();
		img7on.src="images/interactive.on.gif";
		img8on=new Image();
		img8on.src="images/inventions.on.gif";
		img9on=new Image();
		img9on.src="images/inventions1.on.gif";
		img10on=new Image();
		img10on.src="images/inventors.on.gif";
		img11on=new Image();
		img11on.src="images/timeline.on.gif";
		img12on=new Image();
		img12on.src="images/timeline1.on.gif";
		img13on=new Image();
		img13on.src="images/dot.gif";
		img14on=new Image();
		img14on.src="images/interactive3.gif";
		img15on=new Image();
		img15on.src="images/guide3.gif";
		img1off=new Image();
		img1off.src="images/help.gif";
		img2off=new Image();
		img2off.src="images/help1.gif";
		img3off=new Image();
		img3off.src="images/links.gif";
		img4off=new Image();
		img4off.src="images/guide.gif";
		img5off=new Image();
		img5off.src="images/guide1.gif";
		img6off=new Image();
		img6off.src="images/guide2.gif";
		img7off=new Image();
		img7off.src="images/interactive.gif";
		img8off=new Image();
		img8off.src="images/inventions.gif";
		img9off=new Image();
		img9off.src="images/inventions1.gif";
		img10off=new Image();
		img10off.src="images/inventors.gif";
		img11off=new Image();
		img11off.src="images/timeline.gif";
		img12off=new Image();
		img12off.src="images/timeline1.gif";
		img13off=new Image();
		img13off.src="images/dot.gif";
		img14off=new Image();
		img14off.src="images/interactive.gif";
		img15off=new Image();
		img15off.src="images/guide2.gif";
	 	backgr1=new Image();
		backgr1.src="images/h1.gif";
		backgr2=new Image();
		backgr2.src="images/h2.gif";
		backgr3=new Image();
		backgr3.src="images/g1.gif";
		backgr4=new Image();
		backgr4.src="images/g2.gif";
		backgr5=new Image();
		backgr5.src="images/l1.gif";
		backgr6=new Image();
		backgr6.src="images/l2.gif";
		backgr7=new Image();
		backgr7.src="images/int1.gif";
		backgr8=new Image();
		backgr8.src="images/int2.gif";
		backgr9=new Image();
		backgr9.src="images/inons1.gif";
		backgr10=new Image();
		backgr10.src="images/inons2.gif";
		backgr11=new Image();
		backgr11.src="images/inors1.gif";
		backgr12=new Image();
		backgr12.src="images/inors2.gif";
		backgr13=new Image();
		backgr13.src="images/t1.gif";
		backgr14=new Image();
		backgr14.src="images/t2.gif";
		backgr15=new Image();
		backgr15.src="images/m1.gif";
		backgr16=new Image();
		backgr16.src="images/m2.gif";
		backgr17=new Image();
		backgr17.src="images/backgr.gif";
	}	

ie=document.all?1:0;
ns=document.layers?1:0;
ns6=document.getElementById?1:0;
if (ns) document.captureEvents(Event.MOUSEDOWN||Event.KEYPRESS);
		document.onkeypress=getKey;
replacer='<table border=0 cellpadding=0 cellspacing=0 width=341 height=246><tr><td rowspan=1 colspan=2 width=341 height=62 background=images/';
textfill='<img src=images/dot.gif width=1 height=1></td></tr><tr><td rowspan=1 colspan=1 width=296 height=184 background=images/backgr.gif valign=top><p align=justify><font class=text>&nbsp;&nbsp;';
afterT='</font></p><img src=images/dot.gif width=296 height=1></td><td rowspan=1 colspan=1 width=45 height=184 background=images/';
backT='<img src=dot.gif width=1 height=1></td></tr></table>';

var tekst   =new Array()
    tekst[0]=''+replacer+'m1.gif>'+textfill+'Heartly welcome to Greatest Inventions! People started their evolution many years ago and century, after century, after century they evolutionised.<br>&nbsp;&nbsp;This Web site is made with the purpose of acquainting you, the Internet surfer, of the way people have walked up the "ladder of evolution" from the invention of the Gutenberg\'s printing press to the invention of the Digital Video Disc. <br>'+afterT+'m2.gif>'+backT+'';
	tekst[1]=''+replacer+'h1.gif>'+textfill+'The Help section is the place where you can find our personal info, the Sitemap of the whole Web site. You can also see all the words in the Glossary section as well as the profile of Our Assistant.<br>&nbsp;&nbsp;If you have any comments or advice on the Web site you could leave them there as well either by signing our Guestbook by sending us an e-mail from there.<br>'+afterT+'h2.gif>'+backT+'';
	tekst[2]=''+replacer+'l1.gif>'+textfill+'We know that Greatest Inventions could not cover all the information about the inventors and inventions so we have included many links to similar  Web sites in the Internet.<br>&nbsp;&nbsp;There are links separately along with every invention and inventor or links to Web site that like this cover information about more inventors, inventions or both.<br>'+afterT+'l2.gif>'+backT+'';
	tekst[3]=''+replacer+'g1.gif>'+textfill+'If you are not quite sure what to see first in Greatest Invention or you do not have enough time for seeing the whole Web site you could take one of the guides in the Guide section - Inventors guide, Inventions Guide, the History guide or the Guided Tour for a short journey around the parts of the Web site that worth see them. <br>'+afterT+'g2.gif>'+backT+'';
	tekst[4]=''+replacer+'int1.gif>'+textfill+' The best time to learn something is while having fun. The "Interactive" section is a special set of interactive activities like quizzes and puzzles with the help of which you will learn many, many new things even without knowing it.<br>&nbsp;&nbsp;In parts of Interactive like the Goo rooms or the Learning cab you will be able to test how much you know about the greatest inventions and inventors.<br>'+afterT+'int2.gif>'+backT+'';
	tekst[5]=''+replacer+'inons1.gif>'+textfill+'In the "Inventions" section you will find interesting stories about the greatest inventions in the human history. These inventions have change in one way or another the way people live no matter where there are on the planet Earth.<br>&nbsp;&nbsp;Without the innovations that happen everyday, even every minute the evolution is impossible, don\'t you think?<br>'+afterT+'inons2.gif>'+backT+'';
	tekst[6]=''+replacer+'inors1.gif>'+textfill+'The "Inventors" section is the exact place where you could learn more about the men who chose to devote their time, money and sometimes lives to make people\'s life better - the inventors.<br>&nbsp;&nbsp;In the section are placed the stories about the lives of some of the greatest minds that mankind knows such as Thomas Alva Edison, Albert Einstein and Benjamin Franklin... <br>'+afterT+'inors2.gif>'+backT+'';
	tekst[7]=''+replacer+'t1.gif>'+textfill+'Everything changes in our world and all it takes is just time. The mankind has started its evolution more than 3000 years ago from the invention of the fire, but during this long period it has walked up the "ladder of evolution".<br>&nbsp;&nbsp;The Timeline is will show you graphically how people evolutionised from the invention of the printing press in 1450 to the modern inventions like the DVD. <br>'+afterT+'t2.gif>'+backT+'';

/*
Textual Tooltip Script II- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

function pokazi(kakwo)
	{
		if(ie) opisanie.innerHTML=tekst[kakwo];
		else if(ns6) document.getElementById("opisanie").innerHTML=tekst[kakwo];
		else if(ns)
			{
				with(document.opisanie1.document.opisanie2)
					{
						document.write(tekst[kakwo]);
						document.close();
					}
			}
	}

function skrij()
	{
		if(ie) opisanie.innerHTML=tekst[0];
		else if(ns6) document.getElementById("opisanie").innerHTML=tekst[0];
		else if(ns)
			{
				with(document.opisanie1.document.opisanie2)
					{
						document.write(tekst[0]);
						document.close();
					}
			}
	}

function getKey(e)
	{
		getEvent=ie?event.keyCode:e.which;
		key=String.fromCharCode(getEvent).toLowerCase();
		switch (key)
			{
				case "h":
					window.location="help/index.shtml";
					break;
				case "l":
					window.location="links/index.shtml";
					break;
				case "g":
					window.location="guide/index.shtml";
					break;
				case "i":
					window.location="interactive/index.shtml";
					break;
				case "p":
					fillLayer(pr)
					break;
				case "1":
					window.location="inventions/index.shtml";
					break;
				case "2":
					window.location="inventors/index.shtml";
					break;
				case "3":
					window.location="timeline/index.shtml";
					break;
			}
	}
function imgOn(edno, dwe, tri, kakwo)
	{
		if(document.images)
			{
				document[edno].src=eval(edno+"on.src");
				document[dwe].src=eval(dwe+"on.src");
				document[tri].src=eval(tri+"on.src");
			}
		 pokazi(kakwo);
	}

function imgOff(edno,dwe,tri)
	{
		if(document.images)
			{
				document[edno].src=eval(edno+"off.src");
				document[dwe].src=eval(dwe+"off.src");
				document[tri].src=eval(tri+"off.src");
			}
		skrij();
	}
function getStatus(message){window.status=message;}
function regenerate(){if(ns) setTimeout("window.onresize=document.location.reload()",450)}
function imgOn2(edno,dwe){if(document.images) document[edno].src=eval(dwe+"on.src");}
function imgOff2(edno,dwe){if(document.images) document[edno].src=eval(dwe+"off.src");}
