// JavaScript Document
function SelectSetValue(node, value){
	for(i = 0; i < node.length; i++) {
		if(node[i].value == value){
			node.selectedIndex = i;
		}
	}
}
jQuery(document).ready(function($){
	re_lang = /https?:\/\/[^\/]+\/([^\/]+)\/.*/;
	reg_result = re_lang.exec(window.location.href);
	$('#header .sidebar ul li ul li').bind("mouseenter mouseleave", function(e){
		$(this).toggleClass("over");
	});
	$('#header .sidebar ul li ul li:first-child').each(function(){
		$(this).toggleClass("first");
	});
	$('#onda').height($('body').height());
	$('#onda-marrone').height($('#sidebar-foto').height());
});
