
jQuery().ready(function(){

// if( ($('.languageselection') !=null) && ($('#langues') !=null)  ) 
$('.languageselection').clone().appendTo('#langues');


// <div id="ContentLeft"></div>

	if( $('#ContentLeft').html()==''){
		$('#ContentLeft').append("&nbsp;");
		}


	var mysel = $("#nav .paddingDE");
	count=0;
	   for(var i=0; i<mysel.length; i++) {
			 		 
			 		 myclass=".visible_"+i;
			 		 myclasshover="#nav "+myclass+" a.hover";
			 		 myclassul="#nav "+myclass+" ul";
			 		 $(mysel[i]).addClass(myclass);

			 		$(mysel[i]).hover(
    	  				function () {
	        				$("#nav .paddingDE").removeClass("visible");
      	 					$(this).addClass("visible");
      					}
    				);
		
			count++;
		}




/*
		var mycontent = $("#IndustryIndustry option");

	    for(var i=0; i<mycontent.length; i++) {
			
			if (isAlphabetic($(mycontent[i]).text()) == false  ) { 
				$(mycontent[i]).text("S " + $(mycontent[i]).text());
			} else  { 
				$(mycontent[i]).text("Okay " + $(mycontent[i]).text());
			}
		
		}

	var firstoptiontext = $("#IndustryIndustry option:eq(0)").text();
	$("#IndustryIndustry").removeOption(0); 
	$("#IndustryIndustry").sortOptions();
	$("#IndustryIndustry").prepend('<option value="" selected="selected">'+firstoptiontext+'</option>');

*/






});


function isAlphabetic(sText)
{
var ValidChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890";
var IsAlphabetic=true;

	sText = sText.substring(0,1);

   if(sText.match(/\u000e9/g)) 
   return false;

   if(sText.match(/\U000E9/g)) 
   return false;

   if(sText.match(/\u000e9/)) 
   return false;

   if(sText.match(/\U000E9/)) 
   return false;


}


function validate(string){

	var alphanum=/^[0-9a-bA-B]+$/; //This contains A to Z , 0 to 9 and A to B

	// alert(string.substring(0,1));

	if (string.substring(0,1) == " ") {
		string = string.substring(1,2);
	} else {
		string = string.substring(0,1);
	} 

	if (string =="Ž")
	return false;

		/*
	if(string.match(alphanum)){
		return true;
	}else{
		return false;
	}

*/


}
