

		/*
function isIE() {
return 'Microsoft Internet Explorer' == navigator.appName;
}

console.log(isIE);

*/




			function slide(nav_id, pad_out, pad_in, time, multiplier){

				var list_elem = nav_id + " li.sliding-elem";
				var link_elem = list_elem + " a";
				var timer = 4000;
				
				$(list_elem).each(function(i){
					
					$(this).css("margin-left","-1000px");
					timer = (timer*multiplier + time);
					$(this).animate({ marginLeft: "0" }, timer);
					
				});

				$(link_elem).each(function(i){
				
					$(this).hover(
						function(){
							$(this).animate({ marginLeft: pad_out }, 150);
						},
						function(){
							$(this).animate({ marginLeft: pad_in }, 150);
						
						});	
					});		
				}
			

			function opacity(nav_id, elem_id, opacity, time, multiplier){

				var list_elem = nav_id + elem_id;
				var timer = 3000;
				
				$(list_elem).each(function(i){
					
					$(this).css("opacity", opacity );
					timer = (timer*multiplier + time);
					$(this).animate({ opacity: 1 }, timer);
					
				});
			}
		
