function FoGScroll(foginit) { 
	if (foginit) { pxmove =1;last=4; document.getElementById("Lga").innerHTML=news[1]; document.getElementById("Lgb").innerHTML=news[2]; document.getElementById("Lgc").innerHTML=news[3];document.getElementById("Lgd").innerHTML=news[4];}
	if (pxmove) {
		posxa -=1; document.getElementById("Lga").style.left=posxa;	if (posxa<=-200) {last=last+1;document.getElementById("Lga").innerHTML=news[last];posxa = 600; }  
		posxb -=1; document.getElementById("Lgb").style.left=posxb;if (posxb<=-200) {last=last+1;document.getElementById("Lgb").innerHTML=news[last];posxb = 600;} 
		posxc -=1; document.getElementById("Lgc").style.left=posxc;if (posxc<=-200) {last=last+1;document.getElementById("Lgc").innerHTML=news[last];posxc = 600; }  
		posxd -=1;  document.getElementById("Lgd").style.left=posxd;if (posxd<=-200) {last=last+1;document.getElementById("Lgd").innerHTML=news[last];posxd = 600;}
		if (last==numnews+1) {last=0;}
	}
	setTimeout("FoGScroll(0)",15); 
} 
function newsmove(data){
	pxmove=data;
}
function GalScroll(a) { vit=6;if (a){vit=stop;document.getElementById("img1").innerHTML=gg[0];document.getElementById("img2").innerHTML=gg[1];}
	imga-=15; document.getElementById("img1").style.left=imga;if (imga<-195) {galerie=galerie+1;imga = 210;vit=stop;document.getElementById("img1").innerHTML=gg[galerie];}  
	imgb-=15; document.getElementById("img2").style.left=imgb;if (imgb<-195) {galerie=galerie+1;imgb = 210;vit=stop;document.getElementById("img2").innerHTML=gg[galerie];}  
	if (galerie> 2) {galerie=-1;}
	setTimeout("GalScroll(0)",vit);
}
function creerArray() {
	this.length = creerArray.arguments.length;
	for (var i = 0; i < this.length; i++) this[i+1] = creerArray.arguments[i];
} 