function changeColor(id, color)
{
	document.getElementById(id).style.color = color;
	return;
}

function changeBackgroundColor(id, color)
{
	document.getElementById(id).style.backgroundColor = color;
	return;
}

function show(id)
{
	document.getElementById(id).style.visibility = 'visible';
	return;
}

function hide(id)
{
	document.getElementById(id).style.visibility = 'hidden';
	return;
}
var focusEmailTimeout = null;
function clearAllIntervals()
{
	if(navigator.appName == "Microsoft Internet Explorer")//these are used only by IE
	{
		clearInterval(opacityIncInterval);
		opacityIncInterval = null;
		opacityIncIterator = 0;
		clearInterval(opacityInc2Interval);
		clearInterval(opacityDecInterval);
		clearTimeout(arrowTimeout);
	}
	document.getElementById('transitionalBillboard').innerHTML = '';
	clearInterval(headingInterval);
	clearTimeout(focusPAFormTimeout);
	clearTimeout(focusMENeighborFormTimeout);
	clearTimeout(focusOtherRoomsMEFormTimeout);
	clearTimeout(focusGarageMEFormTimeout);
	clearTimeout(focusFireplaceMeFormTimeout);
	clearTimeout(focusEmailTimeout);
	clearInterval(rotateBillboardInterval);
	return;
}
function hideForms(emailCalledInContactForm)
{
	document.getElementById('testimonialCount').innerHTML = "1&nbsp; of&nbsp; 2";
	hide('testimonialCount');
	hide('testimonialArrow');
	clearAllIntervals();
	opacityInc2Iterator = 0;
	opacityDecIterator = 100;

	hide('priorityAccessForm');
	//hide these initially invisible items because they don't clear when hiding the form if they are visible
	hide('masterBath');
	hide('garageSize');
	hide('marketEvaluationForm');
	hide('garageSizeTextMEForm');
	hide('garageSizeFieldMEForm');
	hide('masterBathTextMEForm');	
	hide('masterBathYesText');
	hide('otherRoomsTextME');
	hide('otherRoomsFieldME');
	hide('fireplacesTextME');
	hide('fireplacesMEFormField');
	hide('cancellationGuarantee');
	hide('priorityAccessRentalForm');
	hide('marketEvaluationNeighborForm');
	if(document.getElementById('confirmationMsg')) 
		hide('confirmationMsg');
	if(document.getElementById('confirmationMsgPAForm'))
		hide('confirmationMsgPAForm');
	if(document.getElementById('rentalMsg'))
		hide('rentalMsg');
	if(document.getElementById('marketEvaluationNeighborMsg'))
		hide('marketEvaluationNeighborMsg');
	if(emailCalledInContactForm)
		return;
	hide('contactForm');

	return;
}
function openAccessForm()
{
	hide('contentHeading');
	hide('contentBox');
	window.scrollTo(0,0);
	show('priorityAccessForm');
	return;
}
var focusPAFormTimeout = null;
function openInvestorsForm()
{
	hide('contentHeading');
	hide('contentBox');
	window.scrollTo(0,0);
	show('priorityAccessRentalForm');
	focusPAFormTimeout = setTimeout("priorityAccessRentalForm.nameRentalsForm.focus()", 1000);

	return;
}
function openCancellationGuarantee()
{
	hide('contentHeading');
	hide('contentBox');
	window.scrollTo(0,0);
	show('cancellationGuarantee');
	return;
}
function openMarketEvaluationForm()
{
	hide('marketEvaluationMenu');
	hide('MEMenuItem1');
	hide('MEMenuItem2');
	hide('contentHeading');
	hide('contentBox');
	show('marketEvaluationForm');
	setTimeout("window.scrollTo(0,0)", 100);
	return;
}
var focusMENeighborFormTimeout = null;
function openMarketEvaluationNeighborForm()
{
	hide('marketEvaluationMenu');
	hide('MEMenuItem1');
	hide('MEMenuItem2');
	hide('contentHeading');
	hide('contentBox');
	show('marketEvaluationNeighborForm');
	setTimeout("window.scrollTo(0,0)", 100);
	focusMENeighborFormTimeout = setTimeout("marketEvaluationNeighborForm.neighborsAddressField.focus()", 1000);
	return;
}
function successSoftwareLink()
{
	window.location.href = "http://www.successprogrammer.com";
}
function isbeLink()
{
	window.location.href = "http://www.isbe.state.il.us";
}
function showMEMenu()
{
	//position the MEMenu based on links' location
	document.getElementById('marketEvaluationMenu').style.top = document.getElementById('MELink').offsetTop + 207 + 'px';
	show("marketEvaluationMenu");
	show("MEMenuItem1");
	show("MEMenuItem2");
	return;
}	
function hideMEMenu()
{
	hide("MEMenuItem1");
	hide("MEMenuItem2");
	hide("marketEvaluationMenu");
	return;
}
function changePALink()
{
	changeColor('PALink', '#999999');
	return;
}
function changePALinkBack()
{
	changeColor('PALink', '#ffffff');
	return;
}
function changeCancelLink()
{
	changeColor('cancelLink', '#999999');
	return;
}
function changeCancelLinkBack()
{
	changeColor('cancelLink', '#ffffff');
	return;
}
function changeInvestorsLink()
{
	changeColor('investorsLink', '#999999');
	return;
}
function changeInvestorsLinkBack()
{
	changeColor('investorsLink', '#ffffff');
	return;
}
function changeMELinkColor()
{
	changeColor('MELink', '#999999');
	return;
}
function changeMELinkColorBack()
{
	changeColor('MELink', '#ffffff');
	return;
}
var opacityIncInterval = null;
var opacityIncIterator = 0;
function increaseIEOpacity()
{
	contentBox.filters.item("DXImageTransform.Microsoft.alpha").opacity = opacityIncIterator;
	show('contentBox');
	document.getElementById('contentBox').innerHTML = text;
	if(opacityIncIterator == 100)
	{
		clearInterval(opacityIncInterval);
		opacityIncInterval = null;
		opacityIncIterator = 0;
	}
	else 
		opacityIncIterator++;

	return;
}
function showContent()
{
	if(navigator.appName == "Netscape")
	{
		document.getElementById('contentHeading').innerHTML = heading; 
		show('contentHeading');
		document.getElementById('contentBox').innerHTML = text;
		show('contentBox');
	}
	if(navigator.appName == "Microsoft Internet Explorer")
	{
		document.getElementById('contentHeading').innerHTML = heading; 
		show('contentHeading');
		opacityIncInterval = setInterval("increaseIEOpacity()", 1);		
	}
	return;
}

