$(document).ready(function(){
		   
$('.popme').click(function(){
$('.pop_outer').fadeIn(250,function(){$("html").animate({ 'scrollTop': '250' }, 1500);});

 return false;
});

$('.pop_me_home').hover(function(){
								 $(this).stop(1);
var i=$(this).attr('rel');	
$('.pop_ups').hide();
$('.pop_outer_home').fadeIn(250);
$('.pop_ups').eq(i).show();	

},
function()
{
	$(this).stop(1);
	$('.pop_outer_home').hide();$('.pop_ups').hide();
}
);


$('a.close').click(function(){
$(this).parent().fadeOut();
return false;
});
$('a.newsletter').click(function(){
$('.newsletter_outer').fadeIn();
return false;
});
})
