// I need jquery.

// an on-ready handler for the document
$(document).ready(function(){
	$('div.product').click(function(){
		window.location = $(this).find('a')[0].href;
	}).hover( 
		function(){ // onmouseover
			$(this).addClass('hover');	
		},
		function(){ // onmouseout
			$(this).removeClass('hover');
		}
	);


	var s = $('div#header').find('span#headerlogo')[0], i = new Image(); 
	i.src = s.getAttribute('my_logo');
	i = s.appendChild(i);
	$(i).addClass('headerlogo');
	

	

});


