// JavaScript Document
$(document).ready(function()
{ 
	$("#firstpane p.menu-head").toggle(function()
    {
		$(this).siblings("p.menu-head").css({backgroundImage:"url(../images/template/left.png)"});
		$(this).css({backgroundImage:"url(../images/template/down.png)"}).next("div.menu-body").slideToggle(300).siblings("div.menu-body").slideUp("slow");
       	$(this).siblings().css({backgroundImage:"url(../images/template/left.png) no-repeat"});
	},function(){
		
		$(this).css({backgroundImage:"url(../images/template/left.png)"}).next("div.menu-body").slideToggle(300).siblings("div.menu-body").slideUp("slow");});
	
	$("#secondpane p.menu-head2").toggle(function()
    {
		$(this).siblings("p.menu-head2").css({backgroundImage:"url(images/template/left.png)"});
		$(this).css({backgroundImage:"url(../images/template/down.png)"}).next("div.menu-body2").slideToggle(300).siblings("div.menu-body2").slideUp("slow");
       	$(this).siblings().css({backgroundImage:"url(../images/template/left.png) no-repeat"});
	},function(){
		
		$(this).css({backgroundImage:"url(../images/template/left.png)"}).next("div.menu-body2").slideToggle(300).siblings("div.menu-body2").slideUp("slow");});
	
	$("#thirdpane p.menu-head3").toggle(function()
    {
		$(this).siblings("p.menu-head3").css({backgroundImage:"url(images/template/left.png)"});
		$(this).css({backgroundImage:"url(../images/template/down.png)"}).next("div.menu-body3").slideToggle(300).siblings("div.menu-body3").slideUp("slow");
       	$(this).siblings().css({backgroundImage:"url(../images/template/left.png) no-repeat"});
	},function(){
		
		$(this).css({backgroundImage:"url(../images/template/left.png)"}).next("div.menu-body3").slideToggle(300).siblings("div.menu-body3").slideUp("slow");});
});

var track_errors=1;
function noError()
{
  if (track_errors==1)
     {
        return true;
     }
}
window.onerror = noError;