NS4 = (document.layers)? true:false;
IE4 = (document.all)? true:false;
N6 = (document.getElementById && !document.all) ? true:false;
function stopError() {
 // return true;
}
window.onerror = stopError;
function getQ(id)
{

	var ran_unrounded=Math.random()*10;
	var ran_number=Math.floor(ran_unrounded); 
	 if (id == "chicagooffice"){
		document.write("<i>&#34;I have always been dedicated to ensuring my clients receive the highest quality services possible.&#34;</i><br /><b>- Rob Dennison, CEO</b>");
	}else if (id == "financialBackers"){
		document.write("<i>&#34;We have backed Mike Harris in the past. Together, we created a great company called Jefferson Wells. We are excited to back another high-quality team and plan to support them with the necessary capital to build another great company.&#34;<i><br /><b>- Thomas Berman, Partner<br />Adams Street Partners</b>");
	}else if (id == "houstonoffice"){
		document.write("<i>&#34;This is a business model that I really embrace, from the range of services to the fair billing rates.  The founders of Adams Harris clearly understand what it takes to build a successful business, and I am pleased to be a part of this exciting, new opportunity.&#34;</i><br /><b>- Tracy Tyler<br />Managing Director<br />Houston Office</b>");
	}else if (id == "atlantaoffice"){
		document.write("<i>&#34;I am thrilled about joining Adams Harris and looking forward to building a team that can bring Atlanta the same value that the Chicago and Houston offices have brought their clients.&#34;</i><br /><b>- Mike Lisennby<br />Managing Director<br />Atlanta Office</b>");
	}else if (id == "stlouisoffice"){
		document.write("<i>&#34;I have always been dedicated to ensuring my clients receive the highest quality services possible.&#34;</i><br /><b>- Rob Dennison, CEO</b>");
	}else if (id == "newyorkmetrooffice"){
		document.write("<i>&#34;While others contract, Adams Harris has the vision to open offices and position itself for growth.  I am thrilled to join such a progressive team that understands the New York Metro market.&#34;</i><br /><b>- Karl Kispert<br />Managing Director<br />New York Metro Office</b>");
}else{
	
	if (ran_number == 0){
		document.write("<i>&#34;I believe in hiring the best people I can find and treating them very well, so they are motivated to deliver for our clients.&#34;</i><br /><b>- Mike Harris, Chairman of the Board</b>");
	}else if(ran_number == 1){
		document.write("<i>&#34;This is a model of operation I know well. Opening offices, hiring strong people and making sure clients are well served is like second nature to me.&#34;</i><br /><b>- Mike Harris, Chairman of the Board</b>");
	}else if(ran_number == 2){
		document.write("<i>&#34;The rubber meets the road with the quality of our employees. And we're fortunate to have people we can be very proud of.&#34;</i><br /><b>- Rob Dennison, CEO</b>");
	}else if(ran_number == 3){
		document.write("<i>&#34;During the last several years,  I believe too much money was paid to firms for Sarbanes-Oxley services. Adams Harris is determined to provide a better service for a better value.&#34;</i><br /><b>- Rob Dennison, CEO</b>");
	}else if(ran_number == 5){
		document.write("<i>&#34;Clients can count on us to be attentive, creative and responsive to their needs, while helping them achieve their goals.&#34;</i><br /><b>- Mike Harris, Chairman of the Board</b>");
	}else if(ran_number == 6){
		document.write("<i>&#34;We believe true value is realized when our team exceeds our client's expectations.&#34;</i><br /><b>- Mike Harris, Chairman of the Board</b>");		
	}else if(ran_number == 7){
		document.write("<i>&#34;I believe the market is ready for a new player--especially one that brings a proven track record of executing on engagements and delivering superior client service.&#34;</i><br /><b>- Mike Harris, Chairman of the Board</b>");		
	}else if(ran_number == 8){
		document.write("<i>&#34;We recognize that professionals are seeking careers that provide a nice work/personal life balance. This is a key element of the Adams Harris culture.&#34;</i><br /><b>- Rob Dennison, CEO</b>");
	}else if(ran_number == 9){
		document.write("<i>&#34;We not only value contributions from our professionals,<br />we expect them.&#34;</i><br /><b>- Rob Dennison, CEO</b>");
	}else if(ran_number == 4){
		document.write("<i>&#34;At Adams Harris, we believe in giving our professionals opportunities to create and define our company culture.&#34;</i><br /><b>- Rob Dennison, CEO</b>")

	}
	
	}
}

