<!-- Hide script from old browsers

  if (document.images)
   {
     balloon1= new Image(250,425);
     balloon1.src="images/big_old_balloon.png";  

	 balloon3= new Image(648,488);
     balloon3.src="images/cloudformation2.gif";
   }


var foo = null; // object
var funz = null;
var timesec = null;
var funzor = null;


/* sinhoriz()sinvert()andsinz() all take value, amplitude, frequency, and offset in that order */

function doMove() {
bigballoon = document.getElementById('bigballoon');

funzor = funzor +1;

bigballoon.style.left =10 + 10*sincalc(funzor, .72, .0263,0)+'px';
bigballoon.style.top =13 + 10*sincalc(funzor, .76, .0275,0)+'px';

setTimeout(doMove,20); /* call doMove in 20msec */

}

function sincalc(n, amp, freq, offs)
{
var funz=amp*Math.sin(n*freq)+offs;
return funz;
}

function init() {

doMove(); // start animating
}


window.onload = init;

function winresize()
{
window.resizeTo(647,591)
}


	// End hiding script from old browsers -->
