﻿

function changeStyle(id, CSSProperty, CSSParameter) {    
    if (document.getElementById) {
			 eval("document.getElementById(id).style." + CSSProperty + " = \"" + CSSParameter + "\"");
	  }
	  //NS
    else {
        if (document.layers) {
            document.layers[id].CSSProperty = CSSParameter;
        }
        //IE
        else {
            if (document.all) {
                eval("document.all." + id + ".style." + CSSProperty + " = \"" + CSSParameter + "\"");
            }
        }
    }
}