var Common = {};

/*
* Common variables
*/
Common.BaseUrl 						 			= "http://" + location.hostname + "/";
Common.MediaUrl						 			= Common.BaseUrl.replace('www','medias');
Common.ScriptsUrl								= Common.BaseUrl.replace('www','scripts');

Common.IndependentSetPrimaryMediaUrl 			= Common.BaseUrl + "gallery/PhotoAlbumController/SetMediaToPrimary";

Common.AudioDeleteUrl				 			= Common.BaseUrl + "gallery/AudioAlbumController/DeleteMedia";
Common.AudioLimitUrl				 			= Common.BaseUrl + "gallery/AudioUploadController/IsMediaLimitReached";
Common.AudioReorderUrl				 			= Common.BaseUrl + "gallery/AudioAlbumController/ReorderMedia";
Common.AudioUpdateCaptionUrl		 			= Common.BaseUrl + "gallery/AudioAlbumController/UpdateMediaCaption";
Common.CheckSessionUrl               			= Common.BaseUrl + "IndependentController/CheckSession";
Common.PhotoDeleteUrl				 			= Common.BaseUrl + "gallery/PhotoAlbumController/DeleteMedia";
Common.PhotoLimitUrl				 			= Common.BaseUrl + "gallery/PhotoUploadController/IsMediaLimitReached";
Common.PhotoReorderUrl				 			= Common.BaseUrl + "gallery/PhotoAlbumController/ReorderMedia";
Common.PhotoUpdateCaptionUrl		 			= Common.BaseUrl + "gallery/PhotoAlbumController/UpdateMediaCaption";
Common.VideoDeleteUrl				 			= Common.BaseUrl + "gallery/VideoAlbumController/DeleteMedia";
Common.VideoLimitUrl				 			= Common.BaseUrl + "gallery/VideoUploadController/IsMediaLimitReached";
Common.VideoReorderUrl				 			= Common.BaseUrl + "gallery/VideoAlbumController/ReorderMedia";
Common.VideoUpdateCaptionUrl		 			= Common.BaseUrl + "gallery/VideoAlbumController/UpdateMediaCaption";

Common.ScheduleDeleteUrl			 			= Common.BaseUrl + "services/ScheduleController/DeleteSchedules";
Common.AddScheduleLink				 			= Common.BaseUrl + "services/ScheduleController/Submit";

// ServiceLocationsController Urls
Common.ServiceLocationDeleteUrl 	 			= Common.BaseUrl + "services/ServiceLocationsController/DeleteServiceLocation";
Common.ServiceLocationSubmitUrl 	 			= Common.BaseUrl + "services/ServiceLocationsController/Submit";
Common.SaveDefaultInCallLocation 	 			= Common.BaseUrl + "services/ServiceLocationsController/SaveDefaultInCallLocation";
Common.ServiceLocationEditForm 		 			= Common.BaseUrl + "services/ServiceLocationsController/DisplayEditInCallServiceLocationForm/";
Common.ServiceLocationAddForm 		 			= Common.BaseUrl + "services/ServiceLocationsController/DisplayAddInCallServiceLocationForm";
Common.GetOutCallServiceLocationsForTreeView 	= Common.BaseUrl + "services/ServiceLocationsController/GetOutCallServiceLocationsForTreeView";
Common.SaveAllOutCallServiceLocations 			= Common.BaseUrl + "services/ServiceLocationsController/SaveAllOutCallServiceLocations";
Common.SaveOutCallServiceLocations 				= Common.BaseUrl + "services/ServiceLocationsController/SaveOutCallServiceLocations";
Common.ServiceLocationCitiesUrl      			= Common.BaseUrl + "services/ServiceLocationsController/GetCities";

// Service Offered Urls
Common.ServicesOfferedDeleteUrl		 			= Common.BaseUrl + "services/ServicesOfferedController/DeleteService";
Common.StandardServiceFormValues	 			= Common.BaseUrl + "services/ServicesOfferedController/GetServicesFormValues";
Common.AddServicesOfferedLink		 			= Common.BaseUrl + "services/ServicesOfferedController/Submit";

Common.ServicesOfferedStandardAddForm 			= Common.BaseUrl + "services/ServicesOfferedController/DisplayAddStandardServiceForm";
Common.ServicesOfferedSubmitUrl					= Common.BaseUrl + "services/ServicesOfferedController/Submit";
Common.ServicesOfferedStandardEditForm 		 	= Common.BaseUrl + "services/ServicesOfferedController/DisplayEditStandardServiceForm/";
Common.ServicesOfferedDeleteUrl		 			= Common.BaseUrl + "services/ServicesOfferedController/DeleteService";
Common.ServicesOfferedAdditionalAddForm 		= Common.BaseUrl + "services/ServicesOfferedController/DisplayAddAdditionalServiceForm";
Common.ServicesOfferedAdditionalEditForm 		= Common.BaseUrl + "services/ServicesOfferedController/DisplayEditAdditionalServiceForm/";
