Facebook Connect and Share - Dynamically identify the domain name and  change the appropriate appid for facebook