var prot1 = self.location.protocol;
var hostname1 = self.location.hostname;
var port1 = self.location.port;
if (port1 == "") {port1 = "80"};
//var base1 = prot1+"//"+hostname1+":"+port1;

if (hostname1 == "fintst2.us.oracle.com") {
    dynamic_base = prot1+"//"+hostname1+":"+port1;
    cms_base = "http://www.oracle.com";
	dad_pathname = "/pls/webprod"
} 
else if (hostname1 == "education.oracle.com") {
	dynamic_base = prot1+"//"+hostname1;
    cms_base = "http://www.oracle.com";
	dad_pathname = "/pls/web_prod-plq-dad"
}
else {
	dynamic_base = "http://education.oracle.com";
  	cms_base = "http://www.oracle.com";
	dad_pathname = "/pls/web_prod-plq-dad"
 }
 
 // For displaying a different terms image in the html header and shop cart header
 
	var terms_flag = 0;
	var complete_url = document.location.href;
	var loc = complete_url.lastIndexOf("/");
	var  html_string = complete_url.substring(loc + 1);
	if (html_string == "terms_conditions.html") 
	{
 		terms_flag = 1;
	}

 
function getUsersState(){ 

parent.readInfoCookie(); 
parent.getUCMCookies(); 

 var block=''; 
 if (parent.isUCMRegistered() != true) { 
  block +='<a class="profile" target="_top" href="'+rd_temp_config.rd_loginurl+'">('+rd_temp_config.rd_registeraccount+')</a>' 
 } 

 else if (parent.isUCMRegistered() != -1){ 
  block += '<span class="profile">'+rd_temp_config.rd_welcome+' '+parent.ORA_UCM_INFO.firstname+'</span> '+' <a class="profile" href="javascript:signMeout()" target="">( '+rd_temp_config.rd_signout+'</a><span class="profile"> | </span><a class="profile" target="_top" href="'+cms_base+rd_temp_config.rd_accountlabelurl+'"> '+rd_temp_config.rd_accountlabel+' )</a>' 
 } 
 else { 
  block +='<a class="profile" target="_top" href="'+rd_temp_config.rd_loginurl+'">('+rd_temp_config.rd_registeraccount+')</a>' 
 } 

document.write(block); 
} 

function getUsersStateOld(){ 

parent.readInfoCookie(); 
parent.getUCMCookies(); 

 var block=''; 
 if (parent.isUCMRegistered() != true) { 
  block +='<a class="profile" target="_top" href="'+templateconfig.loginurl+'">('+templateconfig.registeraccount+')</a>' 
 } 

 else if (parent.isUCMRegistered() != -1){ 
  block += '<span class="profile">'+templateconfig.welcome+' '+parent.ORA_UCM_INFO.firstname+'</span> '+' <a class="profile" href="javascript:signMeout()" target="">( '+templateconfig.signout+'</a><span class="profile"> | </span><a class="profile" target="_top" href="'+templateconfig.accountlabelurl+'"> '+templateconfig.accountlabel+' )</a>' 
 } 
 else { 
  block +='<a class="profile" target="_top" href="'+templateconfig.loginurl+'">('+templateconfig.registeraccount+')</a>' 
 } 

document.write(block); 
} 

