function OffWindowH() {
	var OffWindowH=0;
	window.scrollTo(0,10000000);

	if(typeof self.pageYOffset!='undefined')
		OffWindowH=self.pageYOffset;
	 else if(document.compatMode && document.compatMode != 'BackCompat')
		OffWindowH=document.documentElement.scrollTop;
	 else if(document.body && typeof(document.body.scrollTop)!='undefined')
		OffWindowH=document.body.scrollTop;
	
	window.scrollTo(0,0);

return OffWindowH;

}

function WindowHeight() {
	var WindowHeight = 0;
	
	if( typeof( window.innerWidth ) == 'number' )
		WindowHeight = window.innerHeight;
	else if (document.documentElement &&  document.documentElement.clientHeight)
		WindowHeight = document.documentElement.clientHeight;
	else if(document.body && document.body.clientHeight)
		WindowHeight = document.body.clientHeight;

  return WindowHeight;
}

function pHeight() {
	var pHeight = OffWindowH() + WindowHeight();
	return pHeight;
}

function favBg() {
	var favBg = document.getElementById('favBg');
	favBg.style.height = pHeight() + 'px';
}

var cdiv = "blank";

function favArea() {
	if (cdiv == "blank") { cdiv = window.setInterval("favArea()", 50); }
		var Element = document.getElementById("favArea");
		objh = parseFloat(Element.style.height)/2;
		objw = parseFloat(Element.style.width)/2;
		Element.style.top = Math.floor(Math.round((document.documentElement.offsetHeight/2)+document.documentElement.scrollTop)-objh)+'px';

		Element.style.left = Math.floor(Math.round((document.documentElement.offsetWidth/2)+document.documentElement.scrollLeft)-objw)+'px';

}

