// JavaScript Document
function informer(num){
	var childs = document.getElementById('topCur').childNodes;
	var contentDiv = document.getElementById('informer');
	for (var i=0;i<2;i++){
		childs[i].style.backgroundColor='#0A4493';
		childs[i].style.backgroundImage='url(../pictures/tabna.gif)';	
	}
	//alert(childs[0]);
	switch(num){
		case 0: {
			childs[0].style.backgroundColor='#a7a9ae';
			childs[0].style.backgroundImage='url(../pictures/tabl.gif)';
			var new_cont = document.getElementById('currency').innerHTML;
			contentDiv.innerHTML=new_cont;
			break;
		}
		case 1:{
			childs[0].style.backgroundImage='url(../pictures/tabr.gif)';
			childs[1].style.backgroundColor='#a7a9ae';
			childs[1].style.backgroundImage='url(../pictures/tabl.gif)';
			var new_cont = document.getElementById('afisha').innerHTML;
			contentDiv.innerHTML=new_cont;
			break;	
		}
		case 2:{
			childs[1].style.backgroundImage='url(../pictures/tabr.gif)';
			childs[2].style.backgroundColor='#a7a9ae';
			childs[2].style.backgroundImage='url(../pictures/tabl.gif)';
			break;
		}
	}
	drawElements();
}
