function preg_quote( str ) {    // Quote regular expression characters
    // 
    // +   original by: booeyOH
    // +   improved by: Ates Goral ([url]http://magnetiq.com[/url])
 
    return str.replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g, "\\$1");
}
function searchTextOnPage() {
    var toFind = document.getElementById('qwer').innerHTML,
        holder = document.getElementById('qwe');
    
    holder.innerHTML = holder.innerHTML.replace(new RegExp('('+preg_quote(toFind)+')', 'ig'), '<b>$1</b>');
}