jQuery(window).load(function() {

	//Language Dropdown : start
			var getLanguageText = jQuery("#"+languageValue).html();
			//get the label of the active language
			
			jQuery(".languageSelector #selected").html(getLanguageText);
			//set the name of the language to the 1st element in the list
			
			jQuery(".languageSelector #selected").val(jQuery("#"+languageValue).val());	
			//set the value (correct page link) of the 1st item in the list containing the active language
			
			jQuery("#"+languageValue).remove();
			//remove the double value within the lest containing the active language 
			
			jQuery(".languageSelector").wijdropdown();
			//set widget		
	//Language Dropdown : end
	
});



//change language here
function dropdownTrigger(getVal) {
	window.location = getVal.toLowerCase();
}
var languageValue;
function setLanguage(getVal) {
	languageValue = getVal;	
}

