Mega Code Archive
Media Syntax and Note
Note:
Read and write property.
Specifies the output device for the object.
Syntax:
document.getElementById("elementID").media = value
document.all.elementID.media = value // IE only
document.styleSheets[index].media = value