');
};
var showSR = function(q) {
q = q.toLowerCase(); //Case insensitive searches
var matches = 0;
for(var pid in programmes) {
if (programmes.hasOwnProperty(pid)) {
if (programmes[pid].name.toLowerCase().indexOf(q) >= 0) {
add(programmes[pid]);
matches++;
}
}
}
if (matches == 0) {
wsContainer.append('
No results found. Please try again.');
}
};
var showPopular = function() {
//wsContainer.append('
Please edit the general content called "Popular Programs" in Zymurgy:CM.');
for(var pid in programmes) {
if (programmes.hasOwnProperty(pid)) {
if (true || (programmes[pid].popular == 'Y')) {
add(programmes[pid]);
}
}
}
};
var showProgrammes = function() {
wsContainer.empty();
var q = $('#txtProgramme').val().replace(/^\s*/, "").replace(/\s*$/, ""); //Trimmed search term
if (q == 'Search') q = '';
if (q.length == 0) {
showPopular(); //No query, show all
} else {
showSR(q); //Show only matching
}
$('#programmeContainer > div:even').css('background-color', '#eee');
$('#programmeContainer > div > a').css('color', '#666');
$('#programmeContainer > div').css('padding', '2px');
};
showProgrammes();
$('#txtProgramme').keyup(showProgrammes).focus(function() {
$(this).val('');
});
});
//echo "
";
HealthForceOntario Marketing and Recruitment Agency is now part of Ontario Health, an agency created by the Government of Ontario with a mandate to connect and coordinate our province’s health care system to help ensure that Ontarians receive the best possible care.
Our programs and services remain unchanged.