var my_Dir = new Array();
var martin_message = new Array();
martin_message[1] = "What advice do you have for someone looking for his or her first job out of college?
Don't be afraid to take a job that is challenging. Don't take the safe job. You have plenty of time for that later. Do something adventurous, and use opportunities when they present themselves.
-- Christine Paulson,
Online Sales Rep";
martin_message[2] = "What advice do you have for someone looking for his or her first job out of college?
Have goals. Find a great company that constantly challenges you and gives you opportunities to do good work.
-- Martin Smiley,
Recruitment Sales Rep";
var my_images = new Array();
var SLIDE_load = new Array();
var SLIDE_status, SLIDE_timeout;
var SLIDE_actual = 1;
var SLIDE_speed = 12000;
var SLIDE_fade = 10;
for (i = 1; i <= martin_message.length-1; i++)
{
my_images[i] = 'imageslide/'+ i + '.jpg';
SLIDE_load[i] = new Image();
SLIDE_load[i].src = my_images[i];
}
var SLIDE_count = my_images.length-1;
function SLIDE_start()
{
document.getElementById('SLIDE_play').disabled = false;
document.images.SLIDE_picBox.src = SLIDE_load[SLIDE_actual].src;
document.getElementById("SLIDE_textBox").innerHTML= martin_message[SLIDE_actual];
SLIDE_timeout = setTimeout("SLIDE_play()",SLIDE_speed);
}
function SLIDE_play()
{
document.getElementById('SLIDE_play').disabled = true;
document.getElementById('SLIDE_pause').disabled = false;
SLIDE_actual++;
SLIDE_slide();
SLIDE_status = 'SLIDE_play';
SLIDE_timeout = setTimeout("SLIDE_play()",SLIDE_speed);
}
function SLIDE_pause()
{
clearTimeout(SLIDE_timeout);
SLIDE_status = 'SLIDE_pause';
document.getElementById('SLIDE_pause').disabled = true;
document.getElementById('SLIDE_play').disabled = false;
}
function SLIDE_slide()
{
if (SLIDE_status != 'SLIDE_pause')
{
document.getElementById('SLIDE_play').disabled = true;
document.getElementById('SLIDE_pause').disabled = false;
}
if (SLIDE_actual > (SLIDE_count)) SLIDE_actual= 1;
if (SLIDE_actual < 1) SLIDE_actual = SLIDE_count;
imgTrans(); // call transition function
if (document.getElementById) document.getElementById("SLIDE_textBox").innerHTML= martin_message[SLIDE_actual];
}
function SLIDE_speeds(SLIDE_valgt)
{
SLIDE_speed = SLIDE_valgt.options[SLIDE_valgt.selectedIndex].value;
}
var FILTER_TIMEOUT;
var FILTER_POS = 1; // shows slide # & used for transparency amt
var FILTER_SLIDES = 10; // # of frames in transition
var FILTER_TIME = 2; // time in seconds to transition
function imgTrans()
{
var img = document.images.SLIDE_picBox;
if (FILTER_POS > FILTER_SLIDES/2)
{
img.src = SLIDE_load[SLIDE_actual].src;
}
if (img.style.opacity != undefined)
{
if (FILTER_POS < FILTER_SLIDES/2)
{
img.style.opacity = 1 - (FILTER_POS/FILTER_SLIDES);
}
else
{
img.style.opacity = (FILTER_POS/FILTER_SLIDES);
}
}
if (img.style.filter != undefined)
{
if (FILTER_POS < FILTER_SLIDES/2)
{
img.style.filter = 'alpha(opacity=' + ((1 - (FILTER_POS/FILTER_SLIDES)) * 100) + ')';
}
else
{
img.style.filter = 'alpha(opacity=' + ((FILTER_POS/FILTER_SLIDES) * 100) + ')';
}
}
FILTER_POS++;
if (FILTER_POS > FILTER_SLIDES)
{
FILTER_POS = 1;
clearTimeout(FILTER_TIMEOUT);
}
else
{
FILTER_TIMEOUT = setTimeout("imgTrans()",(FILTER_TIME/FILTER_SLIDES)*1000);
}
}