function display(id, stat) {
	if (document.getElementById) 
		var elem = document.getElementById(id); 
	else {
		if (document.all ) 
			var elem = document.all[ id ]; 
		else 
			var elem = new Object();
	}
	if (!elem )  
		return; 
	if (elem.style ) 
		elem = elem.style;
	if (typeof( elem.display ) == 'undefined' && !(window.ScriptEngine && ScriptEngine().indexOf( 'InScript' ) + 1)) { 
		window.alert( 'Hidden does not work in this browser.' ); 
		return; 
	}
	if (stat=='block' || stat =='none') {
		elem.display = stat;
		return;
	}
	if (elem.display == 'none') 
		elem.display = 'block';
	else 
		elem.display = 'none';
}	

function OpenWindow(url,window_name) {
	window.open(url,window_name,'scrollbars,resizeable,width=600,height=400');
}

