

var textNodeName = "overflowText";  // Change this name to be the id of the node you want to swap text 
var textNode;

var overviewText = "<font color=\"#333333\">A good communication strategy requires a combination of tactics to point the right customers your way.<br /><br />For instance, if your potential customers don&rsquo;t know about your website, no matter how sophisticated or search engine optimized it is, it&rsquo;s not going to do what you ultimately want it to do, which is to increase traffic and business.<br /><br />Whether it&rsquo;s a direct mail campaign that causes customers to seek out your website, or directional signs that show them the way to your sales office, we work with you to develop a combination of design and marketing strategies to drive customers to you.";

var printText = "<font color=\"#333333\"></font>As part of an integrated marketing campaign, paper and ink continues to capture and hold people&rsquo;s attention. Whether it&rsquo;s thrown into a backpack, read on the train, or taken to bed, you are allowed into the daily lives of your customers. They experience your brochure or direct mail while in their most comfortable and intimate setting.<br /><br />Stringbean is passionate about print. By keeping up with the latest technologies and products &ndash; tactile papers, creative printing techniques, innovative binding, environmental initiatives and cost saving strategies &ndash; we make your message heard above the crowd. We work closely with printers to deliver quality results that meet your budget and our own high standards.";

var identityText = "<font color=\"#333333\"></font>What you say is as important as how you say it. Your logo or corporate identity is the visual expression or voice that says who you are. It is your personality, your values and your vision.<br /><br />These are some of the intangible qualities we consider while conducting research for the development of your identity. We look closely at you, your competition, your customers and the marketplace in order to get the big picture.<br /><br />Your identity will be applied to all of your corporate communications materials, from business cards and letterhead to banners and store&#45;fronts. We provide you with a comprehensive Brand Standards Guide to help you maintain your brand&rsquo;s integrity for years to come.";

var environmentalText = "<font color=\"#333333\"></font>We could just design signs that help new customers find their way to you. However, we like to go one step further by creating a whole system of signs and interior display areas that work together to create a sense of anticipation and welcoming.<br /><br />We will take measurements, photos and sketches to fully understand the potential traffic flow within and around your business and work with your sales team to learn how they prefer customers to navigate the space. These details assist us in creating a detailed flow plan to use as our guide when applying graphics, source out materials and coordinate for output and installation.";

var interactiveText = "<font color=\"#333333\"></font>Your website has the potential to be a powerful messenger, making large amounts of information available to potentially huge audiences. It&rsquo;s also an excellent tool for getting information back.<br /><br />Marketers use web stats to gauge the effectiveness of their marketing. If there&rsquo;s a spike in website visits the day a teaser ad appears in the paper, for instance, then the ad did it&rsquo;s job. If there were no extra visits, then it&rsquo;s time review that ad campaign and move to the next phase of marketing.<br /><br />Stringbean Design works closely with it&rsquo;s programmers to develop functional websites that communicate meaningful brand experiences while providing you with a deeper understanding of your customers habits and preferences.<br />";

function SwapText(menuItem) {
   		if(textNode == null)
			textNode = document.getElementById(textNodeName);
			
				
		if(textNode != null && menuItem != null) {

			if (menuItem == "menuSolutions")
				textNode.innerHTML = overviewText; 		
			else if (menuItem == "menuPrint")
				textNode.innerHTML = printText;
			else if (menuItem == "menuIdentity")
				textNode.innerHTML = identityText; 
			else if (menuItem == "menuEnvironmental")
				textNode.innerHTML = environmentalText; 
			else if (menuItem == "menuInteractive")
				textNode.innerHTML = interactiveText; 
		}
		
	}




function onMenuSelect(menuItem, oldClass, newClass) {
	SwapText(menuItem);
	SwapSelectedMenuItem(menuItem, oldClass, newClass);
}
	
	
var lastActiveLinkID = 'menuSolutions'; // default selectd link when page first loads
function SwapSelectedMenuItem(menuItem, oldClass, newClass) {
	
	// reset old link class
	if (lastActiveLinkID != null) {
		var identity=document.getElementById(lastActiveLinkID);
		identity.className=oldClass;
	}
		
	// set new link class
	identity=document.getElementById(menuItem);
	identity.className=newClass;
		
	// save last link id
	lastActiveLinkID=menuItem;
	
}


