function reloadCombo(sCombo,sParent)
{
	var theCombo = window.document.getElementById(sCombo);
	var theIframe = window.document.getElementById('ifr_'+sCombo+'_loader');
	// Al combo le pongo titulo de "cargando"
	combo_clear(theCombo);
	combo_addItem(theCombo,'Loading...','Loading...');
	// Extra items?
	var sExtraItems = '';
	if (theIframe.getAttribute("ldrExtraItems")!='')
	{
		sExtraItems = '&extraitems='+theIframe.getAttribute("ldrExtraItems");
	}
	// Callback function?
	var sCallback = '';
	if (theIframe.getAttribute("ldrCallback")!='')
	{
		sCallback = '&callback='+theIframe.getAttribute("ldrCallback");
	}
	// El random del final es para que no cachee la pagina localmente
	theIframe.src = 'combo_loader.asp?combo='+sCombo+'&loader='+theIframe.getAttribute("ldrLoader")+'&parent='+sParent+'&title='+theIframe.getAttribute("ldrTitle")+'&emptytitle='+theIframe.getAttribute('ldrEmptyTitle')+sExtraItems+sCallback+'&trash='+Math.random()*4;
}

function clearCombo(sID)
{
	combo_clear(window.document.getElementById(sID));
}

function addItemCombo(sID,key,value)
{
	combo_addItem(window.document.getElementById(sID),key,value);
}