// TSM ACADEMY REGISTRATION FEE
var RegFee201 = "$10.00"
var RegFee202 = "$10.00"
var RegFee204 = "$10.00"

// BLOCK IMAGE SAVES - NO RIGHT-CLICK ALLOWED
function right(e) {
  if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
    return false;
  else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
    alert("Sorry, right click is not allowed.");
    return false;
  }
  return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;

// ARRAY OF DAY NAMES FOR TODAY's DATE DISPLAY
dayNames = new Array("Sun.","Mon.","Tue.","Wed.","Thu.","Fri.","Sat.");
monthNames = new Array("Jan.","Feb.","Mar.","Apr.","May","Jun.","Jul.", "Aug.","Sep.","Oct.","Nov.","Dec,");
dt = new Date();
y = dt.getYear();
// Y2K compliant
if (y < 1000) y +=1900;
DateToday = dayNames[dt.getDay()] + ', ' + dt.getDate() + ' ' + monthNames[dt.getMonth()] + ' ' + y;

function getTellPic() {
 // RANDOM GRAPHIC SELECTION
 randomNum = 1; num = 1; Pic = '';
 total = 139;
 w = new Array(total+1); h = new Array(total+1); s = new Array(total+1); // width, height, horizontal spacing
 w[0]=0; h[0]=0; s[0]=0; // NOT USED
 w[1]=63; h[1]=64; s[1]=0; w[2]=62; h[2]=65; s[2]=0; w[3]=60; h[3]=68; s[3]=0; 
 w[4]=49; h[4]=60; s[4]=0; w[5]=96; h[5]=67; s[5]=0; w[6]=70; h[6]=68; s[6]=0; 
 w[7]=160; h[7]=32; s[7]=0; w[8]=92; h[8]=48; s[8]=0; w[9]=77; h[9]=64; s[9]=0; 
 w[10]=60; h[10]=60; s[10]=0; w[11]=72; h[11]=63; s[11]=0; w[12]=115; h[12]=66; s[12]=0; 
 w[13]=41; h[13]=68; s[13]=10; w[14]=89; h[14]=68; s[14]=0; w[15]=60; h[15]=60; s[15]=10; 
 w[16]=70; h[16]=50; s[16]=10; w[17]=44; h[17]=44; s[17]=10; w[18]=50; h[18]=35; s[18]=10; 
 w[19]=89; h[19]=68; s[19]=0; w[20]=58; h[20]=68; s[20]=0; w[21]=32; h[21]=32; s[21]=10; 
 w[22]=64; h[22]=42; s[22]=10; w[23]=100; h[23]=65; s[23]=0; w[24]=64; h[24]=64; s[24]=10; 
 w[25]=48; h[25]=48; s[25]=10; w[26]=68; h[26]=68; s[26]=0; w[27]=75; h[27]=68; s[27]=0; 
 w[28]=50; h[28]=50; s[28]=10; w[29]=78; h[29]=68; s[29]=5; w[30]=52; h[30]=49; s[30]=5; 
 w[31]=79; h[31]=57; s[31]=10; w[32]=61; h[32]=68; s[32]=10; w[33]=95; h[33]=68; s[33]=0; 
 w[34]=58; h[34]=68; s[34]=0; w[35]=134; h[35]=58; s[35]=0; w[36]=48; h[36]=50; s[36]=0; 
 w[37]=76; h[37]=68; s[37]=0; w[38]=60; h[38]=48; s[38]=0; w[39]=55; h[39]=39; s[39]=10; 
 w[40]=68; h[40]=58; s[40]=10; w[41]=49; h[41]=68; s[41]=0; w[42]=102; h[42]=68; s[42]=0; 
 w[43]=68; h[43]=68; s[43]=0; w[44]=40; h[44]=40; s[44]=10; w[45]=151; h[45]=45; s[45]=0; 
 w[46]=36; h[46]=68; s[46]=10; w[47]=200; h[47]=35; s[46]=0; w[48]=68; h[48]=68; s[48]=19;
 w[49]=61; h[49]=62; s[49]=10; w[50]=67; h[50]=50; s[50]=0; w[51]=67; h[51]=50; s[51]=0;
 w[52]=67; h[52]=50; s[52]=10; w[53]=67; h[53]=50; s[53]=0; w[54]=50; h[54]=50; s[54]=0;
 w[55]=90; h[55]=68; s[55]=0; w[56]=67; h[56]=50; s[56]=10; w[57]=67; h[57]=50; s[57]=10;
 w[58]=51; h[58]=68; s[58]=10; w[59]=80; h[59]=68; s[59]=0; w[60]=29; h[60]=77; s[60]=0;
 w[61]=68; h[61]=47; s[61]=10; w[62]=25; h[62]=32; s[62]=10; w[63]=37; h[63]=68; s[63]=10;
 w[64]=86; h[64]=58; s[64]=0; w[65]=44; h[65]=44; s[65]=10; w[66]=59; h[66]=68; s[66]=0;
 w[67]=74; h[67]=68; s[67]=10; w[68]=125; h[68]=68; s[68]=10; w[69]=80; h[69]=68; s[69]=0;
 w[70]=110; h[70]=53; s[70]=0; w[71]=58; h[71]=61; s[71]=10; w[72]=68; h[72]=68; s[72]=10;
 w[73]=68; h[73]=68; s[73]=10; w[74]=68; h[74]=68; s[74]=10; w[75]=122; h[75]=68; s[75]=0;
 w[76]=121; h[76]=49; s[76]=10; w[77]=102; h[77]=68; s[77]=0; w[78]=89; h[78]=68; s[78]=10;
 w[79]=59; h[79]=68; s[79]=0; w[80]=65; h[80]=41; s[80]=10; w[81]=83; h[81]=68; s[81]=0;
 w[82]=68; h[82]=68; s[82]=0; w[83]=55; h[83]=61; s[83]=10; w[84]=162; h[84]=68; s[84]=0;
 w[85]=40; h[85]=68; s[85]=0; w[86]=84; h[86]=68; s[86]=10; w[87]=68; h[87]=68; s[87]=10;
 w[88]=43; h[88]=68; s[88]=0; w[89]=64; h[89]=68; s[89]=0; w[90]=70; h[90]=68; s[90]=10;
 w[91]=73; h[91]=68; s[91]=0; w[92]=50; h[92]=40; s[92]=10; w[93]=70; h[93]=64; s[93]=0;
 w[94]=74; h[94]=68; s[94]=0; w[95]=68; h[95]=68; s[95]=0; w[96]=160; h[96]=68; s[96]=0;
 w[97]=70; h[97]=38; s[97]=10; w[98]=66; h[98]=68; s[98]=0; w[99]=41; h[99]=68; s[99]=0;
 w[100]=99; h[100]=59; s[100]=0; w[101]=64; h[101]=68; s[101]=10; w[102]=68; h[102]=68; s[102]=0;
 w[103]=60; h[103]=60; s[103]=10; w[104]=68; h[104]=68; s[104]=0; w[105]=80; h[105]=60; s[105]=6;
 w[106]=73; h[106]=68; s[106]=0; w[107]=55; h[107]=65; s[107]=10; w[108]=65; h[108]=68; s[108]=0;
 w[109]=62; h[109]=68; s[109]=10; w[110]=54; h[110]=68; s[110]=0; w[111]=136; h[111]=68; s[111]=0;
 w[112]=54; h[112]=68; s[112]=0; w[113]=83; h[113]=68; s[113]=0; w[114]=67; h[114]=50; s[114]=10;
 w[115]=68; h[115]=68; s[115]=6; w[116]=88; h[116]=68; s[116]=0; w[117]=125; h[117]=54; s[117]=0;
 w[118]=93; h[118]=68; s[118]=6; w[119]=90; h[119]=68; s[119]=0; w[120]=90; h[120]=64; s[120]=0;
 w[121]=64; h[121]=64; s[121]=10; w[122]=85; h[122]=68; s[122]=10; w[123]=123; h[123]=68; s[123]=0;
 w[124]=62; h[124]=48; s[124]=0; w[125]=60; h[125]=64; s[125]=10; w[126]=44; h[126]=45; s[126]=0;
 w[127]=44; h[127]=44; s[127]=10; w[128]=74; h[128]=58; s[128]=0; w[129]=61; h[129]=68; s[129]=0;
 w[130]=81; h[130]=91; s[130]=0; w[131]=97; h[131]=68; s[131]=0; w[132]=50; h[132]=35; s[132]=10;
 w[133]=53; h[133]=68; s[133]=10; w[134]=61; h[134]=68; s[134]=0; w[135]=47; h[135]=68; s[135]=10;
 w[136]=61; h[136]=68; s[136]=10; w[137]=114; h[137]=45; s[137]=5; w[138]=113; h[138]=68; s[138]=0;
 w[139]=133; h[139]=65; s[139]=0;

 num = Math.floor((Math.random() * total)) + 1;
 // num = 139; // used for testing
 Pic = '<img border="0" src="images/tell/' + num + '.gif" width="' + w[num] + '" height="' + h[num] + '" hspace="' + s[num] + '">';
 
 return Pic;
}
