// JavaScript Document
<!-- ALWAYS ON TOP FLOATING LAYER POP-UP -->

<!-- Copyright 2003, Sandeep Gangadharan -->
<!-- For more free scripts go to http://sivamdesign.com/scripts/ -->
<!--
var y1 = 0;   // change the # on the left to adjuct the Y co-ordinate
(document.getElementById) ? dom = true : dom = false;

function hideIt() {
  if (dom) {document.getElementById("layer1").style.visibility='hidden';}
}

function showIt() {
  if (dom) {document.getElementById("layer1").style.visibility='visible';}
}

function placeIt() {
  if (dom && !document.all) {document.getElementById("layer1").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1)) + "px";}
  if (document.all) {document.all["layer1"].style.top = document.documentElement.scrollTop + (document.documentElement.clientHeight - (document.documentElement.clientHeight-y1)) + "px";}
  window.setTimeout("placeIt()", 10); }
// -->
var y1 = 0;   // change the # on the left to adjuct the Y co-ordinate
(document.getElementById) ? dom = true : dom = false;

function hideIt2() {
  if (dom) {document.getElementById("layer2").style.visibility='hidden';}
}

function showIt2() {
  if (dom) {document.getElementById("layer2").style.visibility='visible';}
}

function placeIt2() {
  if (dom && !document.all) {document.getElementById("layer2").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1)) + "px";}
  if (document.all) {document.all["layer2"].style.top = document.documentElement.scrollTop + (document.documentElement.clientHeight - (document.documentElement.clientHeight-y1)) + "px";}
  window.setTimeout("placeIt2()", 10); }

// -->


function desplegar(){
	numargs = arguments.length;
	for (i = 0; i < numargs; i++){
		obj = eval("document.all." + arguments[i]);
		if(obj.style.display == ""){
			obj.style.display = "none";
		}
		else{
			obj.style.display = "";
		}
	}
}


