var Tscr_LOOK = { // scroller box size: [width, height] 'size' : [540, 18], // a length of a gap between two neighboring items, pixels 'distance' : 40, //'item_w' : 1000, // css classes for for item text 's_i':'TScrItem1', // css classes for for scroller box 's_b':'TScrBody1', // image for 'pause' control (autoscroll mode only) // [left, top, width, height, sorce_file, mouseover_sorce_file] //'pa' : [360, 2, 16, 16,,'tsp_files/pixel.gif'], // image for 'resume' control (autoscroll mode only) // [left, top, width, height, sorce_file, mouseover_sorce_file] //'re' : [360, 2, 16, 16,,'tsp_files/pixel.gif'], // image for 'next item' control (autoscroll mode only) // [left, top, width, height, sorce_file, mouseover_sorce_file] 'nx' : [520, 2, 16, 16, ,'tsp_files/nxt.gif'], // image for 'previous item' control (autoscroll mode only) // [left, top, width, height, sorce_file, mouseover_sorce_file] 'pr' : [500, 2, 16, 16,,'tsp_files/prv.gif'] }, Tscr_BEHAVE = { // if scrolling mode is auto (true / false); 'auto' : true, // if scrolling direction is vertical (true / false, false means horisontal) 'vertical' : false, // scrolling speed, pixels per 50 miliseconds; // for auto mode use negative value to reverse scrolling direction 'speed' : 1, 'interval' : 20, 'zindex':1, // buttons visible on mouse over - true, always visible - false 'hide_buttons' : false }, // a data to build scroll window content Tscr_ITEMS = [ { // file to get content for item from; if is set 'content' property doesn't matter // only body of HTML document is taken to become scroller item content // note: external files require time for loading // it is RECOMMENDED to use content property to speed loading up // doesn't work in Opera 'file': '', // string to be displayed as item content, // is RECOMMENDED to be used as an alternative to 'file' property 'content': '
Did you know?<\strong>
', // pause duration when item top gets top of the scroller box, seconds // ignored in on-demand mode while scrolling forward 'pause_b': 3, // pause duration when item top gets top of the scroller box, seconds // ignored in on-demand mode while scrolling forward 'pause_a': 0 }, { 'file' : '', 'content' : 'Sri Lanka - 800\,000 people are currently internally displaced', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Ethiopia - 85% of the population of Addis Ababa live in slum conditions\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Qatar - is the largest consumption of energy per head of population\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Brazil \: A forest the size of 2\.5 football pitches is deystroyed every minute\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Planet Earth \: 8% of domestic electricity consumtion is from appliances on standby causing 4 million tonnes of carbon dioxide pollution\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'United Kingdom - The entire population of the World could stand on the Isle of Wight', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Honduras - has the highest murder rate in the World', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Planet Earth - There are more than 15 million children orphaned as a result of Aids', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Planet Earth - 246 million children work for a living\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Cambodia - under the former Khmer Rouge\, one third of the population were executed\, worked or starved to death\.', 'pause_b' : 2, 'pause_a' : 1 } ];