I use this jquery-ajax script to send email:
$.ajax({ url: process.php, type: \"POST\", data: data, cache: fa
I would be recommended to you use system like Registry for save all "global" values in a one place.
Registry design pattern
There is my small jQuery plugin if this is may be interesting to you. GitHub rep
And to get value from the Registry you must use $.Registry.get('urlMail');