function showdetail(text) {
    text = replaceText('*', '<br/>', text);
    document.getElementById("p2_contentdetail").innerHTML = text;
    document.getElementById("p2_contentdetail").style.visibility = "visible";
}


function hidedetail() {
    document.getElementById("p2_contentdetail").style.visibility = "hidden";
}

function replaceText(what, withthis, in_text) {
    do{
        in_text = in_text.replace(what, withthis);
    } while(in_text.indexOf(what)!=-1);
    return in_text;
}