
var CurrentValue=1;
var name = navigator.appName;
  function onResize()
	{
	if(document.layers)
		{
			document.location.reload();
		}
	}
  function onLoad()
  
  {
    cycleImages();
		
		if(name=="Netscape")
  
        start();
  
  }

var xPos = 0;
var step = 1;
var delay = 100;
var xPos = 0;
var height = 0;
var offset = 0;
var yon = 0;
var jj=0
var ii = 0
var w = 0
var name = navigator.appName;
var midx
var midy

function changePos()

 {
	ii = ii + 8
	w = w + 15
	//if (yon == 0) 

    jj=0

//	{

//		xPos = xPos - step;
	
		
	
		document.layers['head1'].clip.bottom = midy + ii	
		document.layers['head1'].clip.left = midx - w
		document.layers['head1'].clip.top = midy - ii
		document.layers['head1'].clip.right = midx + w
		
		if(ii >=143)

			setInterval('changePost()',400);
//	}
		if (!((ii > midx) && (ii > midy)))
			setTimeout('changePos()',115)
 }
function changePost()
{
	jj = parseInt(jj) + 4
	
	 document.layers['head1'].clip.bottom = jj
	 document.layers['head1'].visibility = "hide";
	 document.layers['head2'].visibility = "show";
	 
	 setTimeout('changePost()',100)

}

function start()
{
	if (name == "Netscape")
	 {
		document.layers['head1'].visibility = "show";
		height=parseInt(document.layers['head1'].clip.bottom) - parseInt(document.layers['head1'].clip.top)
		width=parseInt(document.layers['head1'].clip.right) - parseInt(document.layers['head1'].clip.left)
		midx = Math.round(width)/2 - 50;
		midy=Math.round(height)/2;
    }
	
	changePos();
}