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 - 11 billion mobile phones are manufactured each year', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Planet Earth - Biologically once we are born\, although still growing\, our body begins it\'s own destruction\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'United Kingdom - There are more free range hens than anywhere else in Europe', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'United Kingdom - 480\,000 tonnes of CO2 is emitted from power stations to provide the power to keep TV\'s on standby every year\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'East Africa - Monkeys and baboons have been targeting food trucks to steal supplies\, hiding around road intersections and bridges\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'United States - 686 per 100\,000 people are prisoners\, the highest prison population in the world\.', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Russia - First country to abolish capital punishment', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Planet Earth - 2 biilion poeple do not have access to electricity', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'Planet Earth - Half of the worlds hospital beds are occupied by people suffering from water related diseases', 'pause_b' : 2, 'pause_a' : 1 }, { 'file' : '', 'content' : 'United States - 700\,000 people are without shelter every night\.', 'pause_b' : 2, 'pause_a' : 1 } ];