function showHideItems(Item1,Item2,txt){
	if (txt == "test1") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','test1')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/coke_big.gif') no-repeat center top\">\"I would like to extend our appreciation for the work you have accomplished. What started as a 'chance' meeting has developed rapidly and positively. You emphasized your point of differentiation as having senior skilled employees with a dedication to process and procedures. We have seen substantial value in this engagement - your thoroughness in analysis and communication, willingness to 'roll up your sleeves,' sense of urgency and collaboration have all been evident. It's a good day when companies can work together and add value.\"<blockquote><b>Jamie Belongea</b><br><i>Director, Applications Development</i><br>Coca-Cola Bottling Co. Consolidated</blockquote></div>";
	}
	if (txt == "test2") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','test2')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/muzak_big.gif') no-repeat center top\">\"It has been a pleasure to work with Logical Advantage on this project. My trust in LA's capability to deliver is paying off. You have done a fantastic job of business requirements gathering by staying prepared, asking the right questions, leading the business user group and staying on top of the task at hand. Your team has provided excellent technology leadership and is helping my internal development team to get up to speed with technology. Your grasp of our business processes in such a short time speaks volumes about your capabilities. All I can say, with your team here, I am extremely optimistic of a desired and managed outcome.\"<blockquote><b>Shailendra Prasad</b><br><i>Director, IT Application Systems</i><br>muzak</blockquote></div>";
	}
	if (txt == "test3") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','test3')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/fluor_big.gif') no-repeat center top\">\"Fluor Corporation selected Logical Advantage to develop and maintain several mission-critical, high-visibility applications. Logical Advantage has repeatedly demonstrated the ability to deliver quality products on time and on budget while demonstrating a 'whatever it takes, can do' attitude.\"<blockquote><b>Trey Wills</b><br><i>Executive Director, Operations</i><br>Fluor Corporation</blockquote></div>";
	}
	if (txt == "test4") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','test4')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/rpl_big.gif') no-repeat center top\">\"I contracted with Logical Advantage back in 2003 to develop an Internet-based Logistics System. I am working with them again for a different company. In my opinion they have an experienced and professional staff. Their managing partners are directly involved in the projects so you can get decisions quickly on any outstanding issues. So to answer your question of would I rehire Logical Advantage? I have, and would do it again.\"<blockquote><b>Rob Martin</b><br><i>IT Director</i><br>Rehrig Penn Logistics</blockquote></div>";
	}
	if (txt == "test5") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','test5')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/sthread_big.gif') no-repeat center top\">\"Effective and efficient information technology management is a vital part of Service Thread's long-term strategy. Logical Advantage understands our goal of leveraging current system technologies to provide us with the tools needed to enhance and expand our customer's experience.\"<blockquote><b>Jay Todd</b><br><i>Chief Financial Officer</i><br>Service Thread Mfg. Co.</blockquote></div>";
	}
	if (txt == "test6") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','test6')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/sthread_big.gif') no-repeat center top\">\"The Microsoft infrastructure and the development enhancements provided by Logical Advantage give our company the ability to communicate and conduct business just like companies with high-dollar systems, at a fraction of the cost.\"<blockquote><b>Sam M. (Chip) Butler III</b><br><i>President</i><br>Service Thread Mfg. Co.</blockquote></div>";
	}
	if (txt == "test7") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','test71')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/fall_big.gif') no-repeat center top\">\"We were Logical Advantage's first client. In 2003, we hired them to build our web portal. Their level of professionalism and detailed processes contributed greatly to the success of the project, giving us substantial return on investment. To this day, they are a true partner in technology.\"<blockquote><b>Glenn Merritt</b><br><i>President</i><br>First Alliance Logistics Management</blockquote></div>";
	}
	if (txt == "test8") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','test8')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/kings_big.gif') no-repeat center top\">\"Kings Electronics Co., Inc. would like to thank the Logical Advantage team for the excellent job you did on the Kings Website Redesign Project. When Kings Electronics decided to redesign our company website, we set out to find an IT consulting firm that would meet our needs by combining technical expertise and project management skills with innovation and forward thinking. From our initial conversations to the launch of the new website, Logical Advantage impressed all members of the Kings Redesign Team with their attention to detail, thorough planning, and creative solutions.\"<blockquote><b>Robert Dock</b><br><i>President</i><br>Kings Electronics Co., Inc.</blockquote></div>";
	}
	if (txt == "test9") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','test9')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/eqmen_large.gif') no-repeat center top\">\"We literally built our business on the Web 2.0 technology that Logical Advantage implemented for us.  As such, they are most intimate with our environment.  Logical Advantage has been a consummate business partner providing EQmentor with a highly collaborative approach to resolving real world issues. Our trust in LA to serve our needs has only grown and evolved from a customer/vendor relationship to a true business partnership relationship.\"<blockquote><b>Dr. Izzy Justice</b><br><i>Founder/CEO</i><br>EQmentor</blockquote></div>";
	}
	if (txt == "ittest1") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','ittest1')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/pam_big.gif') no-repeat center top\">\"I wanted to start this week off by congratulating all of you for your part in getting the VES application off the ground and into the first production release. Thanks again to everyone for putting in such a great effort to get this deployed on such a tight schedule. Your staff at Logical Advantage helped us get off the ground and on the right track. Your experience and guidance were invaluable to get this project rolling.\"<blockquote><b>Chris Gilligan</b><br><i>NASCAR Program Director</i><br>Pratt & Miller Engineering</blockquote></div>";
	}
	if (txt == "ittest2") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','ittest2')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/colonial_big.gif') no-repeat center top\">\"Logical Advantage was the proverbial lighthouse.  Built on a rock-solid foundation lighting the way, guiding us every step of the way as they charted our application development efforts out of the rough water to smoother sailing and into full production.  Having worked with others firms in the past, I can truly say Logical Advantage is the real deal.\"<blockquote><b>Mike Wekall</b><br><i>President & CEO</i><br>Colonial Title Insurance</blockquote></div>";
	}
	if (txt == "ittest3") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','ittest3')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/vector_big.gif') no-repeat center top\">\"What makes Logical Advantage so unique is that they are a software development shop much like VectorVest and understand how to screen and identify technical resources. The fact that they have a large resource pool of senior .NET developers and architects on their staff afforded us the additional capability not only to build my team but to augment it as well.\"<blockquote><b>Don Payton</b><br><i>President</i><br>VectorVest</blockquote></div>";
	}
	if (txt == "ittest4") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','ittest4')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/goodwill_big.gif') no-repeat center top\">\"Over time, as the age of the applications began to show, we found ourselves at the mercy of our development resource.  Having a single point of failure was no longer an option.  That is when we elected to outsource these support functions to Logical Advantage, who can scale and provide the redundancy and peace of mind we need, allowing us to focus on the business.\"<blockquote><b>Billy Schiffiano</b><br><i>Vice President of Sales and Marketing</i><br>Good Will Publishers Inc.</blockquote></div>";
	}
	if (txt == "ittest5") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','ittest5')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/netbank_big.gif') no-repeat center top\">\"Logical Advantage provides NetBank with industry-leading project consulting resources, allowing us the opportunity to take full advantage of innovative technologies that provide operational efficiencies.<br><br>Recently, Logical Advantage managed the project consulting for our Meritage Mortgage image installation. Meritage can now capture paper and electronic mortgage documents in real time, including automatic indexing, providing lift to all areas of Operations and Loan Closing.\"<blockquote><b>David Page III</b><br><i>Director of Operations Control</i><br>NetBank Inc. </blockquote></div>";
	}
	if (txt == "sttest1") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','sttest1')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/meineke_big.gif') no-repeat center top\">\"Thank you again for providing us a good resource for such a short period of time. I foresee future projects that may be similar in scope, so knowing that Logical is available to work with us under these time conditions is a great advantage!\"<blockquote><b>Lisa Olin</b><br><i>Director of IT</i><br>Meineke Car Care Centers</blockquote></div>";
	}
	if (txt == "sttest2") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','sttest2')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;background:url('images/logos/vector_big.gif') no-repeat center top\">\"What makes Logical Advantage so unique is that they are a software development shop much like VectorVest and understand how to screen and identify technical resources. The fact that they have a large resource pool of senior .NET developers and architects on their staff afforded us the additional capability not only to build my team but to augment it as well.\"<blockquote><b>Don Payton</b><br><i>President</i><br>VectorVest</blockquote></div>";
	}
	if (txt == "form1") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','sttest2')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;\">\<center><b>Please alert me when the<br>Rehrig Penn Logistic Case Study becomes available.</b><br><br><form name=\"eform\" method=\"post\" action=\"popup_proc.php\"><table><tr><td>Name</td><td><input type=\"text\" name=\"Name\" size=\"25\" class=\"formbox\"></td></tr><tr><td>Company</td><td><input type=\"text\" name=\"Company\" size=\"25\" class=\"formbox\"></td></tr><tr><td>Email</td><td><input type=\"hidden\" name=\"Item\" value=\"Rehrig Penn Logistic Case Study\"><input type=\"text\" name=\"Email\" size=\"25\" class=\"formbox\"></td></tr><tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" name=\"submit1\" value=\"Submit\" id=\"btn\"><br></td></tr></table></form><br></center></div>";
	}
	if (txt == "form2") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','sttest2')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;\">\<center><b>Please alert me when the<br>Pratt and Miller Data Sheet becomes available.</b><br><br><form name=\"eform\" method=\"post\" action=\"popup_proc.php\"><table><tr><td>Name</td><td><input type=\"text\" name=\"Name\" size=\"25\" class=\"formbox\"></td></tr><tr><td>Company</td><td><input type=\"text\" name=\"Company\" size=\"25\" class=\"formbox\"></td></tr><tr><td>Email</td><td><input type=\"hidden\" name=\"Item\" value=\"Pratt and Miller Case Study\"><input type=\"text\" name=\"Email\" size=\"25\" class=\"formbox\"></td></tr><tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" name=\"submit1\" value=\"Submit\" id=\"btn\"><br></td></tr></table></form><br></center></div>";
	}
	if (txt == "form3") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','sttest2')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;\">\<center><b>Please alert me when the<br>Buy vs. Build White Paper becomes available.</b><br><br><form name=\"eform\" method=\"post\" action=\"popup_proc.php\"><table><tr><td>Name</td><td><input type=\"text\" name=\"Name\" size=\"25\" class=\"formbox\"></td><tr><td>Company</td><td><input type=\"text\" name=\"Company\" size=\"25\" class=\"formbox\"></td></tr></tr><tr><td>Email</td><td><input type=\"hidden\" name=\"Item\" value=\"Buy vs. Build White Paper\"><input type=\"text\" name=\"Email\" size=\"25\" class=\"formbox\"></td></tr><tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" name=\"submit1\" value=\"Submit\" id=\"btn\"><br></td></tr></table></form><br></center></div>";
	}
	if (txt == "form4") {
		document.getElementById('bdtxt').innerHTML = "<div style=\"width:381px;text-align:right\"><a href=\"javascript:showHideItems('favArea','favBg','sttest2')\"><img src=\"images/x.gif\" border=\"0\" width=\"26\" height=\"26\"></a></div><br><div style=\"padding:0 25px 0 25px; line-height:20px;\">\<center><b>Please alert me when the<br>EQmentor Case Study becomes available.</b><br><br><form name=\"eform\" method=\"post\" action=\"popup_proc.php\"><table><tr><td>Name</td><td><input type=\"text\" name=\"Name\" size=\"25\" class=\"formbox\"></td><tr><td>Company</td><td><input type=\"text\" name=\"Company\" size=\"25\" class=\"formbox\"></td></tr></tr><tr><td>Email</td><td><input type=\"hidden\" name=\"Item\" value=\"EQmentor Case Study\"><input type=\"text\" name=\"Email\" size=\"25\" class=\"formbox\"></td></tr><tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" name=\"submit1\" value=\"Submit\" id=\"btn\"><br></td></tr></table></form><br></center></div>";
	}
	myItem1 = document.getElementById(Item1);
    if (myItem1.style.visibility != "hidden") {
        myItem1.style.visibility = "hidden";
    } else {
 		myItem1.style.visibility = "visible";
	}
	myItem2 = document.getElementById(Item2);
    if (myItem2.style.visibility != "hidden") {
        myItem2.style.visibility = "hidden";
    } else {
 		myItem2.style.visibility = "visible";
	}
}

