
$(document).ready(function() {

	$(".test3").hrzAccordion({containerClass     : "container3",
			listItemClass      : "listItem3",

			contentWrapper     : "contentWrapper3",
			contentInnerWrapper: "contentInnerWrapper3",
			handleClass        : "handle3",
			handleClassOver    : "handleOver3",
			handleClassSelected: "handleSelected3",
            openOnLoad     :1,
            fixedWidth: "671"
							  });

           jQuery.each(jQuery.browser, function(i, val) {
                if(i=="msie" && jQuery.browser.version.substr(0,3)=="7.0")
                  alert("Please upgrade your web browser as the current version you are using will not display this website properly")
                if(i=="msie" && jQuery.browser.version.substr(0,3)=="6.0")
                  alert("Please upgrade your web browser as the current version you are using will not display this website properly")
           });

/*            $('#scrollpanel3').jScrollPane();
            $('#tscrollpanel1').jScrollPane();
            $('#tscrollpanel2').jScrollPane();
            $('#tscrollpanel1').jScrollPane();
            $('#tscrollpanel4').jScrollPane();

                // this initialises the scrollBy and scrollTo links.
                $('.scroll-to-demo').bind(
                    'click',
                    function()
                    {
                        $('#pane1')[0].scrollTo(200);
                        return false;
                    }
                );

                $('.scroll-by-demo').bind(
                    'click',
                    function()
                    {
                        $('#pane2')[0].scrollBy(parseInt($(this).attr('rel')));
                        return false;
                    }
                );
                var $targets = $('#scrollpanel3-scroll-targets');
                var $scrollpanel3 = $('#scrollpanel3');
                var scrollpanel3top = parseInt($scrollpanel3.offset().top);
                var myArray = ['about us','the team','clients'];

                $('#scrollpanel3 p').each(
                    function(index)
                    {
                        $targets.append(
                            $('<li style="display:block;"></li>').append(
                                $('<a></a>')
                                    .attr({'href':'javascript:;', 'rel':$(this).offset().top})
                                    .text( myArray.shift())
                                    .bind(
                                        'click',
                                        function()
                                        {
                                            $scrollpanel3[0].scrollTo(parseInt($(this).attr('rel')) - scrollpanel3top);
                                        }
                                    )
                                )
                        );
                    }
                );*/

 });