theName  = "refloc";
document.cookie = theName + "="+escape(document.location) + "; path=/";