$(function() {
	$('<div />').css({		
		background: "white",
		opacity: 0.5,
		position: "absolute",
		top: "15px",
		left: $('#header').position().left + $('#header').width() - 10,
		padding: "15px",
		border: "2px solid black",
		width: "70px"
	}).attr('id', 'survey_box').appendTo(document.body);
		
	$('<a>Click here to tell us what you think</a>').attr('id', 'survey_link').attr('href', 'http://www.surveymonkey.com/s.aspx?sm=rX7Wo8bgC4MPvhAUWKYHLA_3d_3d').click(function(){
		window.open(this.href);
		return false;
	}).css({
		fontWeight: "bold"
	}).appendTo('#survey_box');
	
	$('#survey_box').mouseenter(function(){
		$('#survey_box').fadeTo("normal",1);
		//$('#_firebugConsole').text("mouseenter");
	}).mouseleave(function(){
		$('#survey_box').fadeTo("normal",0.5);
		//$('#_firebugConsole').text("mouseenter");
	});
	
	$(window).resize(function () {
		$('#survey_box').css({
		left: $('#header').position().left + $('#header').width() - 10
		});
	}); 
});