jQuery.noConflict();
     
     // Put all your code in your document ready area
     jQuery(document).ready(function($){

         //activate overlay
         $("img[rel]").overlay({api: true, closeOnClick:false, onLoad:showEscape(), close: "#closeBTN"}); 

    	 //var coupon = $("div.simple-overlay").overlay({api: true, closeOnClick:false, onLoad:showEscape(), close: "#closeBTN"}); 
    	 //var couponContent = $("#couponContent").html();
		  
		  function showEscape(){
			  $("#boxMessage").html("<h3>Press your ESCAPE key to return to the site</h3>");
		  };
       // Do jQuery stuff using $
      // $("div#adBanner").hide();
//    	 $(function() {
//    		 
//    			
//
//    				//var dataString = 'name='+ name + '&email=' + email + '&phone=' + phone;
//    				//alert (dataString);return false;
//    				
//	

//    				
//    				
//    			
//    		    	
	
//    		    	
//
//    		    return false;
//    			});
//    		});
    		
    	 var triggers = $("button.modalInput").overlay({ 
    		 
    		    // some expose tweaks suitable for modal dialogs 
    		    expose: { 
    		        color: '#333', 
    		        loadSpeed: 200, 
    		        opacity: 0.9
    		        
    		    }, 
    		 
    		    closeOnClick: false 
    		});
    	 var buttons = $("#yesno button").click(function(e) { 
    	     
    		    // get user input 
    		    var yes = buttons.index(this) === 0; 
    		 
    		    // do something with the answer 
    		    triggers.eq(0).html("You clicked " + (yes ? "yes" : "no")); 
    		});
    	 
    	 $("#prompt form").submit(function(e) { 
    		 
    		    // close the overlay 
    		    triggers.eq(1).overlay().close(); 
    		 
    		    // get user input 
    		    var input = $("input", this).val(); 
    		 
    		    // do something with the answer 
    		    triggers.eq(1).html(input); 
    		 
    		    // do not submit the form 
    		    return e.preventDefault(); 
    		});
    	
     });

