var new_window;
//alert(navigator.appName);
function open_win(uri,w,h,s){
//	alert(uri);
	if (new_window!=null) new_window.close;
	new_window = window.open(uri, 'Windows', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+s+',resizable=0,width='+w+',height='+h);
	new_window.moveTo(0,0);
	new_window.focus();
}

function over(that){
	that.style.backgroundImage='url(/img/bg_button.gif)';
}
function out(that){
	that.style.backgroundImage='none';
}

function resize() {
var i=10;
  if (navigator.appName == 'Netscape') i=50;
  if (document.images[0]) window.resizeTo(document.images[0].width, document.images[0].height+i);
  self.focus();
}
