function ic_get_header(cat){
document.write('<table border=0 cellpadding=0 cellspacing=0 width="100%">'); 
document.write('  <tr> ');
document.write('  <td rowspan=2><img');
document.write('  src="http://education.oracle.co.uk/images/ou_logo.gif" alt="Oracle Univesity logo" width="172" height="23">');
document.write(' <table border=0 cellspacing=0 cellpadding=1>');
document.write('   <tr> ');
document.write('     <td class="topstoryhead"><nobr>'+rd_temp_config.ic_top_header_title+'<nobr></td> ');
document.write('   </tr> ');
document.write('   <tr> ');
document.write('      <td class="boldbodycopy3"><div align="right">'+rd_temp_config.ic_top_header_title_country_name+'</div></td> ');
document.write('   </tr> ');
document.write('  </table></td> ');
document.write('    <td align="right"><table border=0 cellpadding=0 cellspacing=0 align="right"> ');
document.write('        <tr> ');
document.write('          <td align="center" valign="bottom"><a href="'+rd_temp_config.ic_icon_oracle_university_url+'" target="_top"><img src="http://education.oracle.co.uk/images/hp_ou_icon.gif" alt="Oracle Univesity logo" width=32 height=33 border=0></a></td> ');
document.write('          <td rowspan=2 width=20></td> ');
document.write('          <td align="center" valign="bottom"><a href="http://www.oracle.com'+rd_temp_config.rd_cancel_url+'" target="_top"><img src="http://education.oracle.com/education/images/ic_ou_terms.gif" alt="Terms and Conditions" width=32 height=33 border=0></a></td> ');
document.write('          <td rowspan=2 width=20></td> ');
document.write('          <td align="center" valign="bottom"><a href="'+rd_temp_config.ic_icon_training_cart_url+'" target="_top"><img src="http://education.oracle.co.uk/images/buy_icon_ou.gif" alt="Shopping Cart" width=32 height=24 border=0></a></td> ');
document.write('          <td rowspan=2 width=20></td> ');
document.write('          <td align="center" valign="bottom"><a href="'+rd_temp_config.ic_icon_contact_us_url+'" target="_top"><img src="http://education.oracle.co.uk/images/hp_contact_icon.gif" alt="Contact Us" width=32 height=33 border=0></a></td> ');
document.write('        </tr> ');
document.write('        <tr> ');
document.write('          <td align="center" valign="top"><a href="'+rd_temp_config.ic_icon_oracle_university_url+'" class="legalese" target="_top">'+rd_temp_config.ic_icon_oracle_university+'</a></td> ');
document.write('          <td align="center" valign="top"><a href="http://www.oracle.com'+rd_temp_config.rd_cancel_url+'" class="legalese" target="_top"><span style="text-transform:uppercase">'+rd_temp_config.rd_header_terms+'</span></a></td> ');
document.write('          <td align="center" valign="top"><a href="'+rd_temp_config.ic_icon_training_cart_url+'" class="legalese" align="center" target="_top">'+rd_temp_config.ic_icon_training_cart+'</a></td> ');
document.write('          <td align="center" valign="top"><a href="'+rd_temp_config.ic_icon_contact_us_url+'" class="legalese" align="center" target="_top">'+rd_temp_config.ic_icon_contact_us+'</a></td> ');
document.write('        </tr> ');
document.write('      </table></td> ');
document.write('  </tr> ');
document.write('</table>');
document.write('<table width="100%" cellspacing=0 cellpadding=0> ');
document.write('  <tr> ');
document.write('    <td><div align="right"> ');
document.write('        <TABLE border=0 cellPadding=0 cellSpacing=0> ');
document.write('          <TR> ');
if (cat == "SCHED") {
  document.write('            <TD width=15><IMG height=19  src="http://education.oracle.co.uk/images/drkgraytableft.gif" width=20 border=0></TD> ');
  document.write('            <TD vAlign=center align=middle><TABLE height=19 cellSpacing=0 cellPadding=0 background="http://education.oracle.co.uk/images/tabfade.gif" border=0> ');
  document.write('                <TR> ');
  document.write('                  <TD noWrap><DIV align=center><A class=OnTab href="SCHED_MP.htm" target=_top>'+rd_temp_config.ic_course_schedule+'</A></DIV></TD> ');
  document.write('                </TR> ');
  document.write('              </TABLE></TD> ');
  document.write('            <TD width=12><IMG height=19  src="http://education.oracle.co.uk/images/drkgraytabright.gif" width=12 border=0></TD> ');
  document.write('            <TD width=20><IMG height=19  src="http://education.oracle.co.uk/images/graytableft.gif" width=20 border=0></TD> ');
  document.write('            <TD vAlign=center align=middle><TABLE height=19 cellSpacing=0 cellPadding=0 background="http://education.oracle.co.uk/images/graytabbody.gif" border=0> ');
  document.write('                <TR> ');
  document.write('                  <TD noWrap><DIV align=center><A class=OffTab href="ILT.htm" target=_top>'+rd_temp_config.ic_course_listings+'</A></DIV></TD> ');
  document.write('                </TR> ');
  document.write('              </TABLE></TD> ');
  document.write('            <TD width=12><IMG height=19  src="http://education.oracle.co.uk/images/graytabright.gif" width=12 border=0></TD> ');
} else {
  document.write('            <TD width=15><IMG height=19  src="http://education.oracle.co.uk/images/graytableft.gif" width=20 border=0></TD> ');
  document.write('            <TD vAlign=center align=middle><TABLE height=19 cellSpacing=0 cellPadding=0 background="http://education.oracle.co.uk/images/graytabbody.gif" border=0> ');
  document.write('                <TR> ');
 document.write('                  <TD noWrap><DIV align=center><A class=OffTab href="SCHED_MP.htm" target=_top>'+rd_temp_config.ic_course_schedule+'</A></DIV></TD> ');
  document.write('                </TR> ');
  document.write('              </TABLE></TD> ');
  document.write('            <TD width=12><IMG height=19  src="http://education.oracle.co.uk/images/graytabright.gif" width=12 border=0></TD> ');
  document.write('            <TD width=20><IMG height=19  src="http://education.oracle.co.uk/images/drkgraytableft.gif" width=20 border=0></TD> ');
  document.write('            <TD vAlign=center align=middle><TABLE height=19 cellSpacing=0 cellPadding=0 background="http://education.oracle.co.uk/images/tabfade.gif" border=0> ');
  document.write('                <TR> ');
  document.write('                  <TD noWrap><DIV align=center><A class=OnTab href="ILT.htm" target=_top>'+rd_temp_config.ic_course_listings+'</A></DIV></TD> ');
  document.write('                </TR> ');
  document.write('              </TABLE></TD> ');
  document.write('            <TD width=12><IMG height=19  src="http://education.oracle.co.uk/images/drkgraytabright.gif" width=12 border=0></TD> ');
} 
document.write('            <TD width=20><IMG height=19  src="http://education.oracle.co.uk/images/graytableft.gif" width=20 border=0></TD> ');
document.write('            <TD vAlign=center align=middle width=47><TABLE height=19 cellSpacing=0 cellPadding=0 background="http://education.oracle.co.uk/images/graytabbody.gif" border=0> ');
document.write('                <TR> ');
document.write('                  <TD noWrap><DIV align=center><A class=OffTab href='+rd_temp_config.ic_course_search_url+' target="new">'+rd_temp_config.ic_course_search+'</A></DIV></TD> ');
document.write('                </TR> ');
document.write('              </TABLE></TD> ');
document.write('            <TD width=12><IMG height=19  src="http://education.oracle.co.uk/images/graytabright.gif" width=12 border=0></TD> ');
document.write('          </TR> ');
document.write('        </TABLE> ');
document.write('      </div></td> ');
document.write('  </tr> ');
document.write('</table>');
}


