&adsid=1878&accesscheck=my_Send.php?company_name= &adsid=1878'; } else{ location.href='freeadvertisers-5-B- -1878.html'; } }else{ location.href='my_Send.php?company_name= &adsid=1878'; } }); $( "#dialog-modal2" ).dialog({ autoOpen: false, height: 600, width:670, modal: true }); $(".map_set") .button() .click(function() { $( "#dialog-modal2" ).dialog( "open" ); }); });