				var functions_at_load = new Array();
				
				function pushCallableFunction(func,type) {
					if (type=='load') {
						functions_at_load[functions_at_load.length] = func;
					} else {
						eval(func);
					}
				}
				
				function callCallablesFunctions(type) {
					
					if (type == 'load') {
						for (var i = 0 ; i < functions_at_load.length ; i++) {
							//alert(i+":" + functions_at_load[i]);
							eval( functions_at_load[i] );
						}
					}
				}
				function buildBorder(idelt, width,height,img, url, txtup, txtdown,white_green,rounded_left,rounded_right) {
					var divtd = document.getElementById(idelt);
					if (divtd) {
						var html = '<a href="javascript:goToUrl(-1,\''+url+'\')"><img src="'+img+'" border="0"></a>';
						var inner_html = top.buildPopup(width, height, null, html,0,0,'border_' + idelt,0, txtup, txtdown,0,white_green,rounded_left,rounded_right);
						divtd.innerHTML = inner_html;
					}
				}
				
				function loaded() {
					callCallablesFunctions('load');
				}



				var width;
				var move = 5;
				var ProcessId;
				var thisX;
				var thisInterval;
				var i_low = 10;
				var i_high = 10;
				var m_low = 1;
				var m_high =1;				

				function setInterval(interval, mv) {
					thisInterval = interval;
					if (mv)
					  move = mv;
				}
			
				function flashnewsStart() {
					ProcessId = setTimeout( "flashnewsStart()", thisInterval);
					var div = document.getElementById("div_flashnews");
					if (div) {	
						thisX -= move;
						if (thisX < - width) 
							thisX = width;
						if (div.style)  {
						   div.style.left = thisX + "px";
						}
						
					}
				}
				function flashnewsInit() {
					var div = document.getElementById("div_flashnews");
					if (div) {	
						width = thisX = div.offsetWidth;
						thisX = 0;
					}
					ProcessId = setTimeout( "flashnewsStart()", thisInterval);
				}
			
				function flashnewsRestart() {
					flashnewsStop();
					flashnewsStart();
				}
  
				function flashnewsStop()
					{
				  if (ProcessId)
				    clearTimeout(ProcessId);
				  ProcessId = null;
					}

				function setQuickInterval() {
	
				}

				i_low = 20;
				i_high = 10;
				m_low = 1;
				m_high = 0;
			
				
				setInterval(2000,m_low);
				ProcessId = setTimeout( "flashnewsInit()", thisInterval);
				setInterval(i_low,m_low);