// JavaScript Document

function openWindow(url){
	window.open( url , 'mywindow' , 'width=520 , height=400 , menubar=no , toolbar=no , scrollbars=yes');
}

function timeOutClose(){
	var element = document.getElementById('seconds');
	var seconds = element.innerHTML;
	seconds--;
	
	if(seconds <= 0){
		window.close();
	}else{
		element.innerHTML = seconds;
		setTimeout("timeOutClose()",1000);
	}
}

function mf(evt){
}

function mb(evt){
}
