index.js
left_one.click(function() { if (oldclasses){ left_one.switchClass( "a1", "full_screen", 1000); center_one.switchClass("a2&