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' : 'Planet Earth - There are more than 15 million children orphaned as a result of Aids', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'United States - $10 billion is spent annual on pet food\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Somalia - In Puntland almost 1/4 of all women have experienced sexual abuse', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'United Kingdom - Blackpool generates more tourist income than all the Greek Islands and mainland Greece combined\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Sudan - Men can now be fined for marrying schoolgirls which previously was not outlawed', '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' : 'Ethiopia - 85% of the population of Addis Ababa live in slum conditions\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Iran - Tehran has the lowest cost of living making it the cheapest city to live\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Planet Earth - 700\,000 women and children are trafficked between boarders every year\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'United States - $20 billion is spent annually on cosmetics', 'pause_b' : 2, 'pause_a' : 1 } ];