// footer.js


//************************
function myIPIFooter()
{
	document.write('<div class="footer-box">');
	document.write('<img src="http://www.ipinfusion.com/images/ipi-footerbar.gif" class="footer-bar" />');
	document.write('<table style="padding:4px; width:824px;">');
    document.write('   <tr>');
	document.write('      <td class="credit" style="padding:2px;">');
		
	var objDate = new Date();
	var strCurrentYear = objDate.getFullYear();
	document.write('Copyright &copy;' + strCurrentYear + ' IP Infusion Inc. All rights reserved.');
				
    document.write('<img src="http://www.ipinfusion.com/images/spacer.gif" width="0" height="4" style="display:block; border:0px;">');
    
	document.write('ACCESS Websites: ');
	document.write('<a href="http://www.access-company.com" target="_self" class="home">ACCESS</a> | ');
    document.write('<a href="http://alp.access-company.com" target="_self"class="home">ACCESS Linux Platform</a> | ');
    document.write('<a href="http://www.accessdevnet.com" target="_self" class="home">ACCESS Developer Network</a>');
    document.write('      </td>');

    document.write('      <td align="right" style="padding:2px;" valign="top">');
	document.write('        <a href="/news/ipinfusion_news_rss.xml" target="_blank"><img src="/images/rss_12by12.gif" border="0"></a> | ');
    document.write('        <a href="/about/sitemap.html" class="home">Site Map</a> | ');
    document.write('        <a href="http://www.access-company.com/about/jobs/careers.html" class="home">Careers </a> | ');
	

                var strUserAgent = navigator.userAgent;			
				var iIndexIE = strUserAgent.indexOf('MSIE');				
				var iNoMatch = -1;				
			    var strIELinkCode =  'href="http://www.ipinfusion.com/about/legal_popup.html" target="_blank"';
				
				switch(iIndexIE)
				{
					case iNoMatch:
						strIELinkCode = '';
						break;
					
					default:
						break;
				}//end switch
			
	document.write('        <a class="home"' + strIELinkCode + ' onClick="window.open(\'http://www.ipinfusion.com/about/legal_popup.html\', \'IP Infusion: Legal\', \'width=600,height=400,toolbar=no, location=no\');" style="cursor:pointer;">Legal</a> | ');
    document.write('        <a href="/about/contact/contact_home.html" class="home">Contact IP Infusion</a>');
    document.write('      </td>');
    
	document.write('   </tr>');
    document.write('</table>');
    document.write('</div>');
}//end function

//**********************

function ipiFooter()
{
	document.write('<div id="ipiFooter-box" border="1px solid #ff0000;">');
	document.write('<span id="ipiFooter-credit">');
	
	var objDate = new Date();
	var strCurrentYear = objDate.getFullYear();
	document.write("Copyright &copy;" + strCurrentYear + " IP Infusion Inc. All rights reserved.<br>");
	
	document.write('ACCESS Websites: ');
	document.write('<a href="http://www.access-company.com" target="_self" class="home">ACCESS</a> | ');
	document.write('<a href="http://alp.access-company.com" target="_self"class="home">ACCESS Linux Platform</a> | ');
	document.write('<a href="http://www.accessdevnet.com" target="_self" class="home">ACCESS Developer Network</a>');
	document.write('</span>');
	
	document.write('<span id="ipiFooter-links">');
	
	document.write('<a href="/news/ipinfusion_news_rss.xml" target="_blank"><img src="/images/rss_12by12.gif" border="0"></a> | ');
	document.write('<a href="http://www.ipinfusion.com/about/sitemap.html" class="home">Site Map</a> | ');
	
	document.write('<a href="http://www.access-company.com/about/jobs/careers.html" class="home">Careers</a> | ');
	
	var strUserAgent = navigator.userAgent;
	var iIndexIE = strUserAgent.indexOf('MSIE');
	var iNoMatch = -1;
	var strIELinkCode =  'href="http://www.ipinfusion.com/about/legal_popup.html" target="_blank"';
	
	switch(iIndexIE)
	{
		case iNoMatch:
			strIELinkCode = '';
			break;
	
		default:
			break;
	}//end switch
	
	document.write('<a class="home"' + strIELinkCode + ' onClick="window.open(\'http://www.ipinfusion.com/about/legal_popup.html\', \'IP Infusion: Legal\', \'width=600,height=400,toolbar=no, location=no\');" style="cursor:pointer;">Legal</a> | ');
	
	document.write('<a href="http://www.ipinfusion.com/about/contact/contact_home.html" class="home">Contact IP Infusion</a>');
	document.write('</span>');
	
	document.write('</div>');
}//end function

//**************************