function resizeTransparent() {
    $("#transparent").css({"height" : getHeight()+"px"})
}

function getHeight() {
	var h = $(window).height()
	var d = $("#footer").height()
	var dp = $("#footer").position()
	var d = d + dp.top + 30
	return h > d ? h : d
}

$(document).ready(resizeTransparent)
$(window).bind("resize", resizeTransparent)
$(window).bind("load", resizeTransparent)
