function ChangePicture(PictureID, newSrc) {
    var iMaxButtons = 9;
    var oCurScreen = null;
    var oCurButton = null;
    
    for ( i = 1 ; i < iMaxButtons ; i ++ ) {
        oCurButton = document.getElementById('PlazmaButtonNum' + i);
        if ( null == oCurButton ) {
            break;
        }
        
        oCurScreen = document.getElementById('PlazmaScreenNum' + i);
        if ( null == oCurScreen ) {
            break;
        }
        
        oCurButton.className = "PlazmaButton";
        oCurScreen.style.display = "none";
        if ( PictureID == i ) {
            oCurButton.className = "PlazmaButtonRoll";
            oCurScreen.style.display = "block";
        }
    }
    
    return true;
}

/*Calling LightBox*/
function LoadLightBox() {
    var oLightBoxScript = document.createElement('script');
    if ( null != oLightBoxScript ) {
        oLightBoxScript.type = "text/javascript";
        oLightBoxScript.src = "/include/lightbox.js";
        document.body.appendChild(oLightBoxScript);
    }
    
    var oLightBoxCSS = document.createElement('link');
    if ( null != oLightBoxCSS ) {
        oLightBoxCSS.href = "/include/lightbox.css";
        oLightBoxCSS.rel = "stylesheet";
        oLightBoxCSS.type = "text/css";
        oLightBoxCSS.media = "screen";
        document.body.appendChild(oLightBoxCSS);
    }
}

setTimeout('LoadLightBox();', 500);
