var teflJobs = new Array('<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=41617&from=jssynd" title="Click to view complete Job Posting"><b>Australia: Director of Studies</b><br />Position Title: 	Director of Studies \nSchool/Area: 	Curt...<br /><i>Curtin University</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=39947&from=jssynd" title="Click to view complete Job Posting"><b>Worldwide: Teachers for Taiwan and China</b><br />Positions available working in Taiwan and China. Currentl...<br /><i>TEFLOne Recruitment</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=40694&from=jssynd" title="Click to view complete Job Posting"><b>Vietnam: Teaching Positions Available in May 2010 Onwards at ILA Vietnam!</b><br />Teaching Positions Available in May 2010 Onwards at ILA V...<br /><i>ILA Vietnam</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=40477&from=jssynd" title="Click to view complete Job Posting"><b>South Korea: Stable Public School positions all over Gyeonggi province - roundtrip airfare/free housing and more!</b><br />Full time position/More Stable and Vacation/<br /><i>WorknPlay Consulting</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=40160&from=jssynd" title="Click to view complete Job Posting"><b>Spain: Free Information on Teaching and Life in Spain</b><br />Spainwise.NET is the most comprehensive source of informa...<br /><i>Spainwise</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=41631&from=jssynd" title="Click to view complete Job Posting"><b>Italy: English Language Teacher</b><br />Dynamic teachers for varied range of teaching in bustling...<br /><i>British School Livorno</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=41848&from=jssynd" title="Click to view complete Job Posting"><b>France: BUSINESS ENGLISH TEACHERS IN PARIS</b><br />WALL STREET INSTITUTE IS URGENTLY RECRUITING 3 BUSINESS E...<br /><i>Wall Street Institute Paris</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=41844&from=jssynd" title="Click to view complete Job Posting"><b>France: GENERAL ENGLISH TEACHERS IN PARIS</b><br />Wall Street Institute Paris Is Recruiting 2 General Engli...<br /><i>Wall Street Institute Paris</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=41846&from=jssynd" title="Click to view complete Job Posting"><b>United Kingdom: Freelance EFL Trainer for short intensive TEFL courses throughout the UK.</b><br />Freelance EFL Trainer required to teach short intensive T...<br /><i>UK-TEFL</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=40702&from=jssynd" title="Click to view complete Job Posting"><b>South Korea: ESL WORLD KOREA: Fantastic Teaching Experience in S. Korea!</b><br />Finding a Teaching Job with ESL WORLD KOREA! You WON\'T f...<br /><i>ESL WORLD KOREA</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=41296&from=jssynd" title="Click to view complete Job Posting"><b>United Kingdom: EFL Teachers</b><br />M M Oxford Study Services are currently recruiting EFL Te...<br /><i>MM Oxford Study Services</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=41536&from=jssynd" title="Click to view complete Job Posting"><b>Germany: Corporate Language Trainer</b><br />- Responsibility for the English training of 80 - 100 pro...<br /><i>Target Language GmbH</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=41494&from=jssynd" title="Click to view complete Job Posting"><b>United Kingdom: Centre Managers, DOSSES, Activity Managers, Activity Leaders</b><br />We are a long-established, British Council accredited Eng...<br /><i>Churchill House</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=40925&from=jssynd" title="Click to view complete Job Posting"><b>United Kingdom: TEFL tutor</b><br />We are looking for energetic, enthusiastic and organized ...<br /><i>Anglophiles Academic Ltd</i></a><br /><br />',
    '<a style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/job.html?jo_id=41520&from=jssynd" title="Click to view complete Job Posting"><b>United Kingdom: Teachers &amp; Activity Leaders</b><br />Vacancies for Teachers with CELTA/Trinity and Activity Le...<br /><i>Regent Young Learners</i></a><br /><br />');
var teflTotalJobs = 288;
if (typeof teflBoxWidth == 'undefined') {
  var teflBoxWidth = 0;
}
if ((teflBoxWidth < 100) || (teflBoxWidth > 400)) {
  teflBoxWidth = 150;
}

if (typeof teflMaxJobs == 'undefined') {
  var teflMaxJobs = 0;
}
if ((teflMaxJobs < 5) || (teflMaxJobs > 15)) {
  teflMaxJobs = 15;
}

if (typeof teflBoxCols == 'undefined') {
  var teflBoxCols = 0;
}
if ((teflBoxCols < 1) || (teflBoxCols > 3)) {
  teflBoxCols = 1;
}

if (typeof teflBoxBodyBg == 'undefined') {
  var teflBoxBodyBg = 'cdcaff';
}
if ((teflBoxBodyBg != 'cdcaff') && (teflBoxBodyBg != 'ffffff')) {
  teflBoxBodyBg = 'cdcaff';
}

with (document) {
  write('<div id="tefl_jobs" style="background-color: #'+teflBoxBodyBg+'; border: 1px solid; border-color: #999 #666 #666 #999; -moz-border-radius: 0 10px 10px 10px; width: '+teflBoxWidth+'; font-size: 11px; font-family: Arial, sans-serif; text-align: left; overflow: hidden"><div style="background-color: #623062; padding: 0; height: 46px; -moz-border-radius: 0 10px 10px 0"><table border=0 cellpadding=0 cellspacing=0 align=left><tr><td><a href="http://www.tefl.com/" title="Click to visit TEFL.com"><img src="http://www.tefl.com/app/img/logos/logo_tefl_jss.gif" width=70 height=46 border=0 alt="TEFL.com" /></a></td><td valign=bottom style="padding: 3px; vertical-align: bottom"><a href="http://www.tefl.com/" title="Click to visit TEFL.com" style="text-decoration: none"><b style="color: #ffffff; font-size: 12px; padding: 3px">Latest Jobs</b></a></td></tr></table></div><br /><div style="padding: 3px; overflow: auto">');


  var teflCurrJobCount = 1;
  if (teflBoxCols > 1) {
    var teflCurrCol = 1;
    var teflRowClosed = 0;
    write('<table border=0 cellpadding=2 cellspacing=0>');
  }
  for (teflJob in teflJobs) {
    if (teflBoxCols > 1) {
      teflRowClosed = 0;
      if (teflCurrCol == 1) {
        write('<tr>');
      }
      write('<td style="font-size: 11px; vertical-align: top; width: '+parseInt(100/teflBoxCols)+'%">');
    }
    write(teflJobs[teflJob]);
    if (teflBoxCols > 1) {
      write('</td>');
      teflCurrCol++;
      if (teflCurrCol > teflBoxCols) {
        write('</tr>');
        teflRowClosed = 1;
        teflCurrCol = 1;
      }
    }
    if (teflCurrJobCount >= teflMaxJobs) {
      break;
    }
    teflCurrJobCount++;

  }
  if (teflBoxCols > 1) {
    if (!teflRowClosed) {
      write('</tr>');
    }
    write('</table>');
  }
  write('</div>');
  if (teflTotalJobs > 1) {
    write('<center><a title="Click to view all Job Postings" style="color: #000000; text-decoration: none" href="http://www.tefl.com/jobs/results.html?rs_so=1"><b>'+teflTotalJobs+' Jobs online!</b></a><br /><span style="font-size: 9px">Copyright &copy; 1996-2010 TEFL.com</span></center>');
  }
  write('</div>');
}