
// 
// Common javascript used on Sutter LAFCO web pages
// 

function CursorToCtl(item) {
  if (item != null) 
  {
    // Place focus on control.  Note: for Calendar Popup controls
    // this code works in conjunction with the startup script at
    // the bottom of the page that sets the onfocus event handlers
    // in the PreRender of the code-behind.
    document.getElementById(item).focus();
  }
}

//
//This script will remove frames, it executes without a call
//
if (top.location != self.location) 
{
	// Held hostage by a frame...break outta here...    
    top.location.replace(self.location)
}