//function openemailwindow(orgid, catid, templateid){
//  mydescwin = window.open("http://education.oracle.co.uk/pls/eduep_extweb_link/icatalogue_email.emailschedule?in_org_id=5&in_catalog_id=73&in_template_id=397","descwin","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,width=800,height=450");
//  mydescwin = window.open("http://education.oracle.co.uk/pls/eduep_extweb_link/icatalogue_email.emailschedule?in_org_id="+orgid+"&in_catalog_id="+catid+"&in_template_id="+templateid+"","descwin","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,width=800,height=450");
//}

function opendescwindow(lURL){
   mydescwin = window.open(lURL,"descwin",'toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,width=800,height=600');
}

// Added the following function for radio button urls - Anand Nerkar 25-Jan-06
function go(loc) {
window.location.href = loc;
}

function ic_get_intro(cat, orgid){
  document.write('<table cellspacing=0 cellpadding=0 width="100%" border=0> '); 
  document.write('  <tr align=left> '); 
  document.write('    <td rowspan=3 valign=top><img height=34 src="http://education.oracle.co.uk/images/topnavleft.gif" width=13></td> '); 
  document.write('    <td valign=top><img height=6 src="http://education.oracle.co.uk/images/topnavbevel.gif" width=150></td> '); 
  document.write('    <td valign=top><img height=6 src="http://education.oracle.co.uk/images/topnavbevel.gif" width=25></td> '); 
  document.write('    <td valign=top><table height=5 cellspacing=0 cellpadding=0 width="100%" background="http://education.oracle.co.uk/images/topnavbevel.gif" border=0> '); 
  document.write('        <tr> '); 
  document.write('          <td width="100%" background="http://education.oracle.co.uk/images/topnavbevel.gif" height=5><img height=6 src="http://education.oracle.co.uk/images/topnavbevel.gif" width="100%"></td> '); 
  document.write('        </tr> '); 
  document.write('        </tbody> '); 
  document.write('      </table></td> '); 
  document.write('    <td rowspan=3 valign=top><img height=34 src="http://education.oracle.co.uk/images/topnavright.gif" width=12></td> '); 
  document.write('  </tr> '); 
  document.write('  <tr valign=top align=left> '); 
  document.write('    <td bgcolor=#666666><img height=5 src="http://education.oracle.co.uk/images/spacer.gif" width=150></td> '); 
  document.write('    <td bgcolor=#666666><img height=5 src="http://education.oracle.co.uk/images/spacer.gif" width=25></td> '); 
  document.write('    <td width="100%" bgcolor=#666666><img height=5 src="http://education.oracle.co.uk/images/spacer.gif"  width=23></td> '); 
  document.write('  </tr> '); 
  document.write('  <tr valign=top align=left> '); 
  document.write('    <td height=23><img height=23 src="http://education.oracle.co.uk/images/leftsidenavshadow.gif" width="100%"></td> '); 
  document.write('    <td><img height=23 src="http://education.oracle.co.uk/images/midcurve.gif" width=25></td> '); 
  document.write('    <td><table height=23 cellspacing=0 cellpadding=0 width="100%" background="http://education.oracle.co.uk/images/topnavshadow.gif" border=0> '); 
  document.write('        <tr> '); 
  document.write('          <td width="100%"></td> '); 
  document.write('        </tr> '); 
  document.write('      </table></td> '); 
  document.write('  </tr> '); 
  document.write('</table>'); 
  document.write('<table width="100%" border=0 cellspacing=0 cellpadding=0> '); 
  document.write('  <tr> '); 
  document.write('    <td class="parahead1">'); 
  if (cat=="ILT"){
    document.write('    '+rd_temp_config.ic_course_listing_title_ilt+' '); 
  } else if (cat=="SSCD"){ 
    document.write('    '+rd_temp_config.ic_course_listing_title_sscd+' '); 
  } else if (cat=="ILO"){ 
    document.write('    '+rd_temp_config.ic_course_listing_title_ilo+' '); 
  } else if (cat=="PE"){
    document.write('    '+rd_temp_config.ic_course_listing_title_pe+' '); 
  } else if (cat=="SCHED"){
    document.write('    '+rd_temp_config.ic_course_listing_title_sched+' '); 
  }
  document.write('    </td> '); 
  //document.write('    <td><div align=right><a href="'+rd_temp_config.ic_print_list_url+'" class="navlink">'+rd_temp_config.ic_print_list+'</a><span class="textA"> | <a href="'+rd_temp_config.ic_email_list_url+'" class="navlink">'+rd_temp_config.ic_email_list+'</a> | <a href="'+rd_temp_config.ic_download_list_url+'" class="navlink">'+rd_temp_config.ic_download_list+'</a></span></div></td> '); 
  //document.write('    <td><div align=right><a href="javascript:print();" class="navlink">'+rd_temp_config.ic_print_list+'</a><span class="textA"> | <a href="javascript:openemailwindow('+orgid+', '+catid+', '+templateid+')" class="navlink">'+rd_temp_config.ic_email_list+'</a> | <a href="eBiz.zip" class="navlink">'+rd_temp_config.ic_download_list+'</a></span></div></td> '); 
   document.write('    <td><div align=right><a href="javascript:print();" class="navlink">'+rd_temp_config.ic_print_list+'</a></div></td> '); 
  document.write('  </tr> '); 
  document.write('</table>'); 
  if (cat != "SCHED") {
    document.write('<table width="100%" border=0 cellspacing=0 cellpadding=1 bgcolor=#999999> '); 
    document.write('  <tr> '); 
    document.write('    <td><table width="100%" border=0 cellspacing=0 cellpadding=0 bgcolor=#eeeeee> '); 
    document.write('       <tr> '); 
    document.write('          <td valign=top><table border=0 cellspacing=1 cellpadding=2> '); 
    document.write('             <tr> '); 
    document.write('               <td><div align=right><span class="bodycopy">'+rd_temp_config.ic_view_course_listing+'</span></div></td> '); 
    document.write('               <form name="form1"> '); 
      document.write('                  <td><select name="menu1" class="bodycopy" onChange="top.location.href=this.options[selectedIndex].value" > ');      document.write('                      <option value="ILT.htm"');
      if (cat=="ILT"){ 
	    document.write('selected'); 
	  } 
      document.write('                      >'+rd_temp_config.ic_view_course_listing_ilt+'</option> '); 
      document.write('                      <option value="ILO.htm"');
      if (cat=="ILO"){ 
	    document.write('selected'); 
	  } 
      document.write('                      >'+rd_temp_config.ic_view_course_listing_ilo+'</option> '); 
      document.write('                      <option value="SSCD.htm"');
      if (cat=="SSCD"){ 
	    document.write('selected'); 
	  } 
      document.write('                      >'+rd_temp_config.ic_view_course_listing_sscd+'</option>');  
      document.write('                      <option value="PE.htm"');
      if (cat=="PE"){ 
	    document.write('selected'); 
	  } 
      document.write('                      >'+rd_temp_config.ic_view_course_listing_pe+'</option> '); 
	        document.write('                      <option value="TOD.htm"');
      if (cat=="TOD"){ 
	    document.write('selected'); 
	  } 
      document.write('                      >'+rd_temp_config.ic_view_course_listing_tod+'</option> '); 
      document.write('                    </select></td> ');
    document.write('                </form> '); 
    document.write('              </tr> '); 
    document.write('            </table></td> '); 
    document.write('          <td><img src="http://education.oracle.co.uk/images/spacer.gif" border=0 width=30></td> '); 
    document.write('         <td valign=top><div align=right> '); 
    document.write('             <table border=0 cellspacing=1 cellpadding=2> '); 
    document.write('               <tr> '); 
    document.write('                 <td width=24><a href="'+rd_temp_config.ic_register_your_interest_url+'" target="_blank"><img src="http://education.oracle.co.uk/images/register_interest.gif" border=0></a></td> '); 
    document.write('                  <td><a href="'+rd_temp_config.ic_register_your_interest_url+'" class="bodylink" target="_blank">'+rd_temp_config.ic_register_your_interest+'</a></td> '); 
    document.write('                </tr> '); 
    document.write('                <tr> '); 
    document.write('                  <td width=24> </td> '); 
    document.write('                 <td>'); 
    document.write('                 <span class="bodycopy">'+ rd_misc.rd_callusat + rd_temp_config.rd_phonenumber + ' ' + rd_misc.contact + '<a href="'+ rd_misc.ou_rep_link + '" target="_top" class="bodylink">' + rd_misc.ou_rep +'</a> ' + rd_temp_config.ic_for_pricing_details+'');
    document.write('                 </td> '); 
    document.write('               </tr> '); 
    document.write('             </table> '); 
    document.write('           </div></td> '); 
    document.write('        </tr> '); 
    document.write('     </table></td>');  
    document.write('  </tr> '); 
    document.write('</table>'); 
  } else { 
document.write('<table width="100%" border=0 cellspacing=1 cellpadding=1> '); 
  document.write('  <tr> '); 
  document.write('    <td> ');
  document.write(' <span class="boldbodycopy">'+rd_temp_config.ic_change_display+'</span>');
  document.write(' <label><input type="radio" name="loc" onClick=\'go("SCHED_MP.htm");\'> <span class="bodycopy">'+rd_temp_config.ic_by_category+'</span></label>');
  document.write(' <label><input type="radio" name="loc" onClick=\'go("SCHED_SP.htm");\'> <span class="bodycopy">'+rd_temp_config.ic_all_courses+'</span></label>');
  document.write('     </td>');  
  document.write('  </tr> '); 
  document.write('</table><br>');
}
  document.write('<span class="boldbodycopy">'+rd_temp_config.ic_note+'</span><br>'); 
  document.write('<span class="bodycopy">'+rd_temp_config.ic_note2+'</span>'); 

  if (cat == "SCHED") {
	document.write('<br><br><img src="http://education.oracle.co.uk/images/100trans.gif" width="34" height="11" />');
	document.write('<span class="bodycopy"> '+rd_temp_config.ic_studsatisfactn01+' </span>');
	document.write('<a href="'+rd_temp_config.ic_studsatisfactn02_url+'" target="_blank" class="bodylink">'+rd_temp_config.ic_studsatisfactn02+'</a>&nbsp;');
	document.write('<span class="bodycopy"><strong>'+rd_temp_config.ic_studsatisfactn02+': </strong>'+rd_temp_config.ic_studsatisfactn03+'</span>');
	document.write('<a href="'+rd_temp_config.ic_studsatisfactn05_url+'" target="_blank" class="bodylink">'+rd_temp_config.ic_studsatisfactn05+'</a>');
	document.write('<span class="bodycopy"> '+rd_temp_config.ic_studsatisfactn04+'</span>');
	document.write('<a href="'+rd_temp_config.ic_studsatisfactn02_url+'" class="bodylink">'+rd_temp_config.ic_studsatisfactn06+'</a>');
  }
}
