function getTemplateBottom(type) {

if ((type == "ShopCart")||(type == "wdp")){
	if (orgid==70) {
	getJPFooter(type);}
	else {
	getFooter(type);}
	getTracking();
} else if (type == "C"){
	document.write('    </td>');
	document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
	document.write('  </tr>');
	document.write('</table>');
	document.write('    </td>');
	document.write('  </tr>');
	document.write('</table>');
	if (lang=="US"){
	getCertFooter();
	} else {
	if (orgid==70) {
	getJPFooter(type);}
	else {
	getFooter(type);}
	}
	getTracking();	
} else if (type == "T"){
	document.write('    </td>');
	document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
	document.write('  </tr>');
	document.write('</table>');
	document.write('    </td>');
	document.write('  </tr>');
	document.write('</table>');
	getTracking();	
} else {	
	document.write('    </td>');
	document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
	document.write('  </tr>');
	document.write('</table>');
	document.write('    </td>');
	document.write('  </tr>');
	document.write('</table>');
	if (orgid==70) {
	getJPFooter(type);}
	else {
	getFooter(type);}
	getTracking();
	/*document.write('<SCRIPT language=JavaScript> RedrawAllTrees();</SCRIPT>');*/
}	
}

function getFooter(type) {
document.write('<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%" summary="">');
document.write('  <TR> ');
document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
document.write('    <TD COLSPAN="2" BACKGROUND="/education/images/footer2.gif" WIDTH="100%" HEIGHT="6"> ');
document.write('      <IMG SRC="/education/images/footer2.gif" BORDER=0 HEIGHT="6" ALT=""></TD>');
document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
document.write('  </TR>');
document.write('  <TR> ');
document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
document.write('    <TD ALIGN="left"><SPAN CLASS="legalese">'+rd_temp_config.rd_copyright+'</SPAN></TD>');
document.write('    <TD ALIGN="right"> <A href="'+ocom_base+rd_temp_config.rd_aboutoracleurl+'" class="legalese" target="_blank">'+rd_temp_config.rd_aboutoracle+'</A> ');
if (lang=="US") {
document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+dynamic_base+dad_pathname+'/db_pages.getpage?page_id=199" class="legalese" target="_blank">'+rd_temp_config.rd_aboutou+'</A> ');
}
document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+dynamic_base+dad_pathname+'/db_pages.getpage?page_id=121" class="legalese" target="_blank">'+rd_temp_config.rd_helpcontactus+'</A> ');
if (type=="wdp"){
	document.write('   <SPAN CLASS="legalese"> | </SPAN>  <A href="'+rd_misc.ou_wdp_rep_link+'" class="legalese" target="_blank">'+rd_temp_config.rd_footercontact+'</A>');
	}
else {
document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+dynamic_base+rd_temp_config.rd_contactusurl+'" class="legalese" target="_blank">'+rd_temp_config.rd_footercontact+'</A> ');
}
document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+ocom_base+rd_temp_config.rd_legalurl+'" class="legalese" target="_blank">'+rd_temp_config.rd_legal+'</A> ');

   document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+ocom_base+rd_temp_config.rd_privacyurl+'" class="legalese" target="_blank">'+rd_temp_config.rd_privacy+'</A> ');

document.write('    </TD>');
document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
document.write('  </TR>');
document.write('</TABLE>');
}


