var $j =  jQuery.noConflict();

/*
function sluiten()
{
	$j(".windowBox").remove();
	$j(".overlayBlack").remove();
}
*/

$j(document).ready(function()
{
/*
	// Reactie plaatsen
	$j(".archiefBox div.bar a").click(function(){
		$j("html, body").animate({scrollTop:0}, "slow");
		$j("<div></div>").appendTo("#wrapper").load(templateHttpPath+"windows/reactie-plaatsen.html").slideDown();
		return false;
	});
	
	// Doorsturen
	$j("li.email a").click(function(){
		$j("html, body").animate({scrollTop:0}, "slow");
		$j("<div></div>").appendTo("#wrapper").load(templateHttpPath+"windows/doorsturen.html").slideDown();
		return false;
	});

	// Printer scherm
	$j("li.print a").click(function(){
		window.open(this.href);
		return false;
	});
*/
});

function clearField(input)
{
	if (input.value == input.defaultValue)
	{
		input.value = "";
	}
}

function fillField(input)
{
	if (input.value == "")
	{
		input.value = input.defaultValue;
	}
}

function showCommentScreen()
{
	document.getElementById('commentScreen').style.display = 'block';
	document.getElementById('overlay').style.display = 'block';
}

function hideCommentScreen()
{
	document.getElementById('commentScreen').style.display = 'none';
	document.getElementById('overlay').style.display = 'none';
}

function showTellAFriendScreen()
{
	document.getElementById('tellafriendScreen').style.display = 'block';
	document.getElementById('overlay').style.display = 'block';
}

function hideTellAFriendScreen()
{
	document.getElementById('tellafriendScreen').style.display = 'none';
	document.getElementById('overlay').style.display = 'none';
}
