function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function image_preloader(){
	MM_preloadImages('../images/about.gif','../images/aboutW.gif','../images/border_BL.jpg','../images/border_bot.jpg','../images/border_BR.jpg','../images/border_left.gif','../images/border_R.jpg','../images/clients.gif','../images/clientsW.gif','../images/color_pallete2.gif','../images/company.gif','../images/companyW.gif','../images/company_sub_back.gif','../images/content_top_left.jpg','../images/content_top_right.jpg','../images/contacts.gif','../images/contactsW.gif','../images/content_back.gif','../images/jobs.gif','../images/jobsW.gif','../images/jobs_title.gif','../images/labirynht.gif','../images/lop_left.jpg','../images/main_nav.jpg','../images/menu_back.gif','../images/moto.gif','../images/portfolio.gif','../images/portfolioW.gif','../images/portfolio_title.gif','../images/process.gif','../images/processW.gif','../images/puzzle.gif','../images/services.gif','../images/servicesW.gif','../images/services_title.gif','../images/site.jpg','../images/solutions.gif','../images/solutionsW.gif','../images/solutions_title.gif','../images/spacer.gif','../images/square.gif','../images/studio.jpg','../images/thecompany.gif','../images/theteam.gif','../images/theteamW.gif','../images/the_eye.jpg','../images/the_team_title.gif','../images/under_EYE.gif','../images/under_EYE-08.jpg','../images/vision.gif','../images/visionW.gif','../images/welcome.gif','../images/X-bot.jpg','../images/X-top.jpg');
	
	}
	

function movedown(){
if (parseInt(crossobj.style.top)>=(contentheight*(-1)+100))
crossobj.style.top=parseInt(crossobj.style.top)-speed; else crossobj.style.top=10;
movedownvar=setTimeout("movedown()",100); }
function getcontent_height(){
contentheight=crossobj.offsetHeight
}



function pvii(obj, new_style) {
    obj.className = new_style;

}

