/* Settings  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
smali_h_textscroll_right_to_left = false; // false = to the left, true = to the right
smali_h_textscroll_speed = 1; // The speed of the scroll
smali_h_textscroll_style = 'color:#999'; // style of the text e.g. 'font-family:Arial; font-size:12px; color:#444444'
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
smali_h_textscroll_paused = false; // false = running, true = paused
smali_h_textscroll_content = document.getElementById('smali_h_textscroll').innerHTML;
smali_h_textscroll_start()
function smali_h_textscroll_start() {
	smali_h_textscroll_width = document.getElementById('smali_h_textscroll').style.width;
	document.getElementById('smali_h_textscroll').innerHTML = '<table cellspacing="0" cellpadding="0" width="100%"><tr><td nowrap="nowrap"><span style="'+smali_h_textscroll_style+'" id="smali_h_textscroll_body" width="100%">&nbsp;</span></td></tr></table>';
	document.getElementById('smali_h_textscroll').scrollLeft = smali_h_textscroll_right_to_left ? document.getElementById('smali_h_textscroll').scrollWidth - document.getElementById('smali_h_textscroll').offsetWidth : 0;
	document.getElementById('smali_h_textscroll_body').innerHTML = smali_h_textscroll_content;
	document.getElementById('smali_h_textscroll').style.display = 'block';
	smali_h_textscroll_mover();
}
function smali_h_textscroll_mover() {
	if ( !smali_h_textscroll_paused ) {
		document.getElementById('smali_h_textscroll').scrollLeft += smali_h_textscroll_speed * (smali_h_textscroll_right_to_left ? -1 : 1);
	}
	if ( smali_h_textscroll_right_to_left && document.getElementById('smali_h_textscroll').scrollLeft <= 0 ) {
		document.getElementById('smali_h_textscroll').scrollLeft = document.getElementById('smali_h_textscroll').scrollWidth - document.getElementById('smali_h_textscroll').offsetWidth;
	}
	if ( !smali_h_textscroll_right_to_left && document.getElementById('smali_h_textscroll').scrollLeft >= document.getElementById('smali_h_textscroll').scrollWidth - document.getElementById('smali_h_textscroll').offsetWidth ) {
		document.getElementById('smali_h_textscroll').scrollLeft = 0;
	}
	window.setTimeout( 'smali_h_textscroll_mover()', 30);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */