$(function(){
$('#div1').css({
top: $(window).height() - 100,
left: $(window).width() - 200
});
$('#div2').css({
top: window.innerHeight - 100,
left: window.innerWidth - 200
});
});
$(function(){
$('#div1').css({
top: $(window).height() - 100,
left: $(window).width() - 200
});
$('#div2').css({
top: window.innerHeight - 100,
left: window.innerWidth - 200
});
});