/*
 * jQuery 1.2.3 - New Wave Javascript
 *
 * Copyright (c) 2008 John Resig (jquery.com)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * $Date: 2008-02-06 00:21:25 -0500 (Wed, 06 Feb 2008) $
 * $Rev: 4663 $
 */
<!--//---------------------------------+
//  Developed by Roshan Bhattarai 
//  Visit http://roshanbh.com.np for this script and more.
//  This notice MUST stay intact for legal use
// --------------------------------->
$(document).ready(function()
{
	//slides the element with class "menu_body" when paragraph with class "menu_head" is clicked 
	$("#slider1 p.menu_head").click(function()
    {
		$(this).css({backgroundImage:"url(images/ecotect_slider_tab.gif)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
      // 	$(this).siblings().css({backgroundImage:"url(images/ecotect_slider_tab.gif)"});
	});
	//slides the element with class "menu_body" when mouse is over the paragraph
	//$("#slider1 p.menu_head").mouseover(function()
   // {
	//     $(this).css({backgroundImage:"url(images/ecotect_slider_tab.gif)"}).next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
        // $(this).siblings().css({backgroundImage:"url(images/ecotect_slider_tab.gif)"});
	//});
	
//2	//slides the element with class "menu_body" when paragraph with class "menu_head2" is clicked 
	$("#slider1 p.menu_head2").click(function()
    {
		$(this).css({backgroundImage:"url(images/red_slider_tab.gif)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
      // 	$(this).siblings().css({backgroundImage:"url(images/ecotect_slider_tab.gif)"});
	});
	//slides the element with class "menu_body" when mouse is over the paragraph "menu_head2"
	//$("#slider1 p.menu_head2").mouseover(function()
   // {
	//     $(this).css({backgroundImage:"url(images/red_slider_tab.gif)"}).next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
      //   $(this).siblings().css({backgroundImage:"url(images/ecotect_slider_tab.gif)"});
	//});
	
//3	//slides the element with class "menu_body" when paragraph with class "menu_head3" is clicked 
	$("#slider1 p.menu_head3").click(function()
    {
		$(this).css({backgroundImage:"url(images/orange_slider_tab.gif)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
      //  $(this).siblings().css({backgroundImage:"url(images/ecotect_slider_tab.gif)"});
	});
	//slides the element with class "menu_body" when mouse is over the paragraph "menu_head3"
//	$("#slider1 p.menu_head3").mouseover(function()
  //  {
//	     $(this).css({backgroundImage:"url(images/orange_slider_tab.gif)"}).next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
        // $(this).siblings().css({backgroundImage:"url(images/ecotect_slider_tab.gif)"});
//	});
	
//4	//slides the element with class "menu_body" when paragraph with class "menu_head4" is clicked 
	$("#slider1 p.menu_head4").click(function()
    {
		$(this).css({backgroundImage:"url(images/blue_slider_tab.gif)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
       // $(this).siblings().css({backgroundImage:"url(images/ecotect_slider_tab.gif)"});
	});
	//slides the element with class "menu_body" when mouse is over the paragraph "menu_head4"
//	$("#slider1 p.menu_head4").mouseover(function()
//    {
//	     $(this).css({backgroundImage:"url(images/green_slider_tab.gif)"}).next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
        // $(this).siblings().css({backgroundImage:"url(images/ecotect_slider_tab.gif)"});
//	});
//5	//slides the element with class "menu_body" when paragraph with class "menu_head5" is clicked 
	$("#slider1 p.menu_head5").click(function()
    {
		$(this).css({backgroundImage:"url(images/yellow_slider_tab.gif)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
       //	$(this).siblings().css({backgroundImage:"url(images/ecotect_slider_tab.gif)"});
	});
	//slides the element with class "menu_body" when mouse is over the paragraph "menu_head5"
//	$("#slider1 p.menu_head5").mouseover(function()
//   {
//	     $(this).css({backgroundImage:"url(images/yellow_slider_tab.gif)"}).next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
        // $(this).siblings().css({backgroundImage:"url(images/red_slider_tab.gif)"});
//	});
	
//6	//slides the element with class "menu_body" when paragraph with class "menu_head5" is clicked 
	$("#slider1 p.menu_head6").click(function()
    {
		$(this).css({backgroundImage:"url(images/warm_red_slider_tab.gif)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
       //	$(this).siblings().css({backgroundImage:"url(images/orange_slider_tab.gif)"});
	});
	//slides the element with class "menu_body" when mouse is over the paragraph "menu_head5"
//	$("#slider1 p.menu_head6").mouseover(function()
//    {
//	     $(this).css({backgroundImage:"url(images/purple_slider_tab.gif)"}).next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
      //   $(this).siblings().css({backgroundImage:"url(images/green_slider_tab.gif)"});
//	});
	
//7	//slides the element with class "menu_body" when paragraph with class "menu_head5" is clicked 
	$("#slider1 p.menu_head7").click(function()
    {
		$(this).css({backgroundImage:"url(images/idd_slider_tab.gif)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
      // 	$(this).siblings().css({backgroundImage:"url(images/yellow_slider_tab.gif)"});
	});
	//slides the element with class "menu_body" when mouse is over the paragraph "menu_head5"
//	$("#slider1 p.menu_head7").mouseover(function()
 //   {
//	     $(this).css({backgroundImage:"url(images/blue_slider_tab.gif)"}).next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
       //  $(this).siblings().css({backgroundImage:"url(images/purple_slider_tab.gif)"});
//	});	
	
//8	//slides the element with class "menu_body" when paragraph with class "menu_head5" is clicked 
	$("#slider1 p.menu_head8").click(function()
    {
		$(this).css({backgroundImage:"url(images/pink_slider_tab.gif)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
      // 	$(this).siblings().css({backgroundImage:"url(images/blue_slider_tab.gif)"});
	});
	//slides the element with class "menu_body" when mouse is over the paragraph "menu_head5"
//	$("#slider1 p.menu_head8").mouseover(function()
 //   {
//	     $(this).css({backgroundImage:"url(images/pink_slider_tab.gif)"}).next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
        // $(this).siblings().css({backgroundImage:"url(images/pink_slider_tab.gif)"});
//	});
	
//9	//slides the element with class "menu_body" when paragraph with class "menu_head5" is clicked 
	$("#slider1 p.menu_head9").click(function()
    {
		$(this).css({backgroundImage:"url(images/green_slider_tab.gif)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
      // 	$(this).siblings().css({backgroundImage:"url(images/blue_slider_tab.gif)"});
	});
	//slides the element with class "menu_body" when mouse is over the paragraph "menu_head5"
//	$("#slider1 p.menu_head9").mouseover(function()
//    {
//	     $(this).css({backgroundImage:"url(images/green_slider_tab.gif)"}).next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
        // $(this).siblings().css({backgroundImage:"url(images/pink_slider_tab.gif)"});
//	});
	
});
$(document).ready(
function(){
	$('#nojs').hide();
	$('#hasjs').show();
});
$(document).ready(
function(){										
	$('ul#portfolio').innerfade({
		speed: 1000,
		timeout: 5000,
		type: 'sequence',
		containerheight: '130px'
	});
});
