Event.observe(window, 'load', function() {
	//viewOrdersByCompany, viewOrderById
	if (document.forms[0].elements['id']) {
		document.forms[0].elements['id'].focus();
	}
	
	//viewOrderById

	
	//searchUsers, searchUsers, brokerizeUser
	if (document.forms[0].elements['first']) {
		document.forms[0].elements['first'].focus();
	}
	
	//createAdmin
	if (document.forms[0].elements['username']) {
		document.forms[0].elements['username'].focus();
	}
	
	//searchPin, manualRedemption, processVoucherMail, updateRedemptionDate
	if (document.forms[0].elements['pin']) {
		document.forms[0].elements['pin'].focus();
	}
	
	//searchCustomer
	if (document.forms[0].elements['First_Name']) {
		document.forms[0].elements['First_Name'].focus();
	}
	
	//newCall
	if (document.forms[0].elements['member_id']) {
		document.forms[0].elements['member_id'].focus();
	}
	
	//uploadAudio
	if (document.forms[0].elements['title']) {
		document.forms[0].elements['title'].focus();
	}
	
	//manageRetailStores
	if (document.forms[0].elements['name']) {
		document.forms[0].elements['name'].focus();
	}
	
	//manageControlLeads
	if (document.forms[0].elements['control_number']) {
		document.forms[0].elements['control_number'].focus();
	}
});
