function StringBuffer()
{  
	this.buffer = [];
}  
  
StringBuffer.prototype.appened = function(string)
{
	this.buffer.push(string); 
	return this;  
}  
  
StringBuffer.prototype.toString = function()
{
	return this.buffer.join(""); 
}  

var strBuffer = new StringBuffer(); 

strBuffer.appened("<div id='footernav'>");
strBuffer.appened("	<a href='http://www.eink.com/contact_sales.html'>Contact Us</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
strBuffer.appened("</div>");
strBuffer.appened("<p class='copyright'>&copy; 2012 E Ink Corporation a subsidiary of <a href='http://www.einkgroup.com'>E Ink Holdings, Inc</a>   </p>");
strBuffer.appened("<div id='footernav'>");
strBuffer.appened("	<a href='http://www.eink.com/privacypolicy.pdf'>Privacy Policy</a>");
strBuffer.appened("</div>");
strBuffer.appened("<p class='copyright'>E Ink and the E Ink logo are registered trademarks of E Ink Corporation.");
var c = document.getElementById("footer");
c.innerHTML = strBuffer.toString(); 			