var billboardMessages = [];
billboardMessages[0] = "Receive a 10% rebate when you buy!";
billboardMessages[1] = "Full service listings as low as 2.5%!";

var rotateBillboardInterval = null;
var billboardTracker = null;

function rotateBillboard()
{
	if(billboardTracker < billboardMessages.length)
		billboardTracker++;
	if(billboardTracker == billboardMessages.length)
		billboardTracker = 0;
	
	document.getElementById('transitionalBillboard').innerHTML = billboardMessages[billboardTracker];
	
	return;
}
function startBillboard()
{
	if(confirmationMsg.innerHTML == "")
	{	
		document.getElementById('transitionalBillboard').innerHTML = billboardMessages[0];
		billboardTracker = 0;

		rotateBillboardInterval = setInterval('rotateBillboard()', 3500);
	}
	return;
}

var testimonialText = [];
testimonialText[0] = "Dear Sam,<p>It has been almost a month since we moved into our new house and we love it. I just wanted to let you know how grateful we are for all your help. I know we looked at more houses than we needed to and changed our minds more times than we should have but thanks to your advice and patience we got exactly what we wanted. As you know, this is our first house and we were a little intimidated by the prospect of making such a huge investment. It was nice to work with someone who understood how much it meant to us. You can be sure that we will let all our friends and family know what a great experience it was to work with you and call you if we ever decide to move.<p>Sincerely,<p>The Cintron Family<br />Proud Homeowners<br />South Elgin";
testimonialText[1] = "February 28, 2005<p>To Whom It May Concern,<p>Sam Schauer has been a great asset to us throughout our home buying process. His communication with us was easy and comfortable, and he always made sure we weren&acute;t left in the dark as to what was happening at any point during the transaction.<p>As we looked at homes and found our list of &acute;must haves&acute; changing, Sam tuned in to those needs and quickly refined his search in order to always provide us with the most relevant listings from which to choose. At times, we felt like we were his only clients because he was so attentive and we were so well cared for.<p>We were so pleased with Sam we referred a family member to him before we even closed on our new property. That search is going well too and we couldn&acute;t be more please to hear it. Thanks to Sam, we found our perfect home and know they will too!<p>Sincerely,<p>The Vachlins<br />Roselle";
testimonialText[2] = "5/9/05<p>Dear Sam,<p>We just want to thank you for doing an awesome job on helping us find our perfect new home! You certainly catered to all of our needs and I still can't believe we found the perfect house after looking at only 3 of them! You answered all of our questions & diligently looked in all of the areas we requested! Thanks for being there throughout the entire process & also for having fun with us! I am highly recommending you to anyone I know who needs a house! Thanks again!<p>Sincerely,<p>Lauri L. Starnes & Roger Sharp";

