// JavaScript Document

toggleState = 'On'; // track state of toggle

                                                function change() {

                                                

                                                                //variables

                                                                var Here = document.getElementById('example');

                                                                

                                                                var Message = document.getElementById('message');

                                                                

                                                                

                                                                //change button

                                                                if (Here) {

                                                                if (toggleState == 'On'){

                                                                toggleState = 'Off'

 

                                                                Here.innerHTML = 'Able to mount to a fixed surface or cabinet side walls, adding media storage to your furniture has never been easier. Select <a id="Here" href="javascript:change()">here</a> for surface mount installation.';

                                                                //change image

                                                                Message.innerHTML = '<img src="http://www.flipworks.com/images/380/install380_sideMt.jpg" alt="Flipworks 380 Series Installation" width="728" height="300" id="Message">';

                                                                

                                                                }

                else {                                                                                     

                                                                toggleState = 'On'

 

                                                                Here.innerHTML = 'Able to mount to a fixed surface or cabinet side walls, adding media storage to your furniture has never been easier. Select <a id="Here" href="javascript:change()">here</a> for side mount installation.';

                                                                //change image

                                                                Message.innerHTML = '<img src="http://www.flipworks.com/images/380/install_surfaceMt.jpg" alt="Flipworks 380 Series Installation" width="728" height="300" id="Message">';

                                                                

                                                                }

                                                                

                                                                }

                                                                                                                                

                                                }

                       


