<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Original:  ShuvoRim (shuvorim@hotmail.com ) -->
<!-- Web Site:  http://www.shuvorim.tk -->
<!-- modified 18 May 2007, Cameron Mann -->
<!--

/* author@ShuvoRim
 * http://www.shuvorim.tk/
 * shuvorim@hotmail.com
 * (c)ShuvoRim Pvt. Ltd. 2002 -03
 * All rights reserved.
 * --------------------------------------------------
 * visit our web site for more free Java applications
 * and applets. Thank you for using our program.
 * --------------------------------------------------
 */
/*
var urlArray = new Array(2); //for URL's, increase size as necessary
var banArray = new Array(2); //for banners, increase size as necessary
var counter = 1;
var url = 'members\/bettersuper.jsp'; //initial URL

//add your necessary URL's
urlArray[0] = 'members\/bettersuper.jsp';
urlArray[1] = 'members\/tfn.jsp';

if(document.images) //pre-load all banner images
{
  for(i = 0; i < 2; i++)
  {
    banArray[i] = new Image(392, 72);
    banArray[i].src = 'images\/banners\/rs_banner' + (i+1) + '.gif';
  }
}


function changeBanner() //banner changer function
{
  if(counter > 1)
   counter = 0;

  document.banner.src = banArray[counter].src; //sets a new banner

  url = urlArray[counter]; //sets a new URL to the banner
  counter++; //increase the counter for the next banner
}

//calls the changeBanner() function every 3 seconds
//change the timer as necessary (minutes * 60000) or (seconds * 1000)
var timer = window.setInterval("changeBanner()", 5900);

//-->
*/
// JavaScript Document

function write_MBFbanner(){
document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"145\">");
document.write("                    <tbody>");
document.write("                      <tr align=\"left\" valign=\"top\">");
document.write("                        <td colspan=\"3\">&nbsp;<\/td>");
document.write("                      <\/tr>");
document.write("                      <tr bgcolor=\"#e1dee4\">");
document.write("                        <td height=\"19\" width=\"18\"><img id=\"tablecorner2\" src=\"\/recruit\/images\/tablec1.gif\" border=\"0\" height=\"19\" hspace=\"0\" vspace=\"0\" width=\"18\"><\/td>");
document.write("                        <td bgcolor=\"#e1dee4\" height=\"19\" width=\"109\">&nbsp;<\/td>");
document.write("");
document.write("                        <td height=\"19\" width=\"18\"><img id=\"tablecorner2\" src=\"\/recruit\/images\/tablec2.gif\" height=\"19\" width=\"18\"><\/td>");
document.write("                      <\/tr>");
document.write("                      <tr align=\"left\" bgcolor=\"#e1dee4\" valign=\"top\">");
document.write("                        <td colspan=\"3\"><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"20\" width=\"133\">");
document.write("                            <tbody>");
document.write("                              <tr>");
document.write("                                <td><div align=\"center\"><a href=\"\/recruit\/members\/mbf.jsp\"><img src=\"\/recruit\/images\/MBF_side.gif\" alt=\"Special Member Discounts with MBF\" border=\"0\"><\/a><\/div><\/td>");
document.write("                              <\/tr>");
document.write("                            <\/tbody>");
document.write("");
document.write("                        <\/table>");
document.write("                        <\/td>");
document.write("                      <\/tr>");
document.write("                      <tr>");
document.write("                        <td height=\"19\" width=\"18\"><img id=\"tablecorner2\" src=\"\/recruit\/images\/tablec3.gif\" border=\"0\" height=\"19\" hspace=\"0\" vspace=\"0\" width=\"18\"><\/td>");
document.write("                        <td bgcolor=\"#e1dee4\" height=\"19\">&nbsp;<\/td>");
document.write("                        <td height=\"19\" width=\"18\"><img id=\"tablecorner2\" src=\"\/recruit\/images\/tablec4.gif\" border=\"0\" height=\"19\" hspace=\"0\" vspace=\"0\" width=\"18\"><\/td>");
document.write("                      <\/tr>");
document.write("                    <\/tbody>");
document.write("");
document.write("		            <\/table>");
}

function write_OUTLOOKbanner(){
document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"145\">");
document.write("                    <tbody>");
document.write("                      <tr align=\"left\" valign=\"top\">");
document.write("                        <td colspan=\"3\">&nbsp;<\/td>");
document.write("                      <\/tr>");
document.write("                      <tr bgcolor=\"#e1dee4\">");
document.write("                        <td height=\"19\" width=\"18\"><img id=\"tablecorner2\" src=\"\/recruit\/images\/tablec1.gif\" border=\"0\" height=\"19\" hspace=\"0\" vspace=\"0\" width=\"18\"><\/td>");
document.write("                        <td bgcolor=\"#e1dee4\" height=\"19\" width=\"109\">&nbsp;<\/td>");
document.write("                        <td height=\"19\" width=\"18\"><img id=\"tablecorner2\" src=\"\/recruit\/images\/tablec2.gif\" height=\"19\" width=\"18\"><\/td>");
document.write("");
document.write("                      <\/tr>");
document.write("                      <tr align=\"left\" bgcolor=\"#e1dee4\" valign=\"top\">");
document.write("                        <td colspan=\"3\"><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"20\" width=\"133\">");
document.write("                            <tbody>");
document.write("                              <tr>");
document.write("                                <td><div align=\"center\"><a href=\"\/recruit\/promo\/superhealthcheck\/\"><img src=\"\/recruit\/images\/SuperHealthCheck.gif\" alt=\"Book in for your check up now\" border=\"0\"><\/a><\/div><\/td>");
document.write("                              <\/tr>");
document.write("                            <\/tbody>");
document.write("                        <\/table>");
document.write("");
document.write("                        <\/td>");
document.write("                      <\/tr>");
document.write("                      <tr>");
document.write("                        <td height=\"19\" width=\"18\"><img id=\"tablecorner2\" src=\"\/recruit\/images\/tablec3.gif\" border=\"0\" height=\"19\" hspace=\"0\" vspace=\"0\" width=\"18\"><\/td>");
document.write("                        <td bgcolor=\"#e1dee4\" height=\"19\">&nbsp;<\/td>");
document.write("                        <td height=\"19\" width=\"18\"><img id=\"tablecorner2\" src=\"\/recruit\/images\/tablec4.gif\" border=\"0\" height=\"19\" hspace=\"0\" vspace=\"0\" width=\"18\"><\/td>");
document.write("                      <\/tr>");
document.write("                    <\/tbody>");
document.write("		            <\/table>");
document.write("");
}

function choosebanner(){
var now=new Date();
var number = now.getSeconds()%2;
switch (number) {
	case 0: write_OUTLOOKbanner(); break;
	case 1: write_MBFbanner(); break;
	default: result = 'unknown';
	}
}

/*now place this function call at whatever point
it needs to write the markup on to the page: -->

<script type="text/javascript">
function choosebanner();
</script>
*/