

<!--  ################  Animation for Whole Galery  ##################      -->


var x=25;
$(document).ready(function(){
  $("#start").ready(function(){
  $("#box").animate({right:x},"slow");
  });
});
$(document).ready(function(){
  $("#start").click(function(){
if(x<850)
{
if ((browser=="Microsoft Internet Explorer"))
{
  $("#box").animate({right:x=x+295},"slow");
}
else
  $("#box").animate({right:x=x+295},"slow");
}
else
{
  $("#box").animate({right:x=25},"slow");
}
});
});




<!--  ################  Animation for Galery7  ##################      -->


var y7=0;
$(document).ready(function(){
  $("#gallery7").ready(function(){
  $("#gal7").animate({top:y7},"fast");
  });
});
$(document).ready(function(){
  $("#gallery7").click(function(){
if(y7<=-700)
{
  $("#gal7").animate({top:y7=0},"fast");
}
else
{
  $("#gal7").animate({top:y7=y7-180},"fast");
}
});
});




<!--  ################  Animation for Galery6  ##################      -->


var y6=0;
$(document).ready(function(){
  $("#gallery6").ready(function(){
  $("#gal6").animate({top:y6},"fast");
  });
});
$(document).ready(function(){
  $("#gallery6").click(function(){
if(y6<=-700)
{
  $("#gal6").animate({top:y6=0},"fast");
}
else
{
  $("#gal6").animate({top:y6=y6-180},"fast");
}
});
});




<!--  ################  Animation for Galery5  ##################      -->


var y5=0;

$(document).ready(function(){
  $("#gallery5").ready(function(){
  $("#gal5").animate({top:y5},"fast");
  });
});
$(document).ready(function(){
  $("#gallery5").click(function(){
if(y5<=-700)
{
  $("#gal5").animate({top:y5=0},"fast");
}
else
{
  $("#gal5").animate({top:y5=y5-180},"fast");
}
});
});




<!--  ################  Animation for Galery4  ##################      -->

var y4=0;
$(document).ready(function(){
  $("#gallery4").ready(function(){
  $("#gal4").animate({top:y4},"fast");
  });
});
$(document).ready(function(){
  $("#gallery4").click(function(){
if(y4<=-700)
{
  $("#gal4").animate({top:y4=0},"fast");
}
else
{
  $("#gal4").animate({top:y4=y4-180},"fast");
}
});
});




<!--  ################  Animation for Galery3  ##################      -->


var y3=0;
$(document).ready(function(){
  $("#gallery3").ready(function(){
  $("#gal3").animate({top:y3},"fast");
  });
});
$(document).ready(function(){
  $("#gallery3").click(function(){
if(y3<=-700)
{
  $("#gal3").animate({top:y3=0},"fast");
}
else
{
  $("#gal3").animate({top:y3=y3-180},"fast");
}
});
});




<!--  ################  Animation for Galery2  ##################      -->

var y2=0;
$(document).ready(function(){
  $("#gallery2").ready(function(){
  $("#gal2").animate({top:y2},"fast");
  });
});
$(document).ready(function(){
  $("#gallery2").click(function(){
if(y2<=-700)
{
  $("#gal2").animate({top:y2=0},"fast");
}
else
{
  $("#gal2").animate({top:y2=y2-180},"fast");
}
});
});


<!--  ################  AUTO Animate Galleries  ##################      -->

var browser=navigator.appName;
var b_version=navigator.appVersion;
var version=parseFloat(b_version);


var t;
var no_t;
var animation_is_on=0;

function animate()
{
	clickgal();
	clickgal2();
t=setTimeout("animate()",5000);
}

function animategallery()
{
if (!animation_is_on)
  {
  animation_is_on=1;
  animate();
  no_t=setTimeout("no_animate()",100000);
  }
}

function no_animate()
{
clearTimeout(t);
clearTimeout(no_t);
animation_is_on=0;
}

function onBlur() {
clearTimeout(t);
clearTimeout(no_t);
animation_is_on=0;
    no_animate();
};
function onFocus(){
clearTimeout(t);
clearTimeout(no_t);
animation_is_on=0;
t=setTimeout("animate()",5000);
};

if (/*@cc_on!@*/false) { // check for Internet Explorer
    document.onfocusin = onFocus;
    document.onfocusout = onBlur;
} else {
    window.onfocus = onFocus;
    window.onblur = onBlur;
}

function clickgal()
{
  var ab1 = document.getElementById('start');
  ab1.click();
  
}function clickgal2()
{
  var ab7 = document.getElementById('gallery7');
  var ab6 = document.getElementById('gallery6');
  var ab5 = document.getElementById('gallery5');
  var ab4 = document.getElementById('gallery4');
  var ab3 = document.getElementById('gallery3');
  var ab2 = document.getElementById('gallery2');
  ab7.click();
  ab6.click();
  ab5.click();
  ab4.click();
  ab3.click();
  ab2.click();
  
}
function stopgallery()
{
  clearInterval(intervalID);
  clearInterval(intervalID2);
}




<!--  ################  Animate Ticker  ##################      -->

/*
var tick=0;
$(document).ready(function(){
  $("#tickbtn").ready(function(){
  $("#ticker").animate({top:tick},"fast");
  });
});
$(document).ready(function(){
  $("#tickbtn").click(function(){
if(tick<=-280)
{
  $("#ticker").animate({top:tick=0},"fast");
}
else
{
if ((browser=="Microsoft Internet Explorer"))
{
  $("#ticker").animate({top:tick=tick-63},"fast");
}
else
  $("#ticker").animate({top:tick=tick-60},"fast");
}
});
});





function animateticker()
{
  intervalID3 = setInterval(clickticker, 8000);
  
}

function clickticker()
{
  var t = document.getElementById('tickbtn');
  t.click();
  
}

function stopticker()
{
  clearInterval(intervalID3);
}

*/




<!--  ################  Top Panel  ##################      -->



/*

$(document).ready(function(){
  $("#start1").ready(function(){
  $("#box1").animate({top:-550},"fast");
  });
});

$(document).ready(function(){
  $("#start2").ready(function(){
  $("#box2").animate({top:-720},"fast");
  });
});

$(document).ready(function(){
  $("#start3").ready(function(){
  $("#box3").animate({top:-1090},"fast");
  });
});

$(document).ready(function(){
  $("#start1").click(function(){
if ((browser=="Microsoft Internet Explorer"))
{
  $("#box1").animate({top:0},"slow");
}
else
  $("#box1").animate({top:0},"slow");
  });
  $("#start2").click(function(){
if ((browser=="Microsoft Internet Explorer"))
{
  $("#box2").animate({top:-355},"slow");
}
else
  $("#box2").animate({top:-350},"slow");
  });
  $("#start3").click(function(){
if ((browser=="Microsoft Internet Explorer"))
{
  $("#box3").animate({top:-705},"slow");
}
else
  $("#box3").animate({top:-700},"slow");
  });
});



$(document).ready(function(){
  $("#close1").click(function(){
  $("#box1").animate({top:-550},"slow");
  });
  $("#close2").click(function(){
  $("#box2").animate({top:-720},"slow");
  });
  $("#close3").click(function(){
  $("#box3").animate({top:-1090},"slow");
  });
});

*/
<!--  ################  Top Panel  ##################      -->

