function ping(){
	var the_style = getStyleObject("hir1");
	var the_top; 
	
	if(isNaN(the_top=parseInt(the_style.top) + 2)) {the_top = the_style.top + 2;}
	
	if(the_top < 100)
	{
	
		if (document.layers)
		{
			the_style.top = the_top;	
		}
		else
		{
			the_style.top = the_top + "px";  
		}

		timer=setTimeout("pong()", 5);
	}
	else {} 
}

function pong(){
	var the_style2 = getStyleObject("hir1");
	var the_top2;

	if(isNaN(the_top2=parseInt(the_style2.top) + 2)) {the_top2 = the_style2.top + 2;}

	if (document.layers)
	{
		the_style2.top = the_top2;	
	}
	else
	{
		the_style2.top = the_top2 + "px";  
	}

	timer=setTimeout("ping()", 5);
}

function getStyleObject(objectId) {
    // cross-browser function to get an object's style object given its
    if(document.getElementById && document.getElementById(objectId)) {
	// W3C DOM
	return document.getElementById(objectId).style;
    } else if (document.all && document.all(objectId)) {
	// MSIE 4 DOM
	return document.all(objectId).style;
    } else if (document.layers && document.layers[objectId]) {
	// NN 4 DOM.. note: this won't find nested layers
	return document.layers[objectId];
    } else {
	return false;
    }
}

function calc_egyperx(par) {
	return -(1/(Math.sqrt(par)) * 100) + 135;
}

var lep=0;

var x=2.25;
var y=10;

function ping_x(){
	var the_style = getStyleObject("hir1");
	var the_top; 
	var the_left;

	lep=lep+0.03+lep/150;

	the_left = lep * 100;
	the_top=y+parseInt(calc_egyperx(lep));

	if(lep < x)
	{
		if (document.layers)
		{
			the_style.top = the_top;	
			the_style.left = the_left;	
		}
		else
		{
			the_style.top = the_top + "px";  
			the_style.left = the_left + "px";  
		}

		timer=setTimeout("pong_x()", 5);
	}
	else {} 
}

function pong_x(){
	var the_style2 = getStyleObject("hir1");
	var the_top2;
	var the_left2;

	lep=lep+0.03+lep/150;

	the_left2 = lep * 100;
	the_top2=y+parseInt(calc_egyperx(lep));

	if (document.layers)
	{
		the_style2.top = the_top2;	
		the_style2.left = the_left2;	
	}
	else
	{
		the_style2.top = the_top2 + "px";  
		the_style2.left = the_left2 + "px";  
	}

	timer=setTimeout("ping_x()", 5);
}
function closeMsg()
{
	document.getElementById("hir1").style.display="none";
}
