// JavaScript Document
	function fSHElement(element) {
		
		if (document.layers) {
			current = (document.layers[element].display == 'none') ? 'block' : 'none';
			document.layers[element].display = current;
		} else if (document.all) {
			current = (document.all[element].style.display == 'none') ? 'block' : 'none';
			document.all[element].style.display = current;
		} else if (document.getElementById) {
			vista = (document.getElementById(element).style.display == 'none') ? 'block' : 'none';
			document.getElementById(element).style.display = vista;
		}
	}

		function fDocumentHeight() {
		  dHeight = 0;
		  if( typeof( window.innerWidth ) == 'number' ) {
			//Non-IE
			dHeight = window.innerHeight;
		  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
			//IE 6+ in 'standards compliant mode'
			dHeight = document.documentElement.clientHeight;
		  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
			//IE 4 compatible
			dHeight = document.body.clientHeight;
		  }
		  return dHeight;
		}
		
		function fDocumentWidth() {
		  var dWidth = 0;
		  if( typeof( window.innerWidth ) == 'number' ) {
			//Non-IE
			dWidth = window.innerWidth;
		  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
			//IE 6+ in 'standards compliant mode'
			dWidth = document.documentElement.clientWidth;
		  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
			//IE 4 compatible
			dWidth = document.body.clientWidth;
		  }
		  return dWidth;
		}
    	
		function fSetElementHeight(element) {
		
			var objElement = document.getElementById(element);
			
			number=357;
			
			if (navigator.appName=='Microsoft Internet Explorer') number=362;
			
			dHeight = (fDocumentHeight() - number) - 68;
			
			objElement.style.height=dHeight+'px';
			
			return;
			
		}
		
		function fSetElementWidth(element, width) {
		
			var objElement = document.getElementById(element);

			//if (navigator.appName=='Microsoft Internet Explorer') number=362;
			
			objElement.style.width=width+'px';
			
			return;
			
		}
		
		
		function fGetElementHeight (element) {
			
			var objElement = document.getElementById(element);
			
			return objElement.offsetHeight;
			
		}
		
		
		function fSetFooterPosition (element, value) {
			
			var objElement = document.getElementById(element);
			var objWrapFooter = document.getElementById('wrap-footer')
			
			var new_value = (value - fGetElementHeight(element));
			
			if (fGetElementHeight(element) < value) objWrapFooter.style.top=new_value+'px';
			
			return;
			
		}
		
		function fSetFlashIntroPosition (element, value) {
			
			var objElement = document.getElementById(element);
			
			var new_value = ((fDocumentHeight() - objElement.offsetHeight) / 2.5);
			
			objElement.style.top=new_value+'px';
			
			return;
			
		}