jQuery(document).ready(function() {

// get height of the page

var getHeight = jQuery(document).height();

// identify sidebar div and set the height attribute to the height of the page

// first parameter is the css attribute to change, the second is the variable

// that we are getting the height value that we want to use

//(var getHeight which is equal to the getHeight function)

jQuery('#sidebar').css('height', getHeight);


jQuery(".add-images a").click( function() {
	var changeSrc = jQuery(this).attr("href");
	jQuery("#mainimg").attr("src", changeSrc);
	return false;
});

});




