// The contents of this file are all Copyright 2001 E.S.Q. Software



// precache images for ESQSoft.com pages (right nav bar)
graphic0=new Image(); 			graphic0.src="esq1.gif";
graphic1=new Image(); 			graphic1.src="dot.gif";

button1_out=new Image(); 		button1_out.src="contact_unhighlighted.gif";
button1_over=new Image(); 	button1_over.src="contact_highlighted.gif";

button2_out=new Image(); 		button2_out.src="games_unhighlighted.gif";
button2_over=new Image(); 	button2_over.src="games_highlighted.gif";

button3_out=new Image(); 		button3_out.src="webdesign_unhighlighted.gif";
button3_over=new Image();		button3_over.src="webdesign_highlighted.gif";

button4_out=new Image(); 		button4_out.src="freehosting_unhighlighted.gif";
button4_over=new Image(); 	button4_over.src="freehosting_highlighted.gif";










// Random Word Background (Blah Blah Blah Yadda Yadda Yadda)
// Author: Thomas Ballard
// Copyright 2001 -- E.S.Q. Software
// Questions, Comments, Work? Email me at thomas2003*esqsoft^om (antibot: *=@, ^=.c)
// Description: Requires CSS Complaint browser (best viewed with IE5+).
//    This builds up layers of random words which can act as a background.
//    It's very fast (faster than loading down a background graphic) and 
//    unlike a background graphic its dynamic, it changes each time it loads.
function yadda_yadda(){
	var str='<br>';
  str+='<style>\
  .hh1{\
  	color: #888866;\
  	font-family: new times roman, arial black, serif;\
  	font-size: 9px;\
  	font-weight: normal;\
  	line-height: 5px;\
  	margin-bottom: 10px;\
  	margin-top: 0px;\
  	margin-left: 10px;\
  	letter-spacing: 5px;\
  }\
  .hh2{\
  	color: #887755;\
  	font-family: arial, verdana, sans-serif;\
  	font-size: 42px;\
  	font-weight: bold;\
  	line-height: 11px;\
  	margin-bottom: 15px;\
  	margin-top: 0px;\
  	margin-left: -10px;\
  	letter-spacing: -5px;\
  }\
  .hh3{\
  	color: #776644;\
  	font-family: helvetica, arial, sans-serif;\
  	font-size: 30px;\
  	font-weight: bold;\
  	line-height: 11px;\
  	margin-bottom: 7px;\
  	margin-top: -10px;\
  	margin-left: -5px;\
  	letter-spacing: 0px;\
  }\
  .hh4{\
  	color: #444466;\
  	font-family: verdana, serif;\
  	font-size: 15px;\
  	font-weight: normal;\
  	line-height: 10px;\
  	margin-bottom: 15px;\
  	margin-top: -8px;\
  	margin-left: 100px;\
  	letter-spacing: 4px;\
  }\
  .hh5{\
  	color: #778877;\
  	font-family: courier new, courier, serif;\
  	font-size: 23px;\
  	font-weight: bold;\
  	line-height: 10px;\
  	margin-bottom: 10px;\
  	margin-top: -5px;\
  	margin-left: -10px;\
  	letter-spacing: 2px;\
  }\
  </style>';

	var index=1;
	while(index<6){	
		optsel=Math.round((15)*Math.random())+1;
		str+='<div class="hh'+index+'">';
		switch(optsel){
			case 1: str+='Building'; break;
			case 2: str+='Constructing'; break;
			case 3: str+='Unfinished'; break;
			case 4: str+='InProgress'; break;
			case 5: str+='WorkyWorky'; break;
			case 6: str+='SomethingGreat'; break;
			case 7: str+='Art'; break;
			case 8: str+='EmptyCanvas'; break;
			case 9: str+='UnknownGas'; break;
			case 10: str+='EatMoreChicken'; break;
			case 11: str+='Moving'; break;
			case 12: str+='HighTechnology'; break;
			case 13: str+='JumboUnderworld'; break;
			case 14: str+='Foundation'; break;
			case 15: str+='Facilities'; break;
			case 16: str+='MoreComingSoon'; break;
			default: alert(optsel); break;
		}
		str+='</div>';
		index++;
	}
	document.write(str);
	return;
}
