var $j = jQuery.noConflict();

		$j(document).ready(function() {


//=-=-=-=-=-=-=-=-
// jCYCLE
//=-=-=-=-=-=-=-=-

	$j('#slideshow').cycle({
		fx:  'fade',
		speed: 500,
		timeout: 5000,
		cleartype:  1
		});


	//$j('#screenshots').cycle({
	//	fx:  'scrollHorz',
	//	speed: 500,
	//	timeout: 0,
	//	prev: '#Previous',
	//	next: '#Next'
	//	});


	$j('#quote').children().css('background-color', '#000')

	$j('#quote').cycle({
		fx:  'fade',
		speed: 2000,
		timeout: 8000,
		cleartype:  1
		});


//=-=-=-=-=-=-=-=-
// HOVER SCRIPTS
//=-=-=-=-=-=-=-=-

	$j('div.bloghighlight').hover(function() {
		$j(this).addClass('active');
		}, function() {
		$j(this).removeClass('active');
		});



	$j('#social img').css('opacity', '1');
	
	$j('#social img').hover(function() {
		$j(this).stop().animate({
			opacity: 0.5
			}, 250);
		},
		
		function() {
		$j(this).stop().animate({
			opacity: 1
			}, 250);
		});



	$j('.opaquehover').css('opacity', '1');

	$j('.opaquehover').hover(function() {
		$j(this).stop().animate({
			opacity: 0.5
			}, 250);
		},

		function() {
		$j(this).stop().animate({
			opacity: 1
			}, 250);
		});



	$j('.p2thumb').hover(function() {
		$j(this).children('div.frost').stop().animate({
			opacity: 1
			}, 250);
		},

		function() {
		$j(this).children('div.frost').stop().animate({
			opacity: 0
			}, 250);
		});



	$j('#networklinks img').css('opacity', '1');

	$j('#networklinks img').hover(function() {
		$j(this).stop().animate({
			opacity: 0.5
			}, 250);
		},

		function() {
		$j(this).stop().animate({
			opacity: 1
			}, 250);
		});



	$j('.transhover').css('opacity', '1');

	$j('.transhover').hover(function() {
		$j(this).stop().animate({
			opacity: 0.9
			}, 250);
		},

		function() {
		$j(this).stop().animate({
			opacity: 1
			}, 250);
		});


	$j('a.viewfolio').hover(function() {
		$j(this).css('opacity', '0.75');
		}, 
		function() {
			$j(this).css('opacity', '1');
			});



//=-=-=-=-=-=-=-=-=-
// NOT BEING USED
//=-=-=-=-=-=-=-=-=-

	//$j("a.p2foliolink").click(function() {
	//	//var link = $j(this).attr('title', 'value')
	//	var link = $j(this).attr("id");
	//	$j("#p2right").load("p2pages/"+link+".html");
	//});

	//$j("a.p2idlink").click(function() {
	//	//var link = $j(this).attr('title', 'value')
	//	var link = $j(this).attr("id");
	//	$j("#p2right").load("p2idpages/"+link+".html");
	//});


	//$j('#bookmark li').hover(function() {
	//	$j('#bookmark li ul').css('display', 'block');
	//}, function() {

	//	setTimeout(function() {
	//		$j('#bookmark li ul').css('display', 'none');
	//		}, 1000);

	//});


	// $j('#slideshow').mouseover(function() {
	// 	$j('div.imginfo').animate({
	// 		"top": "194px"
	// 		}, { queue:false, duration:500 });
	// 	});

	// $j('#slideshow').mouseout(function() {
	// 	$j('div.imginfo').animate({
	// 		"top": "306px"
	// 		}, { queue:false, duration:500 });
	// 	});
			
		});