/*
	Requires jQuery
 
 Set up a namespace.
 */
try 
{
	if (!RF) 
	{
		RF = {};
	}
} 
catch (e) 
{
	RF = {};
}
try 
{
	if (!RF.Angleterre) 
	{
		RF.Angleterre = {};
	}
} 
catch (e) 
{
	RF.Angleterre = {};
}

/* Hologram code */
RF.Angleterre.Hologram = {

	checkSpace: function()
	{
		// check for space to display the hologram
		var contentGroup = document.getElementById('contentgroup');
		if (contentGroup.offsetHeight > 460) 
		{
			RF.Angleterre.Hologram.show();
		}
	},
	
	show: function()
	{
		// change #maintext class to force space
		$('#maintext').addClass('with-holo');
		// show hologram if hidden
		$('#holo').show();
	},
	
	dummy: {}
};

$(document).ready(RF.Angleterre.Hologram.checkSpace);
