document.ns = navigator.appName == "Microsoft Internet Explorer"
function randomStr(str){
	var showId=Math.floor(Math.random()*9);
	var tempStr=str[showId];
	str[showId]=str[0];
	str[0]=tempStr;
}
function showStr(str,textWidth,num){
	if(!document.ns){document.write(str[0]+'<br>')}
	else{
		document.write('<table border=0 cellspacing=0 cellpadding=0>'
		+'<tr><td>'
		+'<div id="icefable1'+num+'">'
		+'<table height=20 width='+textWidth * 10+' border=0 cellspacing=0 cellpadding=0><tr>'
		+'<td height=20 width=560 class="style2">'+str[0]+'</td>'
		+'<td height=20 width=560 class="style2">'+str[1]+'</td>'
		+'<td height=20 width=560 class="style2">'+str[2]+'</td>'
		+'<td height=20 width=560 class="style2">'+str[3]+'</td>'
		+'<td height=20 width=560 class="style2">'+str[4]+'</td>'
		+'<td height=20 width=560 class="style2">'+str[5]+'</td>'
		+'<td height=20 width=560 class="style2">'+str[6]+'</td>'
		+'<td height=20 width=560 class="style2">'+str[7]+'</td>'
		+'<td height=20 width=560 class="style2">'+str[8]+'</td>'
		+'<td height=20 width=560 class="style2">'+str[9]+'</td>'
		+'</tr></table>'
		+'</div>'
//		+'<div id="icefable2'+num+'" style="position:absolute;z-index:1;visibility:hidden"></div>'
		+'</td></tr>'
		+'</table>');
	}
}
function init_srolltext(num){
countnum=0
marqueesHeight=5;
eval('stopscroll'+num+'=false;')
eval('icefable1'+num+'.scrollLeft=0;')
rotatenum=0
eval('icefable1'+num+'.style.width=560;')
eval('icefable1'+num+'.style.height=0;')
eval('icefable1'+num+'.style.overflowX="hidden";')
eval('icefable1'+num+'.style.overflowY="visible";')
eval('icefable1'+num+'.noWrap=true;')
eval('icefable1'+num+'.onmouseover=new Function("stopscroll=true");')
eval('icefable1'+num+'.onmouseout=new Function("stopscroll=false");')
eval('preTop'+num+'=0; ')
eval('currentTop'+num+'=0;')
eval('stoptime'+num+'=0;')
//eval('icefable2'+num+'.innerHTML="";')
//eval('icefable2'+num+'.innerHTML+=icefable1'+num+'.innerHTML;')  
//eval('icefable1'+num+'.innerHTML=icefable2'+num+'.innerHTML+icefable2'+num+'.innerHTML;')  
eval('setInterval("scrollUp'+num+'()",20);') 
}
function scrollUp1(){
  if(stopscroll1==true) return;
  currentTop1+=1;
//	  window.status=icefable11.scrollLeft;
//  window.alert(currentTop1);
  if(currentTop1==560/2+1){
  	stoptime1+=1;
  	currentTop1-=1;
  	if(stoptime1==120){
  		currentTop1=0;
  		stoptime1=0;
  	}
  }else{
	  preTop1=icefable11.scrollLeft;
	  icefable11.scrollLeft+=2;
	  if(icefable11.scrollLeft==560*9){
	    preTop1=0; currentTop1=0; stoptime1=0;icefable11.scrollLeft=0;
	  }
  }
}
var strArray1=new Array();
strArray1[0]=''
strArray1[1]='<strong><Font color=#FF0000>FACT</Font></strong>: Employee theft accounts for 47% ($14.6 billion) of all retail losses in the United States'
strArray1[2]='<strong><Font color=#FF0000>FACT</Font></strong>: Shoplifting accounts for 34% ($10.5 billion) of all retail losses in the United States'
strArray1[3]='<strong><Font color=#FF0000>FACT</Font></strong>: Approximately 30% of shoplifting that occurred in 2004 was due to organized retail crime'
strArray1[4]='<strong><Font color=#FF0000>FACT</Font></strong>: 31,690 burglaries were reported by law enforcement agencies in Colorado in 2004'
strArray1[5]='<strong><Font color=#FF0000>FACT</Font></strong>: Burglaries accounted for 52.5% of the major offenses reported in Colorado in 2004'
strArray1[6]='<strong><Font color=#FF0000>FACT</Font></strong>: 60% of burglaries occur while the home is occupied'
strArray1[7]='<strong><Font color=#FF0000>FACT</Font></strong>: In 2004, more than 2,700 burglaries were reported along the Front Range'
strArray1[8]='<strong><Font color=#FF0000>FACT</Font></strong>: In 2004, the Denver PD reported a total of 7,322 burglaries, 4,296 of which were forced entry'
strArray1[9]='<strong><Font color=#FF0000>FACT</Font></strong>: In 2004, retailers lost $31 billion in total inventory'
//randomStr(strArray1);
showStr(strArray1,560,1);
init_srolltext(1);
