    jQuery(function () {
        jQuery('marquee').marquee('pointer').mouseover(function () {
            jQuery(this).trigger('stop');
        }).mouseout(function () {
            jQuery(this).trigger('start');
        }).mousemove(function (event) {
            if (jQuery(this).data('drag') == true) {
                this.scrollLeft = jQuery(this).data('scrollX') + (jQuery(this).data('x') - event.clientX);
            }
        }).mousedown(function (event) {
            jQuery(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft);
        }).mouseup(function () {
            jQuery(this).data('drag', false);
        });
    });
	
	
	


jQuery(document).ready(function(){

	var z = "0";
	
		function validfield(id){
			
			jQuery(id).removeClass("red");
		
			if(jQuery(id).val() == ''){
				jQuery(id).addClass("redb");
				jQuery(id).focus();
				z = "1";
				/*return false;*/
			}
		}	


	jQuery('#contact').submit(function() {

		z = "0";
		
		validfield('#telephone');
		validfield('#sname');
		validfield('#fname');

			if(z == "1"){
				return false;
			}
		
	});

});