function scrollTXT() {
var selector=1;
		for(var i=1; i<31; i++){
			//Math.floor(Math.random() * 4)
			//selector= Math.round(Math.random()*30);
			selector= Math.floor(Math.random()*30);
					
			switch (selector){
																		
							case 1:
											
							document.writeln("\"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.\"<br><div align=\"right\" class=\"scrollingFooter\">- Albert Einstein (1879-1955) </div><br><br>");
							break;
							 
							
							case 2:
											
							document.writeln("\"Don't be so humble - you are not that great.\"<br><div align=\"right\" class=\"scrollingFooter\">- Golda Meir (1898-1978) to a visiting diplomat </div><br><br>");
							break;
							
							 
							
							case 3:
											
							document.writeln("\"A lie gets halfway around the world before the truth has a chance to get its pants on.\"<br><div align=\"right\" class=\"scrollingFooter\">- Sir Winston Churchill (1874-1965) </div><br><br>");
							break;
							
							
							
							case 4:
											
							document.writeln("\"I'm living so far beyond my income that we may almost be said to be living apart.\"<br><div align=\"right\" class=\"scrollingFooter\">- e e cummings (1894-1962) </div><br><br>");
							break;
							
							
									
							
							case 5:
											
							document.writeln("\"Give me a museum and I'll fill it.\"<br><div align=\"right\" class=\"scrollingFooter\">- Pablo Picasso (1881-1973) </div><br><br>");
							break;
							
							
							 
							
							case 6:
											
							document.writeln("\"I find that the harder I work, the more luck I seem to have.\"<br><div align=\"right\" class=\"scrollingFooter\">- Thomas Jefferson (1743-1826) </div><br><br>");
							break;
							
							
									 
							
							case 7:
											
							document.writeln("\"The only way to get rid of a temptation is to yield to it.\"<br><div align=\"right\" class=\"scrollingFooter\">- Oscar Wilde (1854-1900) </div><br><br>");
							break;
							
							 
							
							case 8:
											
							document.writeln("\"Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws.\"<br><div align=\"right\" class=\"scrollingFooter\">- Plato (427-347 B.C.)</div><br><br>");
							break;
							
							
							
							case 9:
											
							document.writeln("\"Some cause happiness wherever they go; others, whenever they go.\"<br><div align=\"right\" class=\"scrollingFooter\">- Oscar Wilde (1854-1900)</div><br><br>");
							break;
							
							
							 
							
							case 10:
											
							document.writeln("\"I have not failed. I've just found 10,000 ways that won't work.\"<br><div align=\"right\" class=\"scrollingFooter\">- Thomas Alva Edison (1847-1931)</div><br><br>");
							break;
							
							
							 
							
							case 11:
											
							document.writeln("\"Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth.\"<br><div align=\"right\" class=\"scrollingFooter\">- Sherlock Holmes (by Sir Arthur Conan Doyle, 1859-1930)</div><br><br>");
							break;
							
							
							 
							
							case 12:
											
							document.writeln("\"Black holes are where God divided by zero.\"<br><div align=\"right\" class=\"scrollingFooter\">- Steven Wright</div><br><br>");
							break;
							
							
							 
							 
							
							case 13:
											
							document.writeln("\"It's kind of fun to do the impossible.\"<br><div align=\"right\" class=\"scrollingFooter\">- Walt Disney (1901-1966)</div><br><br>");
							break;
							
							
							 
							
							case 14:
											
							document.writeln("\"A friendship founded on business is better than a business founded on friendship.\"<br><div align=\"right\" class=\"scrollingFooter\">- John D. Rockefeller (1874-1960)</div><br><br>");
							break;
							
							
							 
							
							case 15:
											
							document.writeln("\"The significant problems we face cannot be solved at the same level of thinking we were at when we created them.\"<br><div align=\"right\" class=\"scrollingFooter\">- Albert Einstein (1879-1955)</div><br><br>");
							break;
							
							
							 
							
							case 16:
											
							document.writeln("\"To love oneself is the beginning of a lifelong romance\"<br><div align=\"right\" class=\"scrollingFooter\">- Oscar Wilde (1854-1900)</div><br><br>");
							break;
							 
							
							 
							
							case 17:
											
							document.writeln("\"Knowledge speaks, but wisdom listens.\"<br><div align=\"right\" class=\"scrollingFooter\">- Jimi Hendrix</div><br><br>");
							break;
							 
							
							case 18:
											
							document.writeln("\"If everything seems under control, you're just not going fast enough.\"<br><div align=\"right\" class=\"scrollingFooter\">- Mario Andretti</div><br><br>");
							break;
							
							
							 
							
							case 19:
											
							document.writeln("\"Obstacles are those frightful things you see when you take your eyes off your goal.\"<br><div align=\"right\" class=\"scrollingFooter\">- Henry Ford (1863-1947)</div><br><br>");
							break;
							
							
							 
							
							case 20:
											
							document.writeln("\"First they ignore you, then they laugh at you, then they fight you, then you win.\"<br><div align=\"right\" class=\"scrollingFooter\">- Mahatma Gandhi (1869-1948)</div><br><br>");
							break;
							
							
							 
							
							case 21:
											
							document.writeln("\"Success usually comes to those who are too busy to be looking for it\"<br><div align=\"right\" class=\"scrollingFooter\">- Henry David Thoreau (1817-1862)</div><br><br>");
							break;
							
							
							 
							
							case 22:
											
							document.writeln("\"My advice to you is get married: if you find a good wife you'll be happy; if not, you'll become a philosopher.\"<br><div align=\"right\" class=\"scrollingFooter\">- Socrates (470-399 B.C.)</div><br><br>");
							break;
							
							
							 
							
							case 23:
											
							document.writeln("\"There are two ways of constructing a software design; one way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.\"<br><div align=\"right\" class=\"scrollingFooter\">- C. A. R. Hoare</div><br><br>");
							break;
							
							
							 
							
							case 24:
											
							document.writeln("\"Always do right- this will gratify some and astonish the rest.\"<br><div align=\"right\" class=\"scrollingFooter\">- Mark Twain (1835-1910)</div><br><br>");
							break;
							
							
							 
							
							case 25:
											
							document.writeln("\"Well done is better than well said.\"<br><div align=\"right\" class=\"scrollingFooter\">- Benjamin Franklin (1706-1790) </div><br><br>");
							break;
							
							
							 
							
							case 26:
											
							document.writeln("\"A pessimist sees the difficulty in every opportunity; an optimist sees the opportunity in every difficulty.\"<br><div align=\"right\" class=\"scrollingFooter\">- Sir Winston Churchill (1874-1965)</div><br><br>");
							break;
							
							
							 
							
							case 27:
											
							document.writeln("\"I think there is a world market for maybe five computers.\"<br><div align=\"right\" class=\"scrollingFooter\">- Thomas Watson (1874-1956), Chairman of IBM, 1943 </div><br><br>");
							break;
							
							
							 
							
							case 28:
											
							document.writeln("\"There is no reason anyone would want a computer in their home.\"<br><div align=\"right\" class=\"scrollingFooter\">- Ken Olson, president, chairman and founder of Digital Equipment Corp., 1977</div><br><br>");
							break;
							
							
							 
							
							case 29:
											
							document.writeln("\"Everything that can be invented has been invented.\"<br><div align=\"right\" class=\"scrollingFooter\">- Charles H. Duell, Commissioner, U.S. Office of Patents, 1899</div><br><br>");
							break;
							 
							
							 
							
							case 30:
											
							document.writeln("\"Kites rise highest against the wind -- not with it.\"<br><div align=\"right\" class=\"scrollingFooter\">- Winston Churchill</div><br><br>");
							break;
					}
			}
}

function cms_prompter(section){
var section_url='../../';
switch (section){
	
	case 'THE COMPANY':
	section_url += 'company_about.html';
	break;
	case 'VISION':
	section_url += 'vision.html';
	break;
	case 'VISION':
	section_url += 'vision.html';
	break;
	case 'PROJECT':
	section_url += 'project.html';
	break;
	case 'CONTACT US':
	section_url += 'contactus.html';
	break;
	
};
if (document.forms.form.login_status.value == '1'){
	
	if(confirm('Do you want to navigate to ' +section+ ', and LOG OUT?') == true){
		top.window.location=section_url;
		} 
		else {
			alert("CANCEL");
		}
}

else {
	top.window.location=section_url;
	}

}