function getJPFooter(type) {
document.write('<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%" summary="">');
document.write('  <TR> ');
document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
document.write('    <TD COLSPAN="2" BACKGROUND="/education/images/footer2.gif" WIDTH="100%" HEIGHT="6"> ');
document.write('      <IMG SRC="/education/images/footer2.gif" BORDER=0 HEIGHT="6" ALT=""></TD>');
document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
document.write('  </TR>');
document.write('  <TR> ');
document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
document.write('    <TD ALIGN="left"><SPAN CLASS="legalese">'+rd_temp_config.rd_copyright+'</SPAN></TD>');
document.write('    <TD ALIGN="right"> <A href="'+ocom_base+rd_temp_config.rd_aboutoracleurl+'" class="legalese" target="_blank">'+rd_temp_config.rd_aboutoracle+'</A> ');
document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+dynamic_base+dad_pathname+'/db_pages.getpage?page_id=199&p_org_id=70&lang=JA" class="legalese" target="_blank">'+rd_temp_config.rd_aboutou+'</A> ');
document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+dynamic_base+dad_pathname+'/db_pages.getpage?page_id=121&p_org_id=70&lang=JA" class="legalese" target="_blank">'+rd_temp_config.rd_helpcontactus+'</A> ');
if (type=="wdp"){
	document.write('   <SPAN CLASS="legalese"> | </SPAN>  <A href="'+rd_misc.ou_wdp_rep_link+'" class="legalese" target="_blank">'+rd_temp_config.rd_footercontact+'</A>');
	}
else {
document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+dynamic_base+rd_temp_config.rd_contactusurl+'" class="legalese" target="_blank">'+rd_temp_config.rd_footercontact+'</A> ');
}
document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+ocom_base+rd_temp_config.rd_legalurl+'" class="legalese" target="_blank">'+rd_temp_config.rd_legal+'</A> ');

   document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+rd_temp_config.rd_privacyurl+'" class="legalese" target="_blank">'+rd_temp_config.rd_privacy+'</A> ');

document.write('    </TD>');
document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
document.write('  </TR>');
document.write('</TABLE>');
}

function getCertFooter() {
document.write('<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%" summary="">');
document.write('  <TR> ');
document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
document.write('    <TD COLSPAN="2" BACKGROUND="/education/images/footer2.gif" WIDTH="100%" HEIGHT="6"> ');
document.write('      <IMG SRC="/education/images/footer2.gif" BORDER=0 HEIGHT="6" ALT=""></TD>');
document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
document.write('  </TR>');
document.write('  <TR> ');
document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
document.write('    <TD ALIGN="left"><SPAN CLASS="legalese">'+rd_temp_config.rd_copyright+'</SPAN></TD>');
document.write('    <TD ALIGN="right"> <A href="'+rd_temp_config.rd_BuyAnExamUrl+'" class="legalese" target="_blank">'+rd_temp_config.rd_BuyAnExam+'</A> ');
//document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+rd_temp_config.rd_FraudulentUrl+'" class="legalese" target="_blank">'+rd_temp_config.rd_Fraudulent+'</A> ');
document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+rd_temp_config.rd_PoliciesUrl+'" class="legalese" target="_blank">'+rd_temp_config.rd_Policies+'</A> ');
document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+rd_temp_config.rd_CertFaqsUrl+'" class="legalese" target="_blank">'+rd_temp_config.rd_CertFaqs+'</A> ');
document.write('      <SPAN CLASS="legalese"> | </SPAN> <A href="'+dynamic_base+rd_temp_config.rd_contactusurl+'" class="legalese" target="_blank">'+rd_temp_config.rd_contactus+'</A> ');
document.write('    </TD>');
document.write('    <td width="20"> <img src="/education/images/spacer.gif" width="20" height="5"></td>');
document.write('  </TR>');
document.write('</TABLE>');
}

function getTracking() {
	<!-- ********** DO NOT ALTER ANYTHING BELOW THIS LINE ! *********** -->
	<!--  Below code will send the info to Omniture server -->
	document.write ('<script language="javascript">var s_code=s.t();if(s_code)document.write(s_code)</script>');
 	<!-- End SiteCatalyst code version: H.15. -->
}

function getWebregTracking(orgid, lang, pagename) {
	document.write ('<IMG SRC="'+dynamic_base+dad_pathname+'/ougbs_webreg_utils.track_user?p_module=Web%20Registration&p_stype='+pagename+'&p_keyword='+shopcartid+'&p_org_id='+orgid+'&p_lang='+lang+'" HEIGHT="1" WIDTH="1">');
}
