function zero(field){
if (field.defaultValue==field.value)
field.value = ""
}
$(document).ready(function() {
$('#s1')
.after('<div id="imgnav">')
.cycle({
 fx:     'fade',
speed:  400,
next:   '.imgbox',
timeout: 0,
pager:  '#imgnav' 
})

$('#s1 .imgbox')
.css('cursor', 'pointer');

$('#c1')
.after('<div id="imgnav">')
.cycle({
 fx:     'fade',
speed:  400,
next:   '.imgbox',
timeout: 0,
pager:  '#imgnav' 
})

$('.show').hover(
   function() {$(this).addClass('pretty-hover');}, 
   function() {$(this).removeClass('pretty-hover');}
);
$('#c1').hover(
        function() {$('.controls').fadeIn();},
        function() {$('.controls').fadeOut();}
    );
$('#topimage').cycle({ 
fx:     'fade', 
speed:   400,
timeout: 10000, 
delay:  -2000, 
next:   '#homenext', 
prev:   '#homeprev' 
});

});

$(function() {
	$('.imgbox-wrap').fadeIn(1000, function() {$('.imgbox-wrap').cycle();});
});