function delayer(adr){
	document.location = adr;
}

function updateTime(time){
	if(time > 0){
		time = time - 1;
	} else {
		window.location.href = 'index.php';
	}
	var a = time;
	document.getElementById("seconds").value = time;
	setTimeout("updateTime('" + a + "')",1000);
}
	
function confirmLink(theLink, confirmMsg){
    // Confirmation is not required in the configuration file
    // or browser is Opera (crappy js implementation)
    if (confirmMsg == '' || typeof(window.opera) != 'undefined') {
        return true;
    }

    var is_confirmed = confirm(confirmMsg);
    if (is_confirmed) {
        //theLink.href += '&is_js_confirmed=1';
    }

    return is_confirmed;
} // end of the 'confirmLink()' function

<!--
function delayer(adr){
	document.location = adr;
}

function sub(){
	document.forms.direct.submit()
}

var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}
-->