// JavaScript Document

function include_gmaps_api()
{
        var host, key;

        host = location.host;        

        // The section below manages the keys of a project "foo" which
        // is developed on 'localhost' machines. The project member
        // (Mike, John, and Beckham in this example) can add the Google
        // Maps API key without interference each other. So, the problem
        // you pointed out can be solved by this approach.
        // However, the code below is somewhat ***quick-and-hack***...
        if(host == 'www.visitriccione.com') {
                    key = 'ABQIAAAASzXtXZ2-7vKtnzoswuY6XxS9cC_ATZxu7-R5rlQmbbIzT9w5YxQrIqvEvdtah_3PTy2uNzdifgdy_w';
                }
                
                // If the number of the project member increases, add the code here.

        // In the same way, the section below do the similar job.
        // Notice that each workspace is released on 'www.example.com',
        // not on 'localhost'.
         else if (host == 'www.visitriccione.it') {                
                        key = 'ABQIAAAASzXtXZ2-7vKtnzoswuY6XxSu17ao6rqbgqwnAVRwwsuVtm6e3RR8-vniemFHmrtTVtqw8Oy9Rxg8Gw';
                }
		 else if (host == 'try.visitriccione.com') {                
                        key = 'ABQIAAAAIgfto08pH4pADgzXOCESahRymoZscxlVId3SV5KMyRmUWAoeXhR4IIOwDSNIH1L-8xk_HJvsJkDzGQ';
                }
				
                           
        } 
