function off(){
				document.getElementById("envio1").style.backgroundImage = "url('img/envoff_08.gif')";
				document.getElementById("envio2").style.backgroundImage = "url('img/envoff_03.jpg')"; 					 
				document.getElementById("envio3").style.backgroundImage = "url('img/envoff_07.jpg')";
				document.getElementById("envio_usuario").style.backgroundImage = "url('img/envoff_06.gif')";				
				document.getElementById("envio_password").style.backgroundImage = "url('img/envoff_13.gif')";
				document.getElementById("e_boton").src = "img/envoff_17.gif";				
	}

function on(){
				document.getElementById("envio1").style.backgroundImage = "url('img/envon_13.gif')";
				document.getElementById("envio2").style.backgroundImage = "url('img/envon_06.jpg')"; 
				document.getElementById("envio3").style.backgroundImage = "url('img/envon_14.jpg')";
				document.getElementById("envio_usuario").style.backgroundImage = "url('img/envon_11.gif')";
				document.getElementById("envio_password").style.backgroundImage = "url('img/envon_18.gif')";				
				document.getElementById("e_boton").src = "img/envon_22.gif";
	}
	
function off2(){
				document.getElementById("status1").style.backgroundImage = "url('img/staoff_20.jpg')";
				document.getElementById("status2").style.backgroundImage = "url('img/staoff_16.jpg')"; 					 
				document.getElementById("status3").style.backgroundImage = "url('img/staoff_21.jpg')";
				document.getElementById("status_orden").style.backgroundImage = "url('img/staoff_18.gif')";
				document.getElementById("status_cliente").style.backgroundImage = "url('img/staoff_25.gif')";
				document.getElementById("e_boton2").src = "img/staoff_29.gif";				
	}

function on2(){
				document.getElementById("status1").style.backgroundImage = "url('img/staon_20.jpg')";
				document.getElementById("status2").style.backgroundImage = "url('img/staon_16.jpg')"; 					 
				document.getElementById("status3").style.backgroundImage = "url('img/staon_21.jpg')";
				document.getElementById("status_orden").style.backgroundImage = "url('img/staon_18.gif')";
				document.getElementById("status_cliente").style.backgroundImage = "url('img/staon_25.gif')";
				document.getElementById("e_boton2").src = "img/staon_29.gif";
	}
function enviar_on(){
				document.getElementById("conta_boton").src = "img/conta__07.gif";
	}
function enviar_off(){
				document.getElementById("conta_boton").src = "img/conta_07.gif";
	}
	
function recomendar_on(){
				document.getElementById("reco_boton").src = "img/button_recomendar_.jpg";
	}
function recomendar_off(){
				document.getElementById("reco_boton").src = "img/button_recomendar.jpg";
	}
	
function preloader() 
{
         
	 Pic = new Array();     
	 Pic[0]="img/envon_13.gif";     
	 Pic[1]="img/envon_06.jpg";     
	 Pic[2]="img/envon_14.jpg";    
	 Pic[3]="img/envon_11.gif";
	 Pic[4]="img/envon_18.gif";
	 Pic[5]="img/envon_22.gif";
	 Pic[6]="img/staon_20.jpg";
	 Pic[7]="img/staon_16.jpg";
	 Pic[8]="img/staon_21.jpg";
	 Pic[9]="img/staon_18.gif";
	 Pic[10]="img/staon_25.gif";
	 Pic[11]="img/staon_29.gif";
	 Pic[12]="img/conta__07.gif"; 
     
	 var p = Pic.length;
	 var i = 0;
	 imageObj = new Array();
	 for(i=0; i<=p; i++)    
	 {          
	 	imageObj[i] = new Image();
		imageObj.src = Pic[i];
	}
}
function mostrar( whichLayer )
{  
	var elem, vis;  
	if( document.getElementById ) // this is the way the standards work    
	elem = document.getElementById( whichLayer );  else if( document.all ) // this is the way old msie versions work      
	elem = document.all[whichLayer];  else if( document.layers ) // this is the way nn4 works    
	elem = document.layers[whichLayer];  vis = elem.style;  
	// if the style.display value is blank we try to figure it out here  
	if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)    
	vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';  
	vis.display = (vis.display==''||vis.display=='block')?'none':'block';

}