// JavaScript Document
function previousPage (str) {
				 	if(str.indexOf('francais') != -1){// French page
						if(str.indexOf('index') != -1){
							return 'f_home';
						}
						else if (str.indexOf('who_we_are') != -1){
							return 'f_about';
						}
						else if (str.indexOf('services_offered') != -1){
							return 'f_services';
						}
						else if (str.indexOf('what_we_do') != -1){
							return 'f_case';
						}
						else if (str.indexOf('media_library') != -1){
							return 'f_media';
						}
						else if (str.indexOf('news') != -1){
							return 'f_news';
						}
						else if (str.indexOf('contact_info') != -1){
							return 'f_contact';
						}
						else if (str.indexOf('contact_careers') != -1){
							return 'f_careers';
						}
					}
					
					else {//English page
						if(str.indexOf('index') != -1){
							return 'home';
						}
						else if (str.indexOf('who_we_are') != -1){
							return 'about';
						}
						else if (str.indexOf('services_offered') != -1){
							return 'services';
						}
						else if (str.indexOf('what_we_do') != -1){
							return 'case';
						}
						else if (str.indexOf('media_library') != -1){
							return 'media';
						}
						else if (str.indexOf('news') != -1){
							return 'news';
						}
						else if (str.indexOf('contact_info') != -1){
							return 'contact';
						}
						else if (str.indexOf('contact_careers') != -1){
							return 'careers';
						}
					}
				 }