jQuery.noConflict();

jQuery(document).ready(function(){ 

// Dropdown countries

	if (jQuery('#country')) {
		jQuery('#country').change(function(){
			//alert('Yo: '+$("#country option:selected").text());
			//alert('Yo: '+$("#country").val());
			
			if ($("#country").val() == "sweden") location.href = "http://easypark.se";
			if ($("#country").val() == "norway") location.href = "http://easypark.no";
			if ($("#country").val() == "denmark") location.href = "http://easypark.dk";
			if ($("#country").val() == "finland") location.href = "http://easypark.fi";
			if ($("#country").val() == "germany") location.href = "http://easypark.de";

		});
	}


/*

	function moveArrow(moves) {
		for (n=0;n<moves;n++){
			jQuery(".arrow-left").animate({"left": "+=5px"}, 80);
			jQuery(".arrow-right").animate({"left": "-=5px"}, 80);
			jQuery(".arrow-left").animate({"left": "-=5px"}, 80);
			jQuery(".arrow-right").animate({"left": "+=5px"}, 80);
		}
	}
	moveArrow(10);
	
	jQuery("#advert").mouseover(function(){
		moveArrow(2);	
	});

*/

	// init Facebox
	//jQuery('a[rel*=facebox]').facebox();
	


//equalHeight on .content id

jQuery(function(){
/*
	if (jQuery('.frontboxcontentarea')) {
		jQuery('.frontboxcontentarea').equalHeight();
	}
*/	
//Stripe tables with class striped
jQuery('table.striped tbody tr:nth-child(odd)').addClass('stripeme');

});



//Jappler meny function
function japplerMenu(){
jQuery(" #nav ul ").css({display: "none"}); // Opera Fix
jQuery(" #nav li").hover(function(){
	jQuery(this).find('ul:first').css({visibility: "visible",display: "none"}).fadeIn(200);
	},function(){
	jQuery(this).find('ul:first').css({visibility: "hidden"});
	});
}

//JapplerMenu     
japplerMenu();


}); 
 
<!--//--><![CDATA[//><!--
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

//--><!]]>



function parseNavigation(ob) {	
	
	toBeBrokenDown = ob.options[ob.selectedIndex].value.split("@");	
	
	if (toBeBrokenDown.length == 2) {		
		targetWindow = toBeBrokenDown[0];		
		targetURL = toBeBrokenDown[1]; 		
		location.href = targetURL;	
		} 
	}
