function show(id){  
	document.all[id].style.visibility='visible';
	
}
function hide(id){
	document.all[id].style.visibility='hidden';
}

function LoadPage(pagis,rand) {
	node = document.getElementById('contento');
	
	var req = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP");
	req.onreadystatechange = function() {
		if (req.readyState == 4) {
			node.innerHTML=req.responseText;
			
		}
	}
	req.open("GET", '/ajax/core/load.php?pagis='+pagis+'&SIDR='+rand, true);
	req.send(null);
}
function LoadPageUZ(pagis,rand) {
	node = document.getElementById('contento');
	
	var req = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP");
	req.onreadystatechange = function() {
		if (req.readyState == 4) {
			node.innerHTML=req.responseText;
		}
	}
	req.open("GET", '/ajax/core_uz/load.php?pagis='+pagis+'&SIDR='+rand, true);
	req.send(null);
}
function LoadPageEN(pagis,rand) {
	node = document.getElementById('contento');
	
	var req = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP");
	req.onreadystatechange = function() {
		if (req.readyState == 4) {
			node.innerHTML=req.responseText;
		}
	}
	req.open("GET", '/ajax/core_en/load.php?pagis='+pagis+'&SIDR='+rand, true);
	req.send(null);
}

function calcSHOWdata(vid,x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,rand) {
	node = document.getElementById('contentCALC');
	
	var req = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP");
	req.onreadystatechange = function() {
		if (req.readyState == 4) {
			node.innerHTML=req.responseText;
		}
	}
	req.open("GET", '/ajax/core/calcAJAX.php?vid='+vid+'&x1='+x1+'&x2='+x2+'&x3='+x3+'&x4='+x4+'&x5='+x5+'&x6='+x6+'&x7='+x7+'&x8='+x8+'&x9='+x9+'&x10='+x10+'&x11='+x11+'&x12='+x12+'&x13='+x13+'&x14='+x14+'&SIDR='+rand, true);
	req.send(null);
}

function showNEWS (chose1,mesac,rand){
	node = document.getElementById('novosti_content');
	
	var req = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP");
	req.onreadystatechange = function() {
		if (req.readyState == 4) {
			node.innerHTML=req.responseText;
		}
	}
	req.open("GET", '/ajax/core/novosti.php?chose1='+chose1+'&mesacoc='+mesac+'&SIDR='+rand, true);
	req.send(null);
}
function showNEWSuz (chose1,mesac,rand){
	node = document.getElementById('novosti_content');
	
	var req = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP");
	req.onreadystatechange = function() {
		if (req.readyState == 4) {
			node.innerHTML=req.responseText;
		}
	}
	req.open("GET", '/ajax/core_uz/novosti.php?chose1='+chose1+'&mesacoc='+mesac+'&SIDR='+rand, true);
	req.send(null);
}
function showNEWSen (chose1,mesac,rand){
	node = document.getElementById('novosti_content');
	
	var req = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP");
	req.onreadystatechange = function() {
		if (req.readyState == 4) {
			node.innerHTML=req.responseText;
		}
	}
	req.open("GET", '/ajax/core_en/novosti.php?chose1='+chose1+'&mesacoc='+mesac+'&SIDR='+rand, true);
	req.send(null);
}