Need help with javascript?
 i want to put this java script in {literal} tags but it wont when i put it in {literal} tags, but when i use the code simply within <script> tags, it works,,, n here is the javascript:

    function toggle5(showHideDiv, switchImgTag) {
        var ele = document.getElementById(showHideDiv);
        var imageEle = document.getElementById(switchImgTag);
        if(ele.style.display == "block") {
                ele.style.display = "none";
		imageEle.innerHTML = '<img src="plus.png">';
        }
        else {
                ele.style.display = "block";
                imageEle.innerHTML = '<img src="minus.png">';
        }
    }
Need help with javascript?
===

 i want to put this java script in {literal} tags but it wont when i put it in {literal} tags, but when i use the code simply within <script> tags, it works,,, n here is the javascript:

    function toggle5(showHideDiv, switchImgTag) {
        var ele = document.getElementById(showHideDiv);
        var imageEle = document.getElementById(switchImgTag);
        if(ele.style.display == "block") {
                ele.style.display = "none";
		imageEle.innerHTML = '<img src="plus.png">';
        }
        else {
                ele.style.display = "block";
                imageEle.innerHTML = '<img src="minus.png">';
        }
    }