var text = null, heading = null;
function setContent(id)
{
	show("billboardMessage1");
	show("billboardMessage2");
	switch(id.slice(0,8))
	{
		case "navItem1":	text = "<big><big>C</big></big>ommunication is a key ingredient in any relationship. You may have heard stories of realtors showing clients home after home that did not meet their needs or desires. As our client, we promise to listen to you and respect your time by showing you only the homes that meet your criteria.<p>You can also take advantage of our 10% rebate program. Purchase your next home through Schauer Realty and we will give you a 10% rebate at closing! As an example, an average rebate on a $200k house would be $500!</p><p>Sign up now to receive <span id='PALink' style='text-decoration:underline;cursor:pointer' onmouseover='changePALink()' onmouseout='changePALinkBack()' onmousedown='openAccessForm();clearAllIntervals()' title='Priority Access Form'>priority access</span> to new listings as they come on the market. New listings will be emailed to you <span style='font-size:14px;font-weight:900'>free</span> and <span style='font-size:14px;font-weight:900'>without obligation</span>.</p>";
					heading = "BUYERS";
					break;
		case "navItem2":	text = "<big><big>A</big></big>s an independent real estate office, we are free to customize our brokerage fees without the blessing of a corporate office. Feedback from past clients has led us to the following price structures:<p><li style='list-style-type:square;margin-left:50px;margin-bottom:20px;margin-top:20px;margin-right:50px'>2.5% When Schauer Realty procures the buyer and acts as the dual agent.</li></p><p><li style='list-style-type:square;margin-left:50px;margin-bottom:20px;margin-top:20px;margin-right:50px'>3.75% When you list your home with Schauer Realty and work with us to purchase your new home.</li></p><p><li style='list-style-type:square;margin-left:50px;margin-bottom:20px;margin-top:20px;margin-right:50px'>4.25% To list your home without working with us to purchase your new home and another agent brings the buyer to the table.</li></p><p>All of these are full service listings meaning we will put your home in the Multiple Listing Service, on websites such as Realtor.com and the Tribune site, handle all communication with potential buyers and realtors to assure buyers are pre-approved, schedule showings, work with appraisers and attorneys and be there for any questions or help you may need.</p><p>In fact, we are so sure that we can help you sell your home, we provide a written <span id='cancelLink' style='text-decoration:underline;cursor:pointer' onmouseover='changeCancelLink()' onmouseout='changeCancelLinkBack()' onmousedown='openCancellationGuarantee();clearAllIntervals()' title='Cancellation Guarantee'>Cancellation Guarantee</span>. If for any reason you feel our high level of service is not meeting your requirements, you are free to withdraw from our agreement. That's the confidence we have in our ability to meet your specific needs and makes listing your home with Schauer Realty <span style='font-size:14px;font-weight:900'>risk free!</span><p> For a <span style='font-size:14px;font-weight:900'>free</span> Internet <span id='MELink' style='text-decoration:underline;cursor:pointer' onmouseover='showMEMenu(); changeMELinkColor()' onmouseout='hideMEMenu(); changeMELinkColorBack()'>market evaluation</span> on your home or to find out what the home down the street sold for, sign up today. It's <span style='font-size:14px;font-weight:900'>free</span> and there is <span style='font-size:14px;font-weight:900'>no obligation.</span>";
					heading = "SELLERS";
					break;
		case "navItem3":	text = "<big><big>W</big></big>e are proud to refer you to the following individuals. We have used their services ourselves and are confident you will be as pleased with their services as we are.<center><div style='text-transform:uppercase;color:#9db8a7'><br />&loz; Mortgages &loz;</div>Yanni Koutropoulos at Landmark Financial<br />Phone: (630)823-4898<br />Email: yannik@lmfinc.com<br /><br /><br />Carol Hebert at ABI Mortgage<br />Phone: (847)585-1054<br />Email: Carol.Hebert@abimortgage.com<br /><div style='color:#9db8a7;text-transform:uppercase'><br />&loz; Home Inspection &loz;</div>Rick Carlberg/House Doctor<br />Phone: (847)309-3000<br/><div style='color:#9db8a7;text-transform:uppercase'><br />&loz; Attorneys &loz;</div>Earl Roloff and Steve Nicholas<br />Phone: (630)830-5400<br /><br /><span style='color:#9db8a7;text-transform:uppercase'><br />&loz; Taxes</span><span style='color:#9db8a7'> and </span><span style='color:#9db8a7;text-transform:uppercase'>Financial Planning &loz;</span><br />Winston Soo<br />Phone: (847)781-1040<br /><div style='color:#9db8a7;text-transform:uppercase'><br /> &loz; Software &loz; </div>Success Programmer Software<br />&quot;The easiest way to automatically program yourself for success.&quot;<br /><span id ='softwareReferral' style='cursor:pointer; text-decoration=underline' onmouseover='changeColor(this.id, &quot;#999999&quot;)' onmouseout='changeColor(this.id, &quot;#ffffff&quot;)' onmousedown='successSoftwareLink()'>www.SuccessProgrammer.com</span></center>";            
					heading = "AFFILIATES";
					break;
		case "navItem4":	text = "<p style='color:#999999; font-size:15px'>Investors, keep more of your money!</p><p><big><big>B</big></big>uy your next investment property from Schauer Realty and we will rebate 20% of our commission to you at closing!</p><p>List your investment property with us for as little as 2.5% when we bring the buyer or 4% if another agent produces the buyer. That is a full service listing for as low as 2.5%!</p><p>To receive <span id='investorsLink' style='text-decoration:underline;cursor:pointer' onmouseover='changeInvestorsLink()' onmouseout='changeInvestorsLinkBack()' onmousedown='openInvestorsForm();clearAllIntervals()' title='Priority Email Form -- Rental Properties'>priority email notification</span> when rental properties go on the market, sign up today! You will receive NO SPAM, only listings as they come on the market.";    
					heading = "INVESTORS";          
					break;
		case "navItem5":	text = "<big><big>T</big></big>he following link provides the most detailed information on public schools and school districts in Illinois. Once on the site click the report card button to search.<p><span id='schoolLink' onmousedown='isbeLink()' onmouseover='changeColor(this.id, &quot;#999999&quot;)' onmouseout='changeColor(this.id, &quot;#ffffff&quot;)' style='font-size:15px;text-decoration:underline;font-color:#ffffff;cursor:pointer' title='Illinois State Board of Education'><center>www.isbe.state.il.us</center></span></p>";
					heading = "SCHOOLS";
					break;
		case "navItem6":	text = testimonialText[0];
					heading = "TESTIMONIALS";
					if(navigator.appName == "Microsoft Internet Explorer")
						arrowTimeout = setTimeout("show('testimonialArrow')", 5000);
					if(navigator.appName == "Netscape")
						show('testimonialArrow');
					document.getElementById('testimonialCount').innerHTML = 1 + '&nbsp; of&nbsp; 3';
					show('testimonialCount'); 
					break;
	}
	showContent();
	return;
}
//define whitespace characters
var whitespace = " \t\n\r";
function isEmpty(s)
{
	var i;
	if((s==null) || (s.length == 0))
		return true;
 	// Search string looking for characters that aren't whitespace
	for(i=0; i < s.length; i++)
	{
		var c = s.charAt(i);
		if(whitespace.indexOf(c) == -1)
			return false;
	}
	// All characters are whitespace.
	return true;
}
function validateContactForm(form) 
{
	if (isEmpty(form.messageField.value))
	{
		alert("Please type your message.");
		form.messageField.focus();
		return false;
	}
	else 
		return true;
}
function checkPAEmail(form)
{
	if (isEmpty(form.emailField.value))
	{ 
		alert("Please enter your email address.");
		form.emailField.focus();
		return false;
	}
	var s = form.emailField.value;
	var position = form.emailField.value.indexOf('@',1);
	if((position == -1) || (position == (s.length-1)))
	{
		alert("The email address is not in a valid format.");
		form.emailField.focus();
		return false;
	}
	return true;
}

