function ShowImage(el, upload, lang, other){
	var img=document.getElementById(el);
	var cresult;
	
	if (upload=='') {
		img.src='/web/sources/img/001x001.gif';
	} else {
		var xmlHttpReq = false;
		// Mozilla/Safari
		if (window.XMLHttpRequest) {
			xmlHttpReq = new XMLHttpRequest();
		}
		// IE
		else if (window.ActiveXObject) {
			xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
		}
		xmlHttpReq.open('POST', '/web/getupload.asp', true);
		xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
		xmlHttpReq.onreadystatechange = function() {
			if (xmlHttpReq.readyState == 4) {
				cresult = xmlHttpReq.responseText;
				cresult = cresult.split('|');
				img.src=cresult[0];
				img.width=cresult[1];
				img.height=cresult[2];
			}
		}
		xmlHttpReq.send('id='+upload+'&lang='+lang+'&other='+other);
	}
}

function isOther(index) {
	if (index == "other") {
		document.getElementById('specify').className = 'show';
	}else{
		document.getElementById('specify').className = 'hidden';
	}
}
