/*
	DESCRIPTION: System events and control routines.
	PROJECT    : Kotak Annual Report 2006-2007
	AUTHOR     : Synapse Information Services Pvt. Ltd.

	File Version  : 1.0.0
	Last modified : July 10, 2007
*/


// System initialization callback-routine.
// This routine shall be called automatically whenever a page loads.
// Perform system-wide (common) initializations.
// WARNING: DO NOT use this routine for page-specifics initialization. Use on_page_load() handler instead.
function _init() {
	reset_companies();
	resetstatus();
	return true;
}

// This callback routine is called when a page unloads.
// Perform cleanup before terminate.
function _cleanup() {
	return true;
}


// write text to status bar.
function writestatus(t) { window.status=t; return true; }

// set status bar text to default.
function resetstatus() { window.status='*** TWENTY-SECOND ANNUAL REPORT 2006 - 07 ***'; return true; }

