// JavaScript Document

$(document).ready(function(){

 
 



$("a.HOME_NAV").hover(function(){
   
    $("#nav_home").attr( "src", "ej_site_3/images/buttons/NAV_BTNS/home_base.jpg" , "slow" );
	},function(){
    $("#nav_home").attr( "src", "ej_site_3/images/buttons/NAV_BTNS/home_hover.jpg" ,"slow" );	
	
});


$("a.CLIENTS_NAV").hover(function(){
   
    $("#nav_clients").attr( "src", "ej_site_3/images/buttons/NAV_BTNS/clients_base.jpg" , "slow" );
	},function(){
    $("#nav_clients").attr( "src", "ej_site_3/images/buttons/NAV_BTNS/clients_hover.jpg" ,"slow" );	
});


$("a.FASHION_NAV").hover(function(){
   
     $("#nav_fashion").attr( "src", "ej_site_3/images/buttons/NAV_BTNS/fashion_base.jpg" , "slow" );
	},function(){
    $("#nav_fashion").attr( "src", "ej_site_3/images/buttons/NAV_BTNS/fashion_hover.jpg" ,"slow" );	
	
});

$("a.GRAPHICS_NAV").hover(function(){
   
     $("#nav_graphics").attr( "src", "ej_site_3/images/buttons/NAV_BTNS/graphics_base.jpg" , "slow" );
	},function(){
    $("#nav_graphics").attr( "src", "ej_site_3/images/buttons/NAV_BTNS/graphics_hover.jpg" ,"slow" );	
	
});


$("a.ART_NAV").hover(function(){
   
     $("#nav_art").attr( "src", "ej_site_3/images/buttons/NAV_BTNS/fine_art_base.jpg" , "slow" );
	},function(){
    $("#nav_art").attr( "src", "ej_site_3/images/buttons/NAV_BTNS/fine_art_hover.jpg" ,"slow" );	
	
});


$("#flip").hover(function(){
   
     $("#slides").attr( "src", "ej_site_3/images/buttons/sliders/slider_hover.png"  );
	},function(){
    $("#slides").attr( "src", "ej_site_3/images/buttons/sliders/slider.png" );	
	
});





$("#flip").click(function(){
    $(".content_sub_text").slideToggle("slow");
	
  });



$("a.main_web").hover(function(){
   
    $("#web_base").attr( "src", "ej_site_3/images/buttons/content_btns/web1_hover_buttons.png");
	$("#w1").css("color","#FFF");
	},function(){
    $("#web_base").attr( "src", "ej_site_3/images/buttons/content_btns/web_base_buttons.png");
	$("#w1").css("color","#999");
	
});


$("a.main_graphic").hover(function(){
   
    $("#graphic_base").attr( "src", "ej_site_3/images/buttons/content_btns/graphics_hover_buttons.png");
	$("#w2").css("color","#FFF");
	},function(){
    $("#graphic_base").attr( "src", "ej_site_3/images/buttons/content_btns/graphics_baser_buttons.png");	
	$("#w2").css("color","#999");
	
});

$("a.main_fashion").hover(function(){
   
    $("#fashion_base").attr( "src", "ej_site_3/images/buttons/content_btns/fashion_hover_buttons.png");
	$("#w3").css("color","#FFF");
	},function(){
    $("#fashion_base").attr( "src", "ej_site_3/images/buttons/content_btns/fashion_base_buttons.png");	
	$("#w3").css("color","#999");
	
});

$("a.main_fine_art").hover(function(){
   
    $("#fine_base").attr( "src", "ej_site_3/images/buttons/content_btns/fine_art_hover_buttons.png");
	$("#w4").css("color","#FFF");
	},function(){
    $("#fine_base").attr( "src", "ej_site_3/images/buttons/content_btns/fine_art_base_buttons.png");	
	$("#w4").css("color","#999");
	
});

$("a.c_angelz_web").hover(function(){
   
    $("#c_angelz_base").attr( "src", "ej_site_3/images/buttons/web_site/c_angelz_hover_buttons.png");
	$("#w5").css("color","#FFF");
	},function(){
    $("#c_angelz_base").attr( "src", "ej_site_3/images/buttons/web_site/base_buttons.png");	
	$("#w5").css("color","#999");
	
});

$("a.patwa_web").hover(function(){
   
    $("#patwa_base").attr( "src", "ej_site_3/images/buttons/web_site/patwa_hover_buttons.png");
	$("#w6").css("color","#FFF");
	},function(){
    $("#patwa_base").attr( "src", "ej_site_3/images/buttons/web_site/patwa_base_buttons.png");	
	$("#w6").css("color","#999");
	
});

$("a.fmic_web").hover(function(){
   
    $("#fmic_base").attr( "src", "ej_site_3/images/buttons/web_site/fmic_hover_buttons.png");
	$("#w7").css("color","#FFF");
	},function(){
    $("#fmic_base").attr( "src", "ej_site_3/images/buttons/web_site/fmic_base_buttons.png");	
	$("#w7").css("color","#999");
	
});

$("a.hl1_web").hover(function(){
   
    $("#hl1_base").attr( "src", "ej_site_3/images/buttons/web_site/HL1_hover_buttons.png");
	$("#w8").css("color","#FFF");
	},function(){
    $("#hl1_base").attr( "src", "ej_site_3/images/buttons/web_site/HL1_base_buttons.png");	
	$("#w8").css("color","#999");
	
});

$("a.hl2_web").hover(function(){
   
    $("#hl2_base").attr( "src", "ej_site_3/images/buttons/web_site/hl2_hover_buttons.png");
	$("#w9").css("color","#FFF");
	},function(){
    $("#hl2_base").attr( "src", "ej_site_3/images/buttons/web_site/hl2_base_buttons.png");	
	$("#w9").css("color","#999");
	
});

$("a.ejungle_mag_web").hover(function(){
   
    $("#ejungle_mag_base").attr( "src", "ej_site_3/images/buttons/web_site/mag_hover_buttons.png");
	$("#w10").css("color","#FFF");
	},function(){
    $("#ejungle_mag_base").attr( "src", "ej_site_3/images/buttons/web_site/mag_base_buttons.png");	
	$("#w10").css("color","#999");
	
});


$("a.sepia_class1").click(function(){
   
    $("#fine_art_box").attr( "src", "images/drawings/sepia1.jpg" );
	$("p").html("I drew this illustration at Farmingdale for a figure drawing class in 1996. The original size for this art work is 34 inches width b 20 inches height. The prooject was to draw a five minute sketch of a live model (Christine) using sepia chalk, ontotan construction paper.");
});


$("a.sepia_class2").click(function(){
   
    $("#fine_art_box").attr( "src", "images/drawings/sepia2.jpg" );
	$("p").html("I drew this Illustration at Farmingdale for a figure drawing class in 1996. The original size for this artwork is 34 inches width by 20 inches height. The project was to draw a five minute sketch of a live model (Christine) using sepia chalk, onto tan construction paper.");
});

$("a.sepia_class3").click(function(){
   
    $("#fine_art_box").attr( "src", "images/drawings/poleMan.jpg" );
	$("p").html("I drew this Illustration at Farmingdale for a figure drawing class in 1996. The original size for this artwork is 34 inches width by 20 inches height. The project was to draw a twenty  minute sketch of a live model (Paul) using sepia chalk, onto white construction paper. I received an A for this project.");
});

$("a.sepia_class4").click(function(){
   
    $("#fine_art_box").attr( "src", "images/drawings/sepia_waterColor.jpg" );
	$("p").html("I drew this Illustration at Farmingdale for a figure drawing class in 1996. The original size for this artwork is 20 inches width by 34 inches height. The project was to draw images using different mediums and combining them into one full artwork. I decided to use one image as a muse and to break that image up using water color, and sepia, with two different styles of the sepia chalk.  I received an A for this project.");
});


$("a.pencil_class1").click(function(){
   
    $("#fine_art_box").attr( "src", "images/drawings/tyson.jpg" );
	$("p").html("In 1997, at F.I.T. there was no longer a demand for me to study figure drawing, however hand drawing was my first introduction to my love of art. So even-though it was not required of me and I had very little time. I still drew. With out direction I used anything that I could as a muse. I drew portraits of friends, celebrities of that era, trees, cars, buildings. This drawing is of a super model of that time period Tyson,");
});

$("a.pencil_class2").click(function(){
   
    $("#fine_art_box").attr( "src", "images/drawings/girl1.jpg" );
	$("p").html("In 1997, at F.I.T. there was no longer a demand for me to study figure drawing, however hand drawing was my first introduction to my love of art. So even-though it was not required of me and I had very little time. I still drew. With out direction I used anything that I could as a muse. I drew portraits of friends, celebrities of that era, trees, cars, buildings. This drawing is of a friend I knew once,");
});

$("a.pencil_class3").click(function(){
   
    $("#fine_art_box").attr( "src", "images/drawings/biggie.jpg" );
	$("p").html("In 1997, at F.I.T. there was no longer a demand for me to study figure drawing, however hand drawing was my first introduction to my love of art. So even-though it was not required of me and I had very little time. I still drew. With out direction I used anything that I could as a muse. I drew portraits of friends, celebrities of that era, trees, cars, buildings. This drawing is of a famous rapper of that time period Notorious BIG,");
});

$("a.pencil_class4").click(function(){
   
    $("#fine_art_box").attr( "src", "images/drawings/tree1.jpg" );
	$("p").html("In 1997, at F.I.T. there was no longer a demand for me to study figure drawing, however hand drawing was my first introduction to my love of art. So even-though it was not required of me and I had very little time. I still drew. With out direction I used anything that I could as a muse. I drew portraits of friends, celebrities of that era, trees, cars, buildings. This drawing is of a tree I passed everyday in the Bronx walking to the train to go to class,");
});





 $("#content-slider").slider({
    animate: true,
    change: handleSliderChange,
    slide: handleSliderSlide
  });

});

function handleSliderChange(e, ui)
{
  var maxScroll = $("#content-scroll").attr("scrollWidth") - $("#content-scroll").width();
  $("#content-scroll").animate({scrollLeft: ui.value * (maxScroll / 100) }, 1000);
}

function handleSliderSlide(e, ui)
{
  var maxScroll = $("#content-scroll").attr("scrollWidth") - $("#content-scroll").width();
  $("#content-scroll").attr({scrollLeft: ui.value * (maxScroll / 100) });
}



