function gif_over(src) {
	src.children.tags('IMG')[0].src=src.children.tags('IMG')[0].src.replace('.gif','r.gif');
} 
function gif_out(src) {
	src.children.tags('IMG')[0].src=src.children.tags('IMG')[0].src.replace('r.gif','.gif');
}

function jpg_over(src) {
	src.children.tags('IMG')[0].src=src.children.tags('IMG')[0].src.replace('.jpg','r.jpg');
} 
function jpg_out(src) {
	src.children.tags('IMG')[0].src=src.children.tags('IMG')[0].src.replace('r.jpg','.jpg');
}

function change_bgbot() {
     n = Math.round(Math.random()*6);
     document.all.bots.style.backgroundImage='url("'+imgpath+'bot/bg-bot'+n+'.jpg")';
}

function gif_over1(names) {
	document.images[names].src=document.images[names].src.replace('.gif','r.gif');
} 
function gif_out1(names) {
	document.images[names].src=document.images[names].src.replace('r.gif','.gif');
}

function rnd_index() {
	document.all["liders"+Math.round(Math.random()*2)].style.visibility="visible";
	document.all["new"+Math.round(Math.random()*1)].style.visibility="visible";
};

function rnd() {
	document.all["liders"+Math.round(Math.random()*2)].style.visibility="visible";
};
