function statusLabelObj(){
	this.label = "Status label";
	this.text = "Status text";
	this.tipo = false;
	this.cor = "#000000";
	this.display = displayLabelObj;
  this.show = showStatusObj;
  this.load = loadStatus;
}

var status = new statusLabelObj();

function displayLabelObj(){
		setStatusLabel( this.label );
}

function showStatusObj(){
    showStatus( this.tipo, this.cor, this.label, false );
}

function setStatusLabel( message ){
	try{
		label = top.innerFrame.document.getElementById('statusText');
		label.innerHTML = message;
	}catch( ignore ){};
}



function loadStatus(){
    if ( document.all )
    parent.serverFrame.location = "../checkCurriculoJs.asp";
  else
    parent.serverFrame.location = "checkCurriculoJs.asp";
}

function showStatus(tipo,cor,msg,tempo)
{
	/*top.innerFrame.document.getElementById("statusBar").style.display="block";
	top.innerFrame.document.getElementById("statusText").style.color=cor;
	top.innerFrame.document.getElementById("statusText").innerHTML=msg;
    if ( tipo )
        top.innerFrame.document.getElementById("statusIco").src="../images/ico_"+tipo+".gif";
	if (tempo){
		tempo = tempo * 1000;
		if(acao)
		{
			clearTimeout(acao)
		}else{
			acao = setTimeout(hideStatus,tempo);
		}
	}*/
}
function hideStatus()
{
	//top.frames['innerFrame'].document.getElementById("statusBar").style.display="none";
}