// Liquid Effect
// finds the width/height of the browser and reloads the page when resized to create a liquid layout

// Copyright (C) 1999 Dan Steinman
// Distributed under the terms of the GNU Library General Public License
// Available at http://www.dansteinman.com/dynduo/

function findWH()
	{
	/*alert("window.innerWidth: " + window.innerWidth);
	alert("document.body.offsetWidth: " + document.body.offsetWidth);
	alert("window.innerHeight: " + window.innerHeight);
	alert("document.body.offsetHeight: " + document.body.offsetHeight);
	alert(is.safari);*/
	if(is.ns || is.safari)
		{
		winW = window.innerWidth;
		winH = window.innerHeight;
		}
	else
		{
		winW = document.body.offsetWidth-20;
		winH = document.body.offsetHeight-4;
		}
	//alert(winW);
	//alert(winH);
	}

function makeLiquid()
	{
	if((is.ns && (winW!=window.innerWidth || winH!=window.innerHeight)) || is.ie)
		history.go(0);
	}

