var autoShortcuts = ['! a','! about','! add','! all','! archives','! articles','! audit','! authority','! autopayroll','! b','! balances','! bank','! birthdays','! c','! calendar','! cash','! charthistory','! cheque','! comments','! confirm','! contact','! contents','! contract','! control','! copyright','! costcentres','! costchart','! costing','! costsummary','! costtrans','! current','! custom','! d','! debit','! deduction','! deductions','! defaults','! delete','! detailhistory','! directions','! downloads','! e','! elementhistory','! employee','! employer','! enter','! etc','! f','! faq','! fees','! financial','! finish','! forms','! g','! gl','! glossary','! gltrans','! groups','! gsf','! h','! handheld','! help','! helpdesk','! history','! homepage','! hours','! how','! i','! inactive','! index','! interfaces','! intermediary','! invoice','! ipayroll','! iphone','! ir345','! ir346','! ir348','! irfile','! j','! k','! ked','! kiosk','! kioskusage','! l','! leave','! leavehistory','! liabilities','! list','! login','! logins','! lowres','! m','! mail','! messages','! n','! news','! normal','! notes','! o','! ooc','! open','! openingleave','! openingtax','! opnotes','! org','! overpayments','! overview','! oz','! p','! password','! pay','! payhistory','! payment','! payments','! payroll','! payslip','! payslips','! payslipsall','! people','! personal','! phone','! ploc','! print','! privacy','! q','! qes','! r','! rates','! register','! remittance','! reports','! rollovers','! s','! sample','! schedule','! search','! security','! service','! setup','! shortcuts','! sitemap','! softwarez','! sscwt','! ssrss','! staffdetails','! staffuser','! standard','! subsidies','! summary','! t','! table','! taken','! tax','! taxation','! taxhistory','! taxsummary','! technical','! terms','! tools','! tour','! transactions','! u','! upload','! user','! users','! v','! w','! welcome','! why','! x','! y','! z'];

var X = new RegExp('X', 'g');
var Z = new RegExp('Z', 'g');
function coyMenu(id, org, title) {
s = "<a class='slink noWrap' href='/'>iPayroll Home Page<br> <a class='slink noWrap' href='X/'>Z</a><br> <a class='slink noWrap' href='X/help/'>Online&nbsp;Help</a>";
s = s.replace(Z, title);
return s.replace(X, org);
}
