<!--

//configure the below five variables to change the style of the scroller
var test_scrollerwidth='150px'
var test_scrollerheight='350px'
var test_scrollerbgcolor='ffffff'
//set below to '' if you don't wish to use a background image
var test_scrollerbackground=''

//configure the below variable to change the contents of the scroller
var test_messages=new Array()
test_messages[0]="&quot;<i>Our corporate rental experience was truly 'divine'. A nice, newly renovated efficiency fit our firm's budget, but more importantly provided piece of mind in a big bustling city.</i>&quot;<br><br>- Carolyn Sawyer<br>President<br>Tom Sawyer Company"
test_messages[1]="&quot;<i>As a young professional seeking job experience on Capitol Hill, Divinity Rentals was extremely helpful in finding me a safe, affordable and really just perfect place for my short stay in DC. I will definitely make sure they are my first call whenever I come back to DC.</i>&quot;<br><br>- Laura Pearson<br> White House Intern"
test_messages[2]="&quot;<i>Finding a place to stay during a medical rotation can be a major headache. Divinity Rentals made the process easy and affordable, and the location was ideal! I only wish they were in every major city!</i>&quot;<br><br>- Kimberly Spillman<br>MD candidate"

///////Do not edit pass this line///////////////////////

var test_ie=document.all
var test_dom=document.getElementById

if (test_messages.length>2)
test_i=2
else
test_i=0

function test_move1(test_whichlayer){
test_tlayer=eval(test_whichlayer)
if (test_tlayer.top>0&&test_tlayer.top<=5){
test_tlayer.top=0
setTimeout("test_move1(test_tlayer)",10000)
setTimeout("test_move2(document.test_main.document.test_second)",10000)
return
}
if (test_tlayer.top>=test_tlayer.document.height*-1){
test_tlayer.top-=5
setTimeout("test_move1(test_tlayer)",100)
}
else{
test_tlayer.top=parseInt(test_scrollerheight)
test_tlayer.document.write(test_messages[test_i])
test_tlayer.document.close()
if (test_i==test_messages.length-1)
test_i=0
else
test_i++
}
}

function test_move2(test_whichlayer){
test_tlayer2=eval(test_whichlayer)
if (test_tlayer2.top>0&&test_tlayer2.top<=5){
test_tlayer2.top=0
setTimeout("test_move2(test_tlayer2)",10000)
setTimeout("test_move1(document.test_main.document.test_first)",10000)
return
}
if (test_tlayer2.top>=test_tlayer2.document.height*-1){
test_tlayer2.top-=5
setTimeout("test_move2(test_tlayer2)",100)
}
else{
test_tlayer2.top=parseInt(test_scrollerheight)
test_tlayer2.document.write(test_messages[test_i])
test_tlayer2.document.close()
if (test_i==test_messages.length-1)
test_i=0
else
test_i++
}
}

function test_move3(whichdiv){
test_tdiv=eval(whichdiv)
if (parseInt(test_tdiv.style.top)>0&&parseInt(test_tdiv.style.top)<=5){
test_tdiv.style.top=0+"px"
setTimeout("test_move3(test_tdiv)",10000)
setTimeout("test_move4(test_second2_obj)",10000)
return
}
if (parseInt(test_tdiv.style.top)>=test_tdiv.offsetHeight*-1){
test_tdiv.style.top=parseInt(test_tdiv.style.top)-5+"px"
setTimeout("test_move3(test_tdiv)",100)
}
else{
test_tdiv.style.top=parseInt(test_scrollerheight)
test_tdiv.innerHTML=test_messages[test_i]
if (test_i==test_messages.length-1)
test_i=0
else
test_i++
}
}

function test_move4(whichdiv){
test_tdiv2=eval(whichdiv)
if (parseInt(test_tdiv2.style.top)>0&&parseInt(test_tdiv2.style.top)<=5){
test_tdiv2.style.top=0+"px"
setTimeout("test_move4(test_tdiv2)",10000)
setTimeout("test_move3(test_first2_obj)",10000)
return
}
if (parseInt(test_tdiv2.style.top)>=test_tdiv2.offsetHeight*-1){
test_tdiv2.style.top=parseInt(test_tdiv2.style.top)-5+"px"
setTimeout("test_move4(test_second2_obj)",100)
}
else{
test_tdiv2.style.top=parseInt(test_scrollerheight)
test_tdiv2.innerHTML=test_messages[test_i]
if (test_i==test_messages.length-1)
test_i=0
else
test_i++
}
}

function test_startscroll(){
if (test_ie||test_dom){
test_first2_obj=test_ie? test_first2 : document.getElementById("test_first2")
test_second2_obj=test_ie? test_second2 : document.getElementById("test_second2")
test_move3(test_first2_obj)
test_second2_obj.style.top=test_scrollerheight
test_second2_obj.style.visibility='visible'
}
else if (document.layers){
document.test_main.visibility='show'
test_move1(document.test_main.document.test_first)
document.test_main.document.test_second.top=parseInt(test_scrollerheight)+5
document.test_main.document.test_second.visibility='show'
}
}

function launch_scrolls()
{
test_startscroll()
//startscroll()
Go()
}

window.onload=launch_scrolls


// ************************************
// ************************************
// TABLE ONLY FOR THE SCROLLING MARQUEE
// ************************************
// ************************************
document.writeln('<TABLE border=0 cellpadding=0 cellspacing=0 align="left" class="body">');
document.writeln('<TR>');
document.writeln('<TD class="bglight" align="left">');



document.writeln('<ilayer id="test_main" width=&{test_scrollerwidth}; height=&{test_scrollerheight}; bgColor=&{test_scrollerbgcolor}; background=&{test_scrollerbackground}; visibility=hide>');
document.writeln('<layer id="test_first" left=0 top=1 width=&{test_scrollerwidth};>');

if (document.layers)
document.write(test_messages[0])

document.writeln('</layer>');
document.writeln('<layer id="test_second" left=0 top=0 width=&{test_scrollerwidth}; visibility=hide>');

if (document.layers)
document.write(test_messages[test_dyndetermine=(test_messages.length==1)? 0 : 1])

document.writeln('</layer>');
document.writeln('</ilayer>');

if (test_ie||test_dom){
document.writeln('<div id="test_main2" style="position:relative;width:'+test_scrollerwidth+';height:'+test_scrollerheight+';overflow:hidden;background-color:'+test_scrollerbgcolor+' ;background-image:url('+test_scrollerbackground+')">')
document.writeln('<div style="position:absolute;width:'+test_scrollerwidth+';height:'+test_scrollerheight+';clip:rect(0 '+test_scrollerwidth+' '+test_scrollerheight+' 0);left:0px;top:0px">')
document.writeln('<div id="test_first2" style="position:absolute;width:'+test_scrollerwidth+';left:0px;top:1px;">')
document.write(test_messages[0])
document.writeln('</div>')
document.writeln('<div id="test_second2" style="position:absolute;width:'+test_scrollerwidth+';left:0px;top:0px;visibility:hidden">')
document.write(test_messages[test_dyndetermine=(test_messages.length==1)? 0 : 1])
document.writeln('</div>')
document.writeln('</div>')
document.writeln('</div>')
}

document.writeln('</TD>');
document.writeln('</TR>');
document.writeln('</TABLE>');

// END TABLE ONLY FOR THE SCROLLING MARQUEE ****
// **************************************************


//-->