function getheader () {
document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%" summary="">');
document.write('  <tr>');
document.write('    <td width="54" rowspan="2">&nbsp;</td>');
document.write('    <td width="236" rowspan="2"><a href="'+templateconfig.oraclecorpurl+'" target="_top"><img src="/admin/header/ora_logo.gif" width="248" height="33" border="0" alt="'+templateconfig.oraclecorp+'"></A></TD>');
document.write('    <TD width="150" rowspan="2" valign="bottom"> </TD>');
document.write('    <TD align="right"><TABLE border=0 cellpadding=0 cellspacing=0 align="right" summary=""><TR><TD align="center" valign="bottom">');
document.write('<A href="'+templateconfig.myoracleurl+'" target="_top"><IMG src="/admin/header/metalink_icon.gif" align="absmiddle" width="32" height="33" border="0" alt="'+templateconfig.myoracle+'"></A></TD><TD rowspan="2" width="20"> </TD>');
document.write('<TD align="center" valign="bottom"><A href="'+cms_base+templateconfig.oraclestoreurl+'" target="_top"><IMG src="/admin/header/buy_icon.gif" align="absmiddle" width="32" height="33" border="0" alt="'+templateconfig.oraclestore+'"></A></TD><TD rowspan="2" width="20"> </TD>');
document.write('<TD align="center" valign="bottom"><A href="'+templateconfig.downloadsurl+'" target="_top"><IMG src="/admin/header/download_icon.gif" align="absmiddle" width="32" height="33" border="0" alt="'+templateconfig.downloads+'"></A></TD>');
document.write('<TD rowspan="2" width="20"> </TD><TD align="center" valign="bottom"><A href="'+cms_base+templateconfig.headercontacturl+'" target="_top"><IMG src="/admin/header/contact_icon.gif" align="absmiddle" width="32" height="33" border="0" alt="'+templateconfig.headercontact+'"></A></TD></TR>');
document.write('<TR><TD align="center" valign="top"><A href="'+templateconfig.myoracleurl+'" class="legalese" target="_top">'+templateconfig.myoracle+'</A></TD><TD align="center" valign="top"><A href="'+cms_base+templateconfig.oraclestoreurl+'" class="legalese" target="_top">'+templateconfig.oraclestore+'</A></TD>');
document.write('<TD align="center" valign="top"><A href="'+templateconfig.downloadsurl+'" class="legalese" target="_top">'+templateconfig.downloads+'</A></TD>');
document.write('<TD align="center" valign="top"><A href="'+cms_base+templateconfig.headercontacturl+'" class="legalese" target="_top">'+templateconfig.headercontact+'</A></TD></TR></TABLE></TD>');
document.write('  </TR>');
document.write('  <TR>');
document.write('    <TD align="right">');
document.write('      <TABLE border="0" cellpadding="0" cellspacing="0" summary="">');
document.write('        <TR>');
document.write('          <TD colspan="6" height="3"> &nbsp; &nbsp;</TD>');
document.write('        </TR>');
document.write('        <FORM name="queryform"  METHOD="GET" action="http://www.oracle.com/ultrasearch/wwws/searchoc.jsp" target="_top">');
document.write('        <TR>');
document.write('          <INPUT type="hidden" name="p_Action" value="Search">');
document.write('          <TD width="10" align="left" valign="top"><INPUT type="text" name="p_Query" valign="middle" VALUE="" size="12" class="legalese"></TD>');
document.write('          <TD width="23" valign="top"><A href="javascript:document.queryform.submit()" class="legalese"><INPUT name="Advanced" type="IMAGE" src="/admin/header/search_icon.gif" width="22" height="30" border="0"></A></TD>');
document.write('          <TD valign="top" height="12"><A href="javascript:document.queryform.submit()" class="legalese">'+templateconfig.search+'</A></TD>');
document.write('          <TD width="15"> </TD>');
document.write('          <TD valign="top" align="right"><SPAN class="legalese"><SELECT class="legalese" size="1"><OPTION value="">'+templateconfig.oucountryname+'</OPTION>');
document.write('</SELECT></SPAN></TD>');
document.write('          <TD></FORM></TD>');
document.write('        </TR>');
document.write('        <TR>');
document.write('          <TD colspan="6" valign="top" align="right">');
document.write('<script language = "JavaScript">getUsersState(); </script>');
document.write('        </TD></TR>');
document.write('      </TABLE>');
document.write('    </TD>');
document.write('  </TR>');
document.write('</TABLE>');
document.write('<TABLE border="0" cellpadding="0" cellspacing="0" WIDTH="100%" summary="">');
document.write('  <TR>');
document.write('    <TD nowrap background="/admin/header/bar_background.gif" valign="top">');
document.write('      <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" summary=""><TR><TD nowrap  WIDTH="1" HEIGHT="16"><IMG src="/admin/header/bar_left1.gif" BORDER="0" WIDTH="1" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap WIDTH="9" HEIGHT="16"><IMG src="/admin/header/bar_background1.gif" BORDER="0" WIDTH="9" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="16"><IMG src="/admin/header/button_left1.gif" BORDER=0 WIDTH="2" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap background="/admin/header/button_middle1.gif" HEIGHT="16" VALIGN="bottom" CLASS="textC"><A href="'+cms_base+templateconfig.productsurl+'" CLASS="textC" target="_top"><SPAN CLASS="textC">&nbsp;&nbsp;&nbsp;&nbsp;'+templateconfig.products+'&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></A></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="16"><IMG src="/admin/header/button_right1.gif" BORDER=0 WIDTH="2" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap WIDTH="8" HEIGHT="16"><IMG src="/admin/header/bar_background1.gif" BORDER=0 WIDTH="8" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="16"><IMG src="/admin/header/button_left1.gif" BORDER=0 WIDTH="2" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap background="/admin/header/button_middle1.gif" HEIGHT="16" VALIGN="bottom" CLASS="textC"><A href="'+cms_base+templateconfig.solutionsurl+'" CLASS="textC" target="_top"><SPAN CLASS="textC">&nbsp;&nbsp;&nbsp;&nbsp;'+templateconfig.solutions+'&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></A></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="16"><IMG src="/admin/header/button_right1.gif" BORDER=0 WIDTH="2" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap WIDTH="8" HEIGHT="16"><IMG src="/admin/header/bar_background1.gif" BORDER=0 WIDTH="8" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="16"><IMG src="/admin/header/button_left1.gif" BORDER=0 WIDTH="2" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap background="/admin/header/button_middle1.gif" HEIGHT="16" VALIGN="bottom" CLASS="textB"><A href="'+cms_base+templateconfig.servicesurl+'" CLASS="textB" target="_top"><SPAN CLASS="textB">&nbsp;&nbsp;&nbsp;&nbsp;'+templateconfig.services+'&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></A></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="16"><IMG src="/admin/header/button_right1.gif" BORDER=0 WIDTH="2" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap WIDTH="8" HEIGHT="16"><IMG src="/admin/header/bar_background1.gif" BORDER=0 WIDTH="8" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="16"><IMG src="/admin/header/button_left1.gif" BORDER=0 WIDTH="2" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap background="/admin/header/button_middle1.gif" HEIGHT="16" VALIGN="bottom" CLASS="textC"><A href="'+cms_base+templateconfig.technologiesurl+'" CLASS="textC" target="_top"><SPAN CLASS="textC">&nbsp;&nbsp;&nbsp;&nbsp;'+templateconfig.technologies+'&nbsp;&nbsp;&nbsp;&nbsp;</SPAN></A></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="16"><IMG src="/admin/header/button_right1.gif" BORDER=0 WIDTH="2" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap WIDTH="8" HEIGHT="16"><IMG src="/admin/header/bar_background1.gif" BORDER=0 WIDTH="8" HEIGHT="16" ALT=""></TD>');
document.write('<TD nowrap WIDTH="8" HEIGHT="16"><IMG src="/admin/header/bar_stepdown1.gif" BORDER="0" WIDTH="8" HEIGHT="16" ALT=""></TD></TR>');
document.write('<TR><TD nowrap WIDTH="1" HEIGHT="18"><IMG src="/admin/header/bar_left2.gif" BORDER="0" WIDTH="1" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap WIDTH="9" HEIGHT="18"><IMG src="/admin/header/bar_background2.gif" BORDER="0" WIDTH="9" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="18"><IMG src="/admin/header/button_left2.gif" BORDER="0" WIDTH="2" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap background="/admin/header/button_middle2.gif"><IMG src="/admin/header/button_middle2.gif"></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="18"><IMG src="/admin/header/button_right2.gif" BORDER="0" WIDTH="2" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap WIDTH="8" HEIGHT="18"><IMG src="/admin/header/bar_background2.gif" BORDER="0" WIDTH="8" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="18"><IMG src="/admin/header/button_left2.gif" BORDER="0" WIDTH="2" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap background="/admin/header/button_middle2.gif"><IMG src="/admin/header/button_middle2.gif"></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="18"><IMG src="/admin/header/button_right2.gif" BORDER="0" WIDTH="2" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap WIDTH="8" HEIGHT="18"><IMG src="/admin/header/bar_background2.gif" BORDER="0" WIDTH="8" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="18"><IMG src="/admin/header/button_left2.gif" BORDER="0" WIDTH="2" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap background="/admin/header/button_middle2.gif"><IMG src="/admin/header/button_middle2.gif"></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="18"><IMG src="/admin/header/button_right2.gif" BORDER="0" WIDTH="2" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap WIDTH="8" HEIGHT="18"><IMG src="/admin/header/bar_background2.gif" BORDER="0" WIDTH="8" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="18"><IMG src="/admin/header/button_left2.gif" BORDER="0" WIDTH="2" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap background="/admin/header/button_middle2.gif"><IMG src="/admin/header/button_middle2.gif"></TD>');
document.write('<TD nowrap WIDTH="2" HEIGHT="18"><IMG src="/admin/header/button_right2.gif" BORDER="0" WIDTH="2" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap WIDTH="8" HEIGHT="18"><IMG src="/admin/header/bar_background2.gif" BORDER="0" WIDTH="8" HEIGHT="18" ALT=""></TD>');
document.write('<TD nowrap WIDTH="8" HEIGHT="18"><IMG src="/admin/header/bar_stepdown2.gif" BORDER="0" WIDTH="8" HEIGHT="18" ALT=""></TD></TR></TABLE>');
document.write('    </TD>');
document.write('    <TD nowrap background="/admin/header/bar_background.gif" valign="top" align="right">');
document.write('      <TABLE border="0" cellspacing="0" cellpadding="0" summary="">');
document.write('        <TR>');
document.write('          <TD nowrap height="16" align="right" valign="bottom" background="/admin/header/bar_background.gif" class="profile"> </TD>');
document.write('        </TR>');
document.write('      </TABLE>');
document.write('    </TD>');
document.write('    <TD nowrap width="1"><IMG src="/admin/header/bar_rightside.gif" ALT=""></TD>');
document.write('  </TR>');
document.write('  <TR>');
document.write('    <TD background="/admin/header/bar_background2.gif"></TD>');
document.write('  </TR>');
document.write('</TABLE>');
document.write('');
}
/////////////////////////OU SHOPCART HEADER////////////////////
function getshopcart_header() {
document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('  <tr> ');
document.write('    <td><img src="/images/ou_logo_webreg_blkrd.gif" width="195" height="33" alt="Oracle University"><br>');
document.write('      <span class=parahead1>'+rd_temp_config.sc_header_title+'</span></td>');
document.write('    <td> <table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('        <tr> ');
document.write('          <td> <table border="0" cellspacing="0" cellpadding="0" align="right">');
document.write('              <tr> ');
document.write('                <td height="44"> ');
document.write('                  <div align="center"><a href="'+rd_temp_config.sc_header_cart_url+'" class="legalese"> <img src="/images/cart_disabled.gif" width="32" height="32" border="0"></a></div></td>');
document.write('                <td><img src="/images/stretch.gif" width="10" height="8"></td>');
document.write('                <td> <div align="center"> <a href="'+rd_temp_config.sc_header_profile_url+'" class="legalese"><img src="/images/profile1.gif" width="32" height="32" border="0"> ');
document.write('                 </a> </div></td>');
document.write('                <td><img src="/images/stretch.gif" width="10" height="2"></td>');
document.write('                <td> <div align="center"> <a href="'+rd_temp_config.rd_payment_url+'" class="legalese" target="_blank"><img src="/images/payment_procedures.gif" width="32" height="32" border="0"> ');
document.write('                  </a></div></td>');
document.write('                <td><img src="/images/stretch.gif" width="10" height="2"></td>');

if (terms_flag == 0)
{
	document.write('                <td> <div align="center"> <a href="'+cms_base+rd_temp_config.rd_cancel_url+'" target="_blank" class="legalese"><img src="/images/terms_disabled.gif" width="32" height="32" border="0"> ');
	document.write('                  </a></div></td>');
}
else {
	document.write('                <td> <div align="center"> <a href="'+cms_base+rd_temp_config.rd_cancel_url+'" target="_blank"  class="legalese"><img src="/images/terms_active.gif" width="32" height="32" border="0"> ');
	document.write('                  </a></div></td>');
}


document.write('                <td><img src="/images/stretch.gif" width="10" height="2"></td>');
document.write('                <td> <a href="'+cms_base+rd_temp_config.sc_header_contact_url+'" class="legalese" target="_blank"><img src="/images/contact3.gif" width="32" height="32" border="0"> </a></td>');
document.write('                <td><img src="/images/stretch.gif" width="10" height="2"></td>');
document.write('                <td> <div align="center"><a href="javascript:signMeout()" class="legalese"><img src="/images/signout.gif" width="32" height="32" border="0"> ');
document.write('                   </a></div></td>');
document.write('                <td><img src="/images/stretch.gif" width="10" height="2"></td>');
document.write('                <td> <a href="'+cms_base+rd_temp_config.sc_header_help_url+'" class="legalese" target="_blank"><img src="/images/helpbw2.gif" width="32" height="32" border="0"> </a></td>');
document.write('                <td><img src="/images/stretch.gif" width="10" height="2"></td>');
document.write('              </tr>');
document.write('              <tr> ');
document.write('                <td valign="top"> <div align="center"><a href="'+rd_temp_config.sc_header_cart_url+'" class="legalese">');
document.write(' '+rd_temp_config.sc_header_cart+'');
document.write('                    </a></div></td>');
document.write('                <td valign="top">&nbsp;</td>');
document.write('                <td valign="top"> <div align="center"><a href="'+rd_temp_config.sc_header_profile_url+'" class="legalese">');
document.write(''+rd_temp_config.sc_header_profile+'');
document.write('                    </a></div></td>');
document.write('                <td valign="top">&nbsp;</td>');
document.write('                <td valign="top"> <div align="center"><a href="'+rd_temp_config.rd_payment_url+'" class="legalese" target="_blank">');
document.write(''+rd_temp_config.rd_payment+'');
document.write('                    </a></div></td>');
document.write('                <td valign="top">&nbsp;</td>');
document.write('                <td valign="top"> <div align="center"><a href="'+cms_base+rd_temp_config.rd_cancel_url+'" class="legalese" target="_blank">');
document.write(''+rd_temp_config.rd_terms_conditions+'');
document.write('                    </a></div></td>');
document.write('                <td valign="top">&nbsp;</td>');
document.write('                <td valign="top"> <div align="center"><a href="'+cms_base+rd_temp_config.sc_header_contact_url+'" class="legalese" target="_blank">');
document.write(''+rd_temp_config.sc_header_contact+'');
document.write('                    </a></div></td>');
document.write('                <td valign="top">&nbsp;</td>');
document.write('                <td valign="top"> <div align="center"><a href="javascript:signMeout();" class="legalese">');
document.write(''+rd_temp_config.rd_signout+'');
document.write('                    </a></div></td>');
document.write('                <td valign="top">&nbsp;</td>');
document.write('                <td valign="top"> <div align="center"><a href="'+cms_base+rd_temp_config.sc_header_help_url+'" class="legalese" target="_blank" border="0">');
document.write(''+rd_temp_config.sc_header_help+'');
document.write('                    </a></div></td>');
document.write('                <td valign="top">&nbsp;</td>');
document.write('              </tr>');
document.write('            </table></td>');
document.write('        </tr>');
document.write('      </table></td>');
document.write('  </tr>');
document.write('  <tr> ');
document.write('    <td>&nbsp;<span class="boldbodycopy3">'+rd_temp_config.rd_oucountryname+'</span></td>');
document.write('    <td>&nbsp; </td>');
document.write('  </tr>');
document.write('</table>');
document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('  <TR> ');
document.write('    <TD align="left" WIDTH=1 height=7><IMG SRC="/images/spacer.gif" WIDTH=1 HEIGHT=7></TD>');
document.write('  </TR>');
document.write('  <TR> ');
document.write('    <TD align="left" WIDTH=1 height=1 bgcolor="#666666"><IMG SRC="/images/spacer.gif" WIDTH=1 HEIGHT=1></TD>');
document.write('  </TR>');
document.write('  <TR> ');
document.write('    <TD align="left" WIDTH=1 height=1 bgcolor="#cccccc"><IMG SRC="/images/spacer.gif" WIDTH=1 HEIGHT=1></TD>');
document.write('  </TR>');
document.write('  <TR> ');
document.write('    <TD align="left" WIDTH=1 height=1 bgcolor="#D9D9D9"><IMG SRC="/images/spacer.gif" WIDTH=1 HEIGHT=1></TD>');
document.write('  </TR>');
document.write('  <TR> ');
document.write('    <TD align="left" WIDTH=1 height=1 bgcolor="#F2F2F2"><IMG SRC="/images/spacer.gif" WIDTH=1 HEIGHT=1></TD>');
document.write('  </TR>');
document.write('  <TR> ');
document.write('    <TD align="left" WIDTH=1 height=7><IMG SRC="/images/spacer.gif" WIDTH=1 HEIGHT=7></TD>');
document.write('  </TR>');
document.write('</table>');
}
//////////////////////////////////END SHOPCART HEADER////////////////////////////

function getNewHeader () {
document.write('<TABLE WIDTH="100%" BORDER=0 CELLPADDING=0 CELLSPACING=0>');
document.write('  <TR> ');
document.write('    <TD ROWSPAN="5"><img src="/images/spacer.gif" border="0" width="13"</TD>');
document.write('    <TD HEIGHT="19" COLSPAN="2"></TD>');
document.write('    <TD ROWSPAN="5"><img src="/images/spacer.gif" border="0" width="13"</TD>');
document.write('  </TR>');
document.write('  <TR> ');
document.write('    <TD ALIGN="LEFT" VALIGN="BOTTOM"><A HREF="'+rd_temp_config.rd_oraclecorpurl+'" target="_top"><IMG src="/images/oralogo_small.gif" BORDER=0 ALT="Oracle Corporation" WIDTH="154" HEIGHT="19"></a></TD>');
document.write('    <TD ALIGN="RIGHT" VALIGN="BOTTOM">');
//printOUWelcome();
getUsersState();
document.write('    </TD>');
document.write('  </TR>');
document.write('  <TR> ');
document.write('    <TD HEIGHT="14" COLSPAN="2"></TD>');
document.write('  </TR>');
document.write('  <TD ALIGN="LEFT" VALIGN="BOTTOM"> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>');
document.write('      <TR> ');
document.write('        <TD BGCOLOR="#666666"><IMG src="/images/spacer.gif.gif" BORDER=0 ALT="" WIDTH="1" HEIGHT="22"></TD>');
document.write('        <TD HEIGHT="22" VALIGN="TOP"><SPAN CLASS="textA">&nbsp; </span><a href="'+cms_base+rd_temp_config.rd_oraclestoreurl+'" target="_top" class=textA>'+rd_temp_config.rd_oraclestore+'</a><SPAN CLASS="textA">&nbsp; ');
document.write('          &nbsp; </span></TD>');
document.write('        <TD BGCOLOR="#666666" ><IMG src="/images/spacer.gif.gif" BORDER=0 ALT="" WIDTH="1" HEIGHT="22"></TD>');
document.write('        <TD HEIGHT="22" VALIGN="TOP"><SPAN CLASS="textA">&nbsp; </span><a href="'+rd_temp_config.rd_downloadsurl+'" target="_top" class=textA>'+rd_temp_config.rd_downloads+'</a><SPAN CLASS="textA">&nbsp; ');
document.write('          &nbsp; </span></TD>');
document.write('        <TD BGCOLOR="#666666" ><IMG src="/images/spacer.gif.gif" BORDER=0 ALT="" WIDTH="1" HEIGHT="22"></TD>');
document.write('        <TD HEIGHT="22" VALIGN="TOP"><SPAN CLASS="textA">&nbsp; </span><a href="'+cms_base+rd_temp_config.rd_supporturl+'" target="_top" class=textA>'+rd_temp_config.rd_support+'</a><SPAN CLASS="textA">&nbsp; ');
document.write('          &nbsp; </span></TD>');
document.write('        <TD BGCOLOR="#666666" ><IMG src="/images/spacer.gif.gif" BORDER=0 ALT="" WIDTH="1" HEIGHT="22"></TD>');
document.write('        <TD HEIGHT="22" VALIGN="TOP"><SPAN CLASS="textA">&nbsp; </span><a href="'+cms_base+rd_temp_config.rd_eventsurl+'" target="_top" class=textA>'+rd_temp_config.rd_events+'</a><SPAN CLASS="textA">&nbsp; ');
document.write('          &nbsp; </span></TD>');
document.write('        <TD BGCOLOR="#666666" ><IMG src="/images/spacer.gif.gif" BORDER=0 ALT="" WIDTH="1" HEIGHT="22"></TD>');
document.write('        <TD HEIGHT="22" VALIGN="TOP"><SPAN CLASS="textA">&nbsp; </span><a href="'+cms_base+rd_temp_config.rd_headercontacturl+'" target="_top" class=textA>'+rd_temp_config.rd_headercontact+'</a><SPAN CLASS="textA">&nbsp; ');
document.write('          &nbsp; </span></TD>');
document.write('        <TD HEIGHT="22" ALIGN="right" VALIGN="TOP"> </TR>');
document.write('    </TABLE></TD>');
document.write('  <TD ALIGN="RIGHT" VALIGN="top" height="22"> <table cellspacing=0 cellpadding=1 border=0 height="22">');
document.write('      <tr> ');
document.write('        <form name="searchForm" method="get" action="/webapps/search/search.do" target="_top" onsubmit="javascript: return isNotNull(this.keyword.value)">');
document.write('          <input type=hidden name="p_Action" value=Search>');
document.write('          <input type=hidden name="group" value="OCOM">');
document.write('          <input type="hidden" name="group" value="CUSTOM_APPS">');
document.write('          <td nowrap align=right valign=bottom> <input type="text" name="keyword" valign=middle value="" size=15 class=textA id=Search> ');
document.write('          </td>');
document.write('          <td width="3"><IMG src="/images/spacer.gif" BORDER=0 ALT="" WIDTH="3" HEIGHT="22"></td>');
document.write('          <td valign=middle><a href="javascript:document.searchForm.submit()" onclick="javascript: return isNotNull(document.searchForm.keyword.value)" class=textA>'+rd_temp_config.rd_search+'</a></td>');
document.write('        </form>');
document.write('        <form>');
document.write('          <td align=right valign=bottom><label for="Select Country"><IMG src="/images/spacer.gif.gif" width=1 height=1 alt="Select Country"><span class=textA> ');
document.write('                                    <select class="legalese" size="1" onchange="top.location.href=this.options[selectedIndex].value">');
document.write('                                      <option value="">'+rd_temp_config.rd_selectacountry+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Argentinahomeurl+'">'+rd_temp_config.rd_Argentina+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Australiahomeurl+'">'+rd_temp_config.rd_Australia+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Austriahomeurl+'">'+rd_temp_config.rd_Austria+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Bahrainhomeurl+'">'+rd_temp_config.rd_Bahrain+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Bangladeshhomeurl+'">'+rd_temp_config.rd_Bangladesh+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Belgiumhomeurl+'">'+rd_temp_config.rd_Belgium+' and '+rd_temp_config.rd_Luxembourg+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Bhutanhomeurl+'">'+rd_temp_config.rd_Bhutan+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Bosniahomeurl+'">'+rd_temp_config.rd_BosniaHerzegovina+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Brasilhomeurl+'">'+rd_temp_config.rd_Brasil+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Bruneihomeurl+'">'+rd_temp_config.rd_Brunei+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Bulgariahomeurl+'">'+rd_temp_config.rd_Bulgaria+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Cambodiahomeurl+'">'+rd_temp_config.rd_Cambodia+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_CanadaEnglishhomeurl+'">'+rd_temp_config.rd_CanadaEnglish+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_CanadaFrenchhomeurl+'">'+rd_temp_config.rd_CanadaFrench+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Chilehomeurl+'">'+rd_temp_config.rd_Chile+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Chinahomeurl+'">'+rd_temp_config.rd_China+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Colombiahomeurl+'">'+rd_temp_config.rd_Colombia+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_CostaRicahomeurl+'">'+rd_temp_config.rd_CostaRica+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Croatiahomeurl+'">'+rd_temp_config.rd_Croatia+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_CzechRepublichomeurl+'">'+rd_temp_config.rd_CzechRepublic+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Denmarkhomeurl+'">'+rd_temp_config.rd_Denmark+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Ecuadorhomeurl+'">'+rd_temp_config.rd_Ecuador+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Egypthomeurl+'">'+rd_temp_config.rd_Egypt+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Estoniahomeurl+'">'+rd_temp_config.rd_Estonia+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Finlandhomeurl+'">'+rd_temp_config.rd_Finland+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Francehomeurl+'">'+rd_temp_config.rd_France+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Germanyhomeurl+'">'+rd_temp_config.rd_Germany+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Greecehomeurl+'">'+rd_temp_config.rd_Greece+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_HongKonghomeurl+'">'+rd_temp_config.rd_HongKong+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Hungaryhomeurl+'">'+rd_temp_config.rd_Hungary+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Indiahomeurl+'">'+rd_temp_config.rd_India+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Indonesiahomeurl+'">'+rd_temp_config.rd_Indonesia+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Irelandhomeurl+'">'+rd_temp_config.rd_Ireland+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Israelhomeurl+'">'+rd_temp_config.rd_Israel+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Italyhomeurl+'">'+rd_temp_config.rd_Italy+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Japanhomeurl+'">'+rd_temp_config.rd_Japan+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Jordanhomeurl+'">'+rd_temp_config.rd_Jordan+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Koreahomeurl+'">'+rd_temp_config.rd_Korea+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Kuwaithomeurl+'">'+rd_temp_config.rd_Kuwait+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Laoshomeurl+'">'+rd_temp_config.rd_Laos+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Latviahomeurl+'">'+rd_temp_config.rd_Latvia+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Lebanonhomeurl+'">'+rd_temp_config.rd_Lebanon+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Lithuaniahomeurl+'">'+rd_temp_config.rd_Lithuania+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Malaysiahomeurl+'">'+rd_temp_config.rd_Malaysia+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Maldiveshomeurl+'">'+rd_temp_config.rd_Maldives+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Mexicohomeurl+'">'+rd_temp_config.rd_Mexico+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Nepalhomeurl+'">'+rd_temp_config.rd_Nepal+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Netherlandshomeurl+'">'+rd_temp_config.rd_Netherlands+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_NewZealandhomeurl+'">'+rd_temp_config.rd_NewZealand+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Norwayhomeurl+'">'+rd_temp_config.rd_Norway+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Omanhomeurl+'">'+rd_temp_config.rd_Oman+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Pakistanhomeurl+'">'+rd_temp_config.rd_Pakistan+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Peruhomeurl+'">'+rd_temp_config.rd_Peru+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Philippineshomeurl+'">'+rd_temp_config.rd_Philippines+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Polandhomeurl+'">'+rd_temp_config.rd_Poland+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Portugalhomeurl+'">'+rd_temp_config.rd_Portugal+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_PuertoRicohomeurl+'">'+rd_temp_config.rd_PuertoRico+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Qatarhomeurl+'">'+rd_temp_config.rd_Qatar+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Romaniahomeurl+'">'+rd_temp_config.rd_Romania+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Russiahomeurl+'">'+rd_temp_config.rd_Russia+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_SaudiArabiahomeurl+'">'+rd_temp_config.rd_SaudiArabia+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_SerbiaMontenegrohomeurl+'">'+rd_temp_config.rd_SerbiaMontenegro+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Singaporehomeurl+'">'+rd_temp_config.rd_Singapore+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Slovakiahomeurl+'">'+rd_temp_config.rd_Slovakia+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Sloveniahomeurl+'">'+rd_temp_config.rd_Slovenia+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_SouthAfricahomeurl+'">'+rd_temp_config.rd_SouthAfrica+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Spainhomeurl+'">'+rd_temp_config.rd_Spain+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_SriLankahomeurl+'">'+rd_temp_config.rd_SriLanka+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Swedenhomeurl+'">'+rd_temp_config.rd_Sweden+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_SwitzerlandFrenchhomeurl+'">'+rd_temp_config.rd_SwitzerlandFrench+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_SwitzerlandGermanhomeurl+'">'+rd_temp_config.rd_SwitzerlandGerman+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Taiwanhomeurl+'">'+rd_temp_config.rd_Taiwan+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Thailandhomeurl+'">'+rd_temp_config.rd_Thailand+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Turkeyhomeurl+'">'+rd_temp_config.rd_Turkey+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_UnitedArabEmirateshomeurl+'">'+rd_temp_config.rd_UnitedArabEmirates+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_UnitedKingdomhomeurl+'">'+rd_temp_config.rd_UnitedKingdom+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_UnitedStateshomeurl+'">'+rd_temp_config.rd_UnitedStates+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Venezuelahomeurl+'">'+rd_temp_config.rd_Venezuela+'</option>');
document.write('                                      <option value="'+cms_base+rd_temp_config.rd_Yemenhomeurl+'">'+rd_temp_config.rd_Yemen+'</option>');
document.write('                                    </select>');
document.write('            </span></label></td>');
document.write('        </form>');
document.write('      </tr>');
document.write('      <TR> ');
document.write('        <TD HEIGHT="3"><IMG src="/images/spacer.gif.gif" BORDER=0 ALT="" HEIGHT="3"></TD>');
document.write('      </TR>');
document.write('    </table></TD>');
document.write('  </TR>');
document.write('  <TR> ');
document.write('      <TD BGCOLOR="#666666" HEIGHT="1" COLSPAN="2"></TD>');
document.write('  </TR>');
document.write('</TABLE>');
}

function signMeout(url) {
	var exp = new Date();
	exp.setYear(70);
	var exp_str = "expires=" + exp.toGMTString() + "; domain=.oracle.com; path=/;";
	document.cookie = "ORA_UCM_VER=;" + exp_str;
	document.cookie = "ORA_UCM_INFO=;" + exp_str;
	document.cookie = "ORA_UCM_SRVC=;" + exp_str;
	
	parent.location=dyna_hostname+dad_pathname+'/show_desc.redirect?redir_type=3';
}


////////////////////////////////// PREMIERE CUSTOMER FUNCTIONS ////////////////////////////

function getPremiereHeader(pc) {
document.write('<table border=0 cellpadding=0 cellspacing=0 width="99%">');
document.write('  <tr> ');
document.write('    <td valign="middle"><a href="'+dyna_hostname+dad_pathname+'/OUGBS_Premiere_Customer.premiere"><img src="/images/ou_cingular_logo.gif" width="360" height="80" border="0"></a></td>');
document.write('    <td align="right"> <table border=0 cellpadding=0 cellspacing=0 width="100%">');
document.write('        <tr> ');
document.write('          <td> <table border=0 cellpadding=0 cellspacing=0 align="right">');
document.write('              <tr> ');
document.write('                <td align="center" valign="bottom"><a href="'+dyna_hostname+dad_pathname+'/OUGBS_Premiere_Customer.premiere"><img src="/images/hp_ocom_icon.gif" width="32" height="33" border="0"></a></td>');
document.write('                <td rowspan="2" width="20">&nbsp;</td>');
document.write('                <td align="center" valign="bottom"><a href="/premiere/contact_us.html"><img src="/images/contact_icon.gif" width="32" height="33" border="0" align="bottom" alt="Contact Oracle"></a></td>');
document.write('              </tr>');
document.write('              <tr> ');
document.write('                <td align="center" valign="top"><a href="'+dyna_hostname+dad_pathname+'/OUGBS_Premiere_Customer.premiere" class="legalese"> ');
document.write('                  HOME</a></td>');
document.write('                <td align="center" valign="top"><a href="/premiere/contact_us.html" class="legalese" align="center">CONTACT ');
document.write('                  US</a></td>');
document.write('              </tr>');
document.write('            </table></td>');
document.write('        </tr>');
document.write('        <tr> ');
document.write('          <td></td>');
document.write('        </tr>');
document.write('        <tr> ');
document.write('          <td valign="top" align="right" height="7"></td>');
document.write('        </tr>');
document.write('        <tr> ');
document.write('          <td valign="top" align="right"><span class="textB">Welcome Cingular ');
document.write('            Students (<a href="JavaScript:PremSignOut();" class="textB"><u>log ');
document.write('            out</u></a>)</span></td>');
document.write('        </tr>');
document.write('      </table></td>');
document.write('  </tr>');
document.write('  <tr> ');
document.write('    <td height="7"></td>');
document.write('    <td height="7"></td>');
document.write('  </tr>');
document.write('</table>');
document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('  <tr> ');
document.write('    <td align="left" WIDTH=1 height=1 bgcolor="#666666"><img SRC="/images/spacer.gif" WIDTH=1 HEIGHT=1></td>');
document.write('  </tr>');
document.write('  <tr> ');
document.write('    <td align="left" WIDTH=1 height=1 bgcolor="#cccccc"><img SRC="/images/spacer.gif" WIDTH=1 HEIGHT=1></td>');
document.write('  </tr>');
document.write('  <tr> ');
document.write('    <td align="left" WIDTH=1 height=1 bgcolor="#D9D9D9"><img SRC="/images/spacer.gif" WIDTH=1 HEIGHT=1></td>');
document.write('  </tr>');
document.write('  <tr> ');
document.write('    <td align="left" WIDTH=1 height=1 bgcolor="#F2F2F2"><img SRC="/images/spacer.gif" WIDTH=1 HEIGHT=1></td>');
document.write('  </tr>');
document.write('  <tr> ');
document.write('    <td align="left" WIDTH=1 height=7><img SRC="/images/spacer.gif" WIDTH=1 HEIGHT=7></td>');
document.write('  </tr>');
document.write('</table>');
}

function PremSignOut(url) {
	var exp = new Date();
	exp.setYear(70);
	var exp_str = "expires=" + exp.toGMTString() + "; domain=.oracle.com; path=/;";
	document.cookie = "p_cust=;" + exp_str;
	parent.location=dynamic_base+dad_pathname+'/show_desc.redirect?redir_type=3';
}
