$.fn.cycle.defaults.timeout = 6000;
$(function() {
    // run the code in the markup!
    $('table pre code').not('#skip,#skip2').each(function() {
        eval($(this).text());
    });
    
    $('#s4').before("<div id='nav' class='nav'>").cycle({
        fx:     'zoom',
        speed:  'fast',
        timeout: 5000,
        pager:  '#nav'
    });
});

function onBefore() {
    $('#output').html("Scrolling image:<br/>" + this.src);
    //window.console.log(  $(this).parent().children().index(this) );
}
function onAfter() {
    $('#output').html("Scroll complete for:<br/>" + this.src)
        .append('<h3>' + this.alt + '</h3>');
}



//função que limpa o dominio
         function veri() {
			asd = document.getElementById('domain').value;
			 
				if( asd == 'Digite sem www' ) 
				{
					document.getElementById('domain').value = "";
				}	
			}
			
//função que não deixa sair em branco
	
		function vazio(){
		asd = document.getElementById('domain').value;
		  if ((asd == "") || (asd == "Digite sem www"))
		  {
		  alert('Você deve informar o Domínio.');
		  document.getElementById('domain').focus();      
		  return (false); 
			  }
		   
		return (true);	
		}