function preload(imgObj,imgSrc) { // function prelaods all images 
	if (document.images) {
		eval(imgObj+' = new Image()')
		eval(imgObj+'.src = "'+imgSrc+'"')
	}
}

function change(imgName,imgObj) {
		document.images[imgName].src = eval(imgObj+'.src');
}

preload ('shim', 'images/spacer.gif');

preload ('whatwedo_off', 'images/whatwedo_off.gif');
preload ('whatwedo_on', 'images/whatwedo_on.gif');
preload ('whatwedo_over', 'images/whatwedo_over.gif');

preload ('audit_off', 'images/audit_off.gif');
preload ('audit_on', 'images/audit_on.gif');
preload ('audit_over', 'images/audit_over.gif');

preload ('accounting_off', 'images/accounting_off.gif');
preload ('accounting_on', 'images/accounting_on.gif');
preload ('accounting_over', 'images/accounting_over.gif');

preload ('tax_off', 'images/tax_off.gif');
preload ('tax_on', 'images/tax_on.gif');
preload ('tax_over', 'images/tax_over.gif');

preload ('risk_off', 'images/risk_off.gif');
preload ('risk_on', 'images/risk_on.gif');
preload ('risk_over', 'images/risk_over.gif');


preload ('howweoperate_off', 'images/howweoperate_off.gif');
preload ('howweoperate_on', 'images/howweoperate_on.gif');
preload ('howweoperate_over', 'images/howweoperate_over.gif');

preload ('deliveryteam_off', 'images/deliveryteam_off.gif');
preload ('deliveryteam_on', 'images/deliveryteam_on.gif');
preload ('deliveryteam_over', 'images/deliveryteam_over.gif');

preload ('trackrecord_off', 'images/trackrecord_off.gif');
preload ('trackrecord_on', 'images/trackrecord_on.gif');
//p/reload ('trackrecord_over', 'images/trackrecord_over.gif');




preload ('whoweare_off', 'images/whoweare_off.gif');
preload ('whoweare_on', 'images/whoweare_on.gif');
preload ('whoweare_over', 'images/whoweare_over.gif');

preload ('leadershipteam_off', 'images/leadershipteam_off.gif');
preload ('leadershipteam_on', 'images/leadershipteam_on.gif');
//preload ('leadershipteam_over', 'images/leadershipteam_over.gif');

preload ('newsevents_off', 'images/newsevents_off.gif');
preload ('newsevents_on', 'images/newsevents_on.gif');
//preload ('newsevents_over', 'images/newsevents_over.gif');

preload ('financialBackers_off', 'images/financialBackers_off.gif');
preload ('financialBackers_on', 'images/financialBackers_on.gif');
//preload ('financialBackers_over', 'images/history_over.gif');

preload ('chicagooffice_off', 'images/chicagooffice_off.gif');
preload ('chicagooffice_on', 'images/chicagooffice_on.gif');

preload ('houstonoffice_off', 'images/houstonoffice_off.gif');
preload ('houstonoffice_on', 'images/houstonoffice_on.gif');

preload ('atlantaoffice_off', 'images/atlantaoffice_off.gif');
preload ('atlantaoffice_on', 'images/atlantaoffice_on.gif');

preload ('stlouisoffice_off', 'images/stlouisoffice_off.gif');
preload ('stlouisoffice_on', 'images/stlouisoffice_on.gif');

preload ('newyorkmetrooffice_off', 'images/newyorkmetrooffice_off.gif');
preload ('newyorkmetrooffice_on', 'images/newyorkmetrooffice_on.gif');

preload ('careers_off', 'images/careers_off.gif');
preload ('careers_on', 'images/careers_on.gif');

preload ('contactus_off', 'images/contactus_off.gif');
preload ('contactus_on', 'images/contactus_on.gif');
preload ('contactus_over', 'images/contactus_on.gif');


preload ('working_off', 'images/working_off.gif');
preload ('working_on', 'images/working_on.gif');
preload ('working_over', 'images/working_over.gif');

preload ('resume_off', 'images/resume_off.gif');
preload ('resume_on', 'images/resume_on.gif');
preload ('resume_over', 'images/resume_over.gif');



function popUp(page,name,h,w) {
				specs = "toolbar=no,location=no,directories=no,status=no,scrollbars=yes,width="+ w +",height="+ h +",menubar=no";
				nw = window.open(page, name, specs);
				nw.focus();
			}
