
/***********************************************
* Pausing updown message scroller- &copy; Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

//configure the below five variables to change the style of the scroller
var scrollerdelay='25000' //delay between msg scrolls. 3000=3 seconds.
var scrollerwidth='165px'
var scrollerheight='265px'
var scrollerbgcolor='#A10331'
//set below to '' if you don't wish to use a background image
var scrollerbackground='scrollerback.gif'

//configure the below variable to change the contents of the scroller
var messages=new Array()
messages[0]="<a href='types.html#1' class='linknews'>陰謀與銀行劫案：在聖塔莫尼卡一個主要銀行的分行被持槍搶劫。我的當事人在銀行工作，他被指控為合謀者之一﹐並曾與罪犯會合商議如何及何時何地進行搶劫，以及授與他槍械。我的當事人正面臨超過15年監禁。 陪審團判決：無罪。<i>（美國地區法院，美國加州中區）</i></a>" 
messages[1]="<a href='types.html#2' class='linknews'>綁架，搶劫，強姦，雞姦：我的當事人被逮捕時正坐在一輛麵包車上並戴著滑雪面具。有兩名婦女被綁在車的後座。我當事人的口袋被發現藏有從婦女家裡取出的珠寶首飾﹐一把槍被發現在他的座位下面。我的當事人聲稱他是受薪幫人看守車子，當他穿上滑雪面具之際就看見有被捆綁的受害者在後座。他口袋內受害者的首飾就是他幫忙看守車子所得的酬勞。我的當事人正面臨終身監禁。陪審團判決：無罪。 <i>（洛杉磯高級法院，刑事法院大樓）</i></a>" 
messages[2]="<a href='types.html#3' class='linknews'>謀殺：我的當事人被目擊者看到他謀殺﹐他被控一級謀殺罪，有證據表明，受害者和我的當事人曾在案發當日發生爭執。我為他的辯護是身份被誤認。他面臨終身監禁。陪審團的裁決：無罪。<i>（洛杉磯高級法院，康普頓法院大樓）</i></a>"  
messages[3]="<a href='types.html#4' class='linknews'>劫案：我的當事人和兩個朋友被控毆打及強制他人身體並偷竊錢包。我的當事人正面臨5年監禁。我為他的辯護是身份被誤認。 陪審團判決：無罪。<i>（洛杉磯高級法院，刑事法院大樓）</i></a>"  
messages[4]="<a href='types.html#5' class='linknews'>特殊情況下謀殺案的審判：我的當事人被控在搶劫過程中謀殺一名婦女。如果罪名成立，他將面臨終身監禁不能假釋。經過數月的審判，陪審團懸判. 此後，地區檢察官同意了合理的調停並遠低於早期的要求。<i>（河濱法院大樓）</i></a>"
messages[5]="<a href='types.html#6' class='linknews'>槍擊汽車並非法揮舞槍械：我的當事人是一名著名醫生，是夜一名醉酒司機駕車撞入我當事人的住宅。我當事人向他舉槍，並命令他躺在地上。司機拒絕，我當事人向車開槍。陪審團判決：無罪。<i>（柑橘法院大樓，西科紋納市）</i></a>"
messages[6]="<a href='types.html#7' class='linknews'>虐待配偶：我的當事人為一名警務人員，他被指控拳打妻子。妻子馬上到當地警察部門報案，並發表了冗長的錄像聲明。我的當事人聲稱一切只是妻子捏造為他有外遇的行為泄憤。陪審團判決：無罪。<i>（桔梗法院大樓）</i></a>"
messages[7]="<a href='types.html#8' class='linknews'>虐待配偶：我的當事人被控在得知妻子與鄰居有染後毆打妻子。我為他辯護，妻子只是編造故事以擺脫丈夫來達到與鄰居結婚的自由。在證人席上，妻子編造鄰居給予她戒指的謊話，後來在面對證據的指控，妻子不得承認一切只是謊話。陪審團判決：無罪。<i>（阿罕布拉法院大樓）</i></a>"
messages[8]="<a href='types.html#9' class='linknews'>移民欺詐陰謀：我的當事人被控協助及教唆他人進行移民欺詐。有證據表明，她會見了受害者和接受了 他們的金錢。她聲稱自己只是公司的一名會計師，對公司內部的運作業務並不知情。法官駁回案子提交給陪審團。<i>（洛杉磯高級法院，帕薩迪納法院大樓）</i></a>"
messages[9]="<a href='types.html#10' class='linknews'>酒後駕駛：我的當事人被起訴駕駛時血液中酒精含量超過法定限額。脫罪辯護: 警方在初步拘留時並沒有遵守其規定給予15分鐘等候才進行呼氣測試。陪審團判決：無罪。（比佛利山莊法院大樓）<br><br> 同上案子之當事人數年後再次涉嫌酒後駕駛。這一次，他被提取了尿液樣本並驗出血液酒精含量為0.14％。脫罪辯護: 尿液測試本身之性質存在問題。陪審團懸判，法庭駁回了該案。<i>（托倫斯法院大樓）</i></a>"
messages[10]="<a href='types.html#11' class='linknews'>高額盜竊：我的當事人被控在一大型百貨公司假裝購買數百美元的商品, 與收銀員合謀﹐假做收據並將商品袋裝。 脫罪辯護: 當事人並不知道收銀員沒有正式將商品入單。 陪審團懸判，法庭駁回此案<i>（托倫斯法院大樓）</i></a>"
messages[11]="<a href='types.html#12' class='linknews'>小額盜竊/偷竊：我的當事人在離開一家大百貨商店時被保安於5英尺外拘留，地理位置仍處於大購物商場內。我當事人正背著一包被盜竊的商品。他聲稱是因為他的年幼的孩子離開了他的視線範圍內﹐他過於驚惶失措才步出了百貨商店。他的孩子在鄰進的寵物商店尋回。 檢察官認為我的當事人是有計劃布署此事件。陪審團的裁決：無罪<i>（洛杉磯高級法院，刑事法院大樓）</i></a>"

///////Do not edit pass this line///////////////////////

var ie=document.all
var dom=document.getElementById

if (messages.length>2)
i=2
else
i=0

function move(whichdiv){
tdiv=eval(whichdiv)
if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5){
tdiv.style.top=0+"px"
setTimeout("move(tdiv)",scrollerdelay)
setTimeout("move2(second2_obj)",scrollerdelay)
return
}
if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){
tdiv.style.top=parseInt(tdiv.style.top)-5+"px"
setTimeout("move(tdiv)",50)
}
else{
tdiv.style.top=parseInt(scrollerheight)+"px"
tdiv.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function move2(whichdiv){
tdiv2=eval(whichdiv)
if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5){
tdiv2.style.top=0+"px"
setTimeout("move2(tdiv2)",scrollerdelay)
setTimeout("move(first2_obj)",scrollerdelay)
return
}
if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){
tdiv2.style.top=parseInt(tdiv2.style.top)-5+"px"
setTimeout("move2(second2_obj)",50)
}
else{
tdiv2.style.top=parseInt(scrollerheight)+"px"
tdiv2.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function startscroll(){
first2_obj=ie? first2 : document.getElementById("first2")
second2_obj=ie? second2 : document.getElementById("second2")
move(first2_obj)
second2_obj.style.top=scrollerheight
second2_obj.style.visibility='visible'
}

if (ie||dom){
document.writeln('<div id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden;background-color:'+scrollerbgcolor+' ;background-image:url('+scrollerbackground+')">')
document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0px;top:0px">')
document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:0px;top:1px;">')
document.write(messages[0])
document.writeln('</div>')
document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0px;top:0px;visibility:hidden">')
document.write(messages[dyndetermine=(messages.length==1)? 0 : 1])
document.writeln('</div>')
document.writeln('</div>')
document.writeln('</div>')
}

if (window.addEventListener)
window.addEventListener("load", startscroll, false)
else if (window.attachEvent)
window.attachEvent("onload", startscroll)
else if (ie||dom)
window.onload=startscroll

