(function() {
	var oScript = document.createElement('script'); oScript.type = 'text/javascript'; oScript.async = true;
	oScript.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js';
	var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(oScript, s);
	oScript.onreadystatechange = function() {
		if ((this.readyState == 'complete') || (this.readyState == 'loaded')) {
			jQuery(document).ready(function() {
				addSlideEvent();
			});
		}
	}
	oScript.onload = function() { 
		jQuery(document).ready(function() {
			addSlideEvent();
		});
	};

})();



function addSlideEvent()
{ 
	
	jQuery("#v_slideout").click(function(e) {
	    e.preventDefault();
	    jQuery("#vertical_slide").slideUp("slow")
	    jQuery("#buttonDiscover").show();    
	    jQuery("#buttonHide").hide();
	});
	
	
	jQuery("#v_slidein").click(function(e) {
	    e.preventDefault();
	    jQuery("#vertical_slide").slideDown("slow");
	    jQuery("#buttonDiscover").hide();    
	    jQuery("#buttonHide").show();
	
	});

}
