$(document).ready( function() {
    
    etips = $('#saleTipsStrings');
    if (etips) {        
        tip = getRandomString(etips.html(), ';');
    }
    
    etip = $('#saleTip');
    if (etip && tip && tip.length) {
        etip.html(tip);
    }
})

function getRandomString(string, delim) {

    result = string.split(';');
    idx = Math.floor(Math.random() * result.length);

    return result[idx];
}
