/** -------------------- Start js code for dock -------------------- */ document.write(''); document.write(''); // helper function for appending to onload function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); } } } /** -------------------------------------- Start Left dock -------------------------------------- */ function mlUpdateModelPosition() { var wheel = document.getElementById('wheel'); var slide = document.getElementById('ml_slide'); slide.style.height = document.body.clientHeight; slide.style.top = document.body.scrollTop; wheel.style.top = (document.body.clientHeight/2) - 291; } function toggleSlide() { var position = jQuery("#ml_slide").position(); if (position.left <= -700) { jQuery('#ml_slide').stop().animate({ left: "0px"}, 1000); } else { jQuery('#ml_slide').stop().animate({ left: "-700px"}, 1000); } } // add our load event addLoadEvent(function() { jQuery.noConflict(); var content = '
' + '' + '