function validatePAForm(form)
{
	if(!checkPAEmail(form))
		return false;
	else 
		return true;
}
function rollover(e)	
{
	var whoCalled = null, whichEvent = null, navItem = null;
	if(navigator.appName == "Netscape") 
	{
		whoCalled = e.currentTarget.id;
		whichEvent = e.type;
	}
	if(navigator.appName == "Microsoft Internet Explorer") 
	{
		whoCalled = event.srcElement.id;					
		whichEvent = event.type;
	}
	whoCalled =	whoCalled.slice(0,8);
	switch(whichEvent)
	{
		case 'mouseover':	changeColor(whoCalled, '#999999'); 
					changeBackgroundColor(whoCalled, '#ffffff');
					break;
		case 'mouseout': changeColor(whoCalled, '#ffffff');
				     changeBackgroundColor(whoCalled, '#999999');
				     break;
	}
	return;
}
function addRolloverEvent(id)
{
	if(navigator.appName == "Netscape")
	{
		document.getElementById(id).addEventListener('mouseover', rollover, true);
		document.getElementById(id).addEventListener('mouseout', rollover, true);
	}
	if(navigator.appName == "Microsoft Internet Explorer")
	{
		document.getElementById(id).attachEvent('onmouseover', rollover);
		document.getElementById(id).attachEvent('onmouseout', rollover);
	}	
	return;
}
function removeRolloverEvent(id)
{
	if(navigator.appName == "Netscape")
	{
		document.getElementById(id).removeEventListener('mouseover', rollover, true);
		document.getElementById(id).removeEventListener('mouseout', rollover, true);
	}
	if(navigator.appName == "Microsoft Internet Explorer")
	{
		document.getElementById(id).detachEvent('onmouseover', rollover);
		document.getElementById(id).detachEvent('onmouseout', rollover);
	}
	//document.getElementById(id).style.fontWeight = document.getElementById('tabs').style.fontWeight;
	return;
}
var navIdTracker = null;
var navIconIdTracker = null;
function freeze(id)
{
 	if(id == navIdTracker || id == navIconIdTracker)// same id clicked after clicking email so the events 
	{										// for the object have already been removed
		changeColor(navIdTracker, '#999999');			// just force the rollover colors and leave  
		changeBackgroundColor(navIdTracker, '#ffffff');		// navIdTracker doesn't need resetting.
		return;
	}  

	if(navIdTracker == null)	// first call only 
	{					// find the complimentary object by identifying the object that called
		if(id.length == 12)		// if true, object that called was navItem1Icon...navItem8Icon
		{
			removeRolloverEvent(id.slice(0,8));	//stop the complimentary object's event handler
			navIdTracker = id.slice(0,8);	
			navIconIdTracker = id;	
		}
		if(id.length == 8)	// else, object that called was navItem1...navItem8
		{
			removeRolloverEvent(id + 'Icon');	//stop the complimentary object's event handler
			navIdTracker = id;
			navIconIdTracker = id + 'Icon';
		}
		removeRolloverEvent(id);			// and stop the event handler of the object that called
		return;
	}
	// else handle subsequent calls after the first
	if(id.length == 12)					// calling object was navItem1Icon...navItem8Icon
	{
		addRolloverEvent(navIdTracker);
		addRolloverEvent(navIconIdTracker);
		removeRolloverEvent(id.slice(0,8));		// cancel the complimentary object, navItem1...navItem8
		removeRolloverEvent(id);			//cancel the calling object's event handler
		changeColor(navIdTracker, '#ffffff');	// force the colors to change back immediately
		changeBackgroundColor(navIdTracker, '#999999'); // instead of waiting for the rollover event
		navIdTracker = id.slice(0,8);			// set for the next call to identify which object's event is added back
		navIconIdTracker = id;
		return;
	}
	if(id.length == 8)					// calling object was navItem1...navItem8
	{
		addRolloverEvent(navIdTracker);
		addRolloverEvent(navIconIdTracker);
		removeRolloverEvent(id);				//cancel the calling object's event handler
		removeRolloverEvent(id + 'Icon');		// cancel the complimentary object, navItem1Icon...navItem8Icon
		changeColor(navIdTracker, '#ffffff');	// force the colors to change back immediately
		changeBackgroundColor(navIdTracker, '#999999'); // instead of waiting for the rollover event
		navIdTracker = id;				// set for the next call to identify which object's event is added back
		navIconIdTracker = id + 'Icon';
		return;
	}
}	
function resetNavs()	// trigger: email address within contact info is clicked
{
	if(navIdTracker != null)
	{
		addRolloverEvent(navIdTracker);
		addRolloverEvent(navIconIdTracker);
		changeColor(navIdTracker, '#ffffff');		// force the colors to change back immediately
		changeBackgroundColor(navIdTracker, '#999999'); // instead of waiting for the rollover event
		navIdTracker = null;
		navIconIdTracker = null;
	}	
	return;
}
var headingInterval = null, shrinkSize = 33;
function shortenHeading()
{
	document.getElementById('contentHeading').style.letterSpacing = shrinkSize + 'px';
	shrinkSize--;
	if(shrinkSize == 13)
	{
		clearInterval(headingInterval);
		shrinkSize = 33;
		headingInterval = null;
	}
	return;	
}
function moveHeading()
{
	document.getElementById('contentHeading').style.letterSpacing = shrinkSize + 'px';
	if(navigator.appName == "Netscape")
		headingInterval = setInterval('shortenHeading()', 30);
	if(navigator.appName == "Microsoft Internet Explorer")
		headingInterval = setInterval('shortenHeading()', 1);
	return;
}
function masterBathState()
{
	if(document.marketEvaluationForm.masterRoomME.checked)
	{
		show('masterBathTextMEForm');
		show('masterBathYesText'); 
	}
	else
	{
		if(document.marketEvaluationForm.masterBathMEForm.checked)
			document.marketEvaluationForm.masterBathMEForm.click();
		hide('masterBathTextMEForm');
		hide('masterBathYesText'); 
	}
	return;
}
var focusOtherRoomsMEFormTimeout = null;
function otherRoomsState()
{
	if(document.marketEvaluationForm.otherRoomsME.checked)
	{
		show('otherRoomsTextME');
		show('otherRoomsFieldME'); 
		focusOtherRoomsMEFormTimeout = setTimeout('marketEvaluationForm.otherRoomsFieldME.focus()', 300);
	}
	else
	{
		hide('otherRoomsTextME');
		hide('otherRoomsFieldME');
		document.marketEvaluationForm.otherRoomsMEField.value = "";
	}
	return; 
}
var focusGarageMEFormTimeout = null;
function garageState()
{
	if(document.marketEvaluationForm.garageME.checked)
	{
		show('garageSizeTextMEForm');
		show('garageSizeFieldMEForm'); 
		focusGarageMEFormTimeout = setTimeout('marketEvaluationForm.garageSizeFieldMEForm.focus()', 300);
	}
	else
	{
		hide('garageSizeTextMEForm');
		hide('garageSizeFieldMEForm');
	}
	return;
}
var focusFireplaceMeFormTimeout = null;
function fireplaceState()
{
	if(document.marketEvaluationForm.fireplacesME.checked)
	{
		show('fireplacesTextME');
		show('fireplacesMEFormField'); 
		setTimeout('marketEvaluationForm.fireplacesMEFormField.focus()', 300); 
	}
	else
	{
		document.marketEvaluationForm.fireplacesMEFormField.value = "";
		hide('fireplacesTextME');
		hide('fireplacesMEFormField'); 
	}
	return;
}
function setFooterNavigator()
{
	document.getElementById('hr1').style.top = 1598 + 'px';
	document.getElementById('hr2').style.top = 1610 + 'px';
	document.getElementById('hr3').style.top = 1618 + 'px';
	document.getElementById('hr4').style.top = 1631 + 'px';
	document.getElementById('hr5').style.top = 1640 + 'px';

	document.getElementById('hr4').style.width = 22 + 'px';

	document.getElementById('hr1').style.left =  435 + 'px';
	document.getElementById('hr2').style.left =  415 + 'px';
	document.getElementById('hr3').style.left =  415 + 'px';
	document.getElementById('hr4').style.left =  415 + 'px';
	document.getElementById('hr5').style.left =  435 + 'px';

	return;
}
function flipGridOut()
{
	if(navigator.appName == "Microsoft Internet Explorer")
	{
		document.getElementById('hr2').style.left = 450 + 'px';
		document.getElementById('hr3').style.left = 470 + 'px';
		document.getElementById('hr4').style.left = 450 + 'px';
	}
	if(navigator.appName == "Netscape")
	{
		document.getElementById('hr2').style.left = 436 + 'px';
		document.getElementById('hr3').style.left = 456 + 'px';
		document.getElementById('hr4').style.left = 436 + 'px';
	}
	return;
}
function flipGridIn()
{
	if(navigator.appName == "Microsoft Internet Explorer")
	{
		document.getElementById('hr2').style.left = 430 + 'px';
		document.getElementById('hr3').style.left = 430 + 'px';
		document.getElementById('hr4').style.left = 430 + 'px';
	}
	if(navigator.appName == "Netscape")
	{
		document.getElementById('hr2').style.left = 415 + 'px';
		document.getElementById('hr3').style.left = 415 + 'px';
		document.getElementById('hr4').style.left = 415 + 'px';
	}
	return;
}
var opacityInc2Interval = null;
var opacityInc2Iterator = 0;
var arrowTimeout = null;
function increaseIEOpacity2()
{
	contentBox.filters.item("DXImageTransform.Microsoft.alpha").opacity = opacityInc2Iterator;
	document.getElementById('contentBox').innerHTML = testimonialText[textTracker];
	show("contentBox");
	document.getElementById('testimonialCount').innerHTML = (textTracker + 1) + '&nbsp; of&nbsp; 3';
	if(opacityInc2Iterator == 100)
	{
		clearInterval(opacityInc2Interval);
		opacityInc2Interval = null;
		opacityInc2Iterator = 0;
	}
	else 
	{
		opacityInc2Iterator++;
	}
	return;
}

