/************************************************************
 * fn: footer.js
 * dt: 29AUG06@1805,22AUG06@1637h
 * by: dan concepcion
 * --------------------------------------------------------
 * This file holds the code for the header of the page.
 ************************************************************/
 
function getFooter(){
	getFooter2("images/", 3);
}

function getFooter2(path_mod, choice){
	var fix = '';
	if(choice == 3) fix = 'html/';
	
	var tmpStr = '<table width="100%" border="0" cellspacing="0" cellpadding="0" class="footer-tbl">\n<tr>';
	tmpStr += '\n\t<td width="49%"><div class="footer">&copy; 2007-2008 mSmartcorp. All Rights Reserved.&nbsp;';
	if(choice == 1){
		tmpStr += '&nbsp;<span style="color:#999999;">Code of Conduct</span>&nbsp;';
	} else {
		tmpStr += '&nbsp;<a href="' + fix + 'conduct.htm">Code of Conduct</a>&nbsp;';
	}
	
	if(choice == 2){
		tmpStr += '&nbsp;<span style="color:#999999;">Contact Us</span>&nbsp;';
	} else {	
		tmpStr += '&nbsp;<a href="' + fix + 'contact.htm">Contact Us</a>&nbsp;';
	}
		
	//tmpStr += '</div></td>\n\t<td width="51%"><div class="footer2">';
	//tmpStr += '<a href="http://www.mmaglobal.com" target="_blank"><img src="' + path_mod + 'mma.jpg" alt="" ';
	//tmpStr += 'width="136" height="42" hspace="0" vspace="0" border="0" /></a></div></td>\n</tr>\n</table>';
	
	tmpStr += '</div></td>\n\t<td width="51%"><div class="footer2"></div></td>\n</tr>\n</table>';

	document.write(tmpStr);
}


//  page 
