// JavaScript Document
/* -----------------------------------------------
   Floating layer - v.1
   (c) 2006 www.haan.net
   contact: jeroen@haan.net
   You may use this script but please leave the credits on top intact.
   Please inform us of any improvements made.
   When usefull we will add your credits.
  ------------------------------------------------ */

var x = 0;
var y = 302;
var w = 387;

function setVisible(obj)
{
	var obj = document.getElementById(obj);
	obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible';
	
	placeIt(obj);
}

function placeIt(obj)
{
	if (typeof(obj) == "string") obj = document.getElementById(obj);
}

window.onresize = new Function(" placeIt('layer1', 'n')" );