/* Bubblefish Javascript functions */

	function setWindowStatus(msg)
	{
		/* Set the window status bar to the message given */
		
		window.status = msg;
		
	}
	
	function doRollover(which,state)
	{
		/* Do a rollover animation for a graphical button */
		
		var buttonName = eval('document.images[\'button_' + which + '\']');
		
		buttonName.src = '/images/buttons/' + which + '_' + state + '.gif';
		
	}
	
	function uploadNewVenueImage(path,id)
	{
		var menuURL = '/forms/uploadimage.php?path='+path+'&id='+id;
		var menuWin = window.open(menuURL,"Menu",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=400,height=250');
		if(navigator.appName.substring(0,8)=="Netscape") {
			menuWin.location = menuURL;
		}
		if (navigator.appName.indexOf("Microsoft")!=-1 && parseInt(navigator.appVersion)>=4)
			menuWin.focus();

	}
	

