Changing display states in eDrawings API

Hello All,

I'm working on creating a website with an embedded eDrawings viewer (using javascript) and I need to be able to switch the display states and configuration states of the assembly (.easm) created in SW2010.   The ultimate plan is to be able to navigate through the configurations and display states using sliders on the page.

I've looked through the api help documentation and searched online but I haven't been able to find the function in the api that controlls display state.  I managed to find the configuration control by digging through the visual basic console example in the SDK but i'm still working on getting that working in javascript.

I'm new to the API and coding html/java (I try to stick to gears and pulleys) so any help would be be much appreciated!!

SolidworksEdrawings