
            $(function() {

               //jQuery.noConflict();

                //run the currently selected effect
                function runEffect(effects){
                    //get effect type from
                    var selectedEffect = effects;

                    //most effect types need no options passed by default
                    var options = {};

                    //run the effect
                    jQuery("#cform").effect(selectedEffect,options,750,callback);
                };

                //callback function to bring a hidden box back
                function callback(){
                    
                    setTimeout(function(){
                        jQuery("#cform:hidden").removeAttr('style').hide().fadeOut();
                    }, 100);
                     jQuery("#email").focus();
                };

                //set effect from select menu value
                jQuery("#show").click(function() {
                    //$("#cform").fadeIn();
                   jQuery("#show").hide();
                    runEffect('slide');
                    return false;
                });
                jQuery(".close").click(function(){
                    runEffect('drop');
                    jQuery("#show").show();
                    //return false;
                });	});




