// loopedSlider
$(function() {
   $.fn.loopedSlider.defaults.addPagination = false; $('#loopedSlider').loopedSlider( {
      restart : 1, autoStart : 7500, slidespeed : 1200, fadespeed : 10000 , autoHeight : 1 , containerClick : false }
   ); }
);

// simpleWeather
$.simpleWeather({
	location: 'Chemainus, BC',
	unit: 'c',
	success: function(weather) {
		$("#weather").append('<img style="float:left;margin-top:3px;" width="100px" src="'+weather.image+'" />');
		$("#weather").append('<p class="temp">'+weather.temp+'&deg; <span>'+weather.units.temp+'</span></p>');
		$("#weather").append('<p class="desc">' + weather.currently + '</p>');
		$("#weather").append('<p class="windhum"><strong>Wind</strong>: '+weather.wind.direction+' '+weather.wind.speed+' '+weather.units.speed+'   <strong>Humidity</strong>: '+weather.humidity+'&#37; </p>');
	},
	error: function(error) {
		$("#weather").html("<p>"+error+"</p>");
	}
});

// lightbox

$(document).ready(function() {
	$('a.lightbox').lightBox();
});
