/*
	$(function() {

$("#accordion").accordion({ 
								  navigation: true,
								  autoHeight: true
								  });
		//$('#id_language_selector').addClass('BlindThis');
		
		/*
		$('#jqfooterWrapper').masonry({ 
							  
							  columnWidth: 200,
							  singleMode: true
							  });
		


	});
*/


function LayerEinblenden(LayerID) {
	
	$("#"+LayerID).animate({
	   "height": "toggle",
	  "show":  "toggle",
	   "top": "0px"
	   }, { duration: 0 }); 
}


/*
function TeaserLayerEinblenden(LayerID) {
	
	$("#"+LayerID).animate({
	  "show":  "toggle",

	   }, { duration: 200 }); 
	
	
}
*/


 
/*function LayerEinblenden(LayerID) {

$("#"+LayerID).show( 
					  
					  "blind","500"
					  
					  
					  
					  
					  );
//$("#PEaccordion").accordion();

//$("#"+LayerID).show("blind",500);		
//$("#PEaccordion").accordion();

	$("#"+LayerID).animate({
		
		"opacity": "100"
						   
//	   "height": "toggle", "top": "toggle"
	   //, "opacity": "toggle"
	}, { duration: 600 }); 

}
*/



//"height": "toggle", , easing: "easeout"


/*
function SetLanguageCookie(countryName) {
	var COOKIE_NAME = 'PEInternational_Actual_Language';
	var options = { path: '/', expires: 0 };
	$.cookie(COOKIE_NAME, countryName, options);
};
*/










function LayerAusblenden(LayerID) {
	$("#"+LayerID).animate({
	   "opacity": "toggle"
	}, { duration: 600 });
}


function SetVisitedSitesCookie() {


                var COOKIE_NAME = 'test_cookie';
                var ADDITIONAL_COOKIE_NAME = 'additional';
                var options = { path: '/', expires: 10 };
                
                // set cookie by date
                $('a').eq(1).click(function() {
                    var date = new Date();
                    date.setTime(date.getTime() + (3 * 24 * 60 * 60 * 1000));
                    $.cookie(COOKIE_NAME, 'test', { path: '/', expires: date });
                    return false;
                });
   }
 



function GetVisitedSitesCookie() {

                // get cookie
                $('a').eq(2).click(function() {
                    alert($.cookie(COOKIE_NAME));
                    return false;
                });
					   
}
					   



	 function SetLanguageCookie(countryName) {
		 
         		var date = new Date();
				date.setTime(date.getTime() + 604800);
                var COOKIE_NAME = 'PEInternational_Actual_Language';
                var options = {path: '/', expires: date };
                
                // set cookie by number of days
         
                    //$.cookie(COOKIE_NAME, countryName, options);
					$.cookie(COOKIE_NAME, countryName, { expires: 7, path: '/'});
				
         
         
            }




function SetLanguageIdCookie(countryLID) {
		 
         		var date = new Date();
				date.setTime(date.getTime() + 604800);
                var COOKIE_NAME = 'PEInternational_Actual_Language_LID';
                var options = {path: '/' , expires: date};
                
                $.cookie(COOKIE_NAME, countryLID, { expires: 7, path: '/'});
         
         
            }