var opacityDecInterval = null;
var opacityDecIterator = 100;
var textTracker = 0;
function decreaseIEOpacity()
{
	contentBox.filters.item("DXImageTransform.Microsoft.alpha").opacity = opacityDecIterator;
	if(opacityDecIterator == 0)
	{
		clearInterval(opacityDecInterval);
		opacityDecInterval = null;
		opacityDecIterator = 100;
		hide('contentBox');
		opacityInc2Interval = setInterval("increaseIEOpacity2()", 10);
	}
	else
		opacityDecIterator--;
	return;
}
function transitionTestimonial()
{
	if(textTracker < testimonialText.length)	
		textTracker++;
	if(textTracker == testimonialText.length)
		textTracker = 0;
	if(navigator.appName == "Microsoft Internet Explorer")
	{
		hide('testimonialArrow');
		arrowTimeout = setTimeout("show('testimonialArrow')", 10000);
		opacityDecInterval = setInterval("decreaseIEOpacity()", 10);
	}
	if(navigator.appName == "Netscape")
	{
		document.getElementById('contentBox').innerHTML = testimonialText[textTracker];
		document.getElementById('testimonialCount').innerHTML = (textTracker + 1) + '&nbsp; of&nbsp; 3';
	}	
	return;
}
function setCompanyInfoNavigator()
{
	document.getElementById('contactStuff').className = "contactInfoNavigator";
	return;
}









