function getWindowSize()
/******************************************************
Cette fonction permet d'obtenir la taille de la fenętre. 
On ne tient en compte que la partie affichage de la page 
HTML. On ne tient pas compte du menu ou de la barre d'état 
de la fenętre.
Retourne un tableau ŕ 2 dimensions (largeur,hauteur).
*******************************************************/
	{
		var MySize = new Array();
		if (window.innerWidth)
				MySize[0] = window.innerWidth;
		else
				MySize[0] = document.body.clientWidth;
		if (window.innerHeight)
				MySize[1] = window.innerHeight;
		else
				MySize[1] = document.body.clientHeight;
		return MySize;	
	}

function Sky() {
	var Xwidth = getWindowSize()[0];
	var Skycrapper = document.getElementById('SkyCrapper');
	if (Skycrapper == null) {
		return;
	}
	/*alert(getWindowSize()[0]); */
	if(Xwidth<="1200") {
		Skycrapper.style.display='none';
	}
	else {
		Skycrapper.style.display='block';
	}
}

window.onresize= SkyResize;

function SkyResize() {
  Sky();
}

// <![CDATA[
	function fixed_top(select,offS){
		return Number(offS+document.documentElement.scrollTop+document.body.scrollTop)+'px';
	}
	function fixed_left(select,offS){
		return Number(offS+document.documentElement.scrollLeft+document.body.scrollLeft)+'px';
	}
	function fixed_bottom(select,offS){
		return Number(-offS+document.documentElement.clientHeight-select.offsetHeight+document.documentElement.scrollTop+document.body.scrollTop)+'px';
	}
	function fixed_right(select,offS){
		return Number(-offS+document.documentElement.clientWidth-select.offsetWidth+document.documentElement.scrollLeft+document.body.scrollLeft)+'px';
	}
// ]]>


