$(document).ready(function() {

// front page image slide and loading message
///$('div.screenShot').after('<div class="loading">Loading...</div>');
///$('div.screenShot').hide();

// var someDiv = $('div.screenShot');

/*
$('div.screenShot img').load(function() {
$(this).parents(someDiv).slideDown(1000, function() {

var pid = $('div.loading');
pid.slideUp(); 
});
});
*/


// images loaded or cached?
//attach onImagesLoad to the selector 
/*
$('.screenShot').onImagesLoad({ 
    selectorCallback: selectorImagesLoaded 
}); 

function selectorImagesLoaded($selector){

$('div.screenShot img').parents($('div.screenShot')).slideDown(1000, function() {
	var pid = $('div.loading');
	pid.slideUp();
});

if( console ) {
console.log('load script fired');
}
};
*/


//friends show hide
$('div#friendsShow').hide();

$('#slideDown').click(function(){
	$('div#friendsShow').slideDown();
	
	$('#slideDown').addClass('hide');
	$('#slideUp').removeClass('hide');
	return false;
	});
$('#slideUp').click(function(){
	$('div#friendsShow').slideUp();
	
	$('#slideUp').addClass('hide');
	$('#slideDown').removeClass('hide');
	return false;
	});


// external link bug graphic
$('a.ext').after('<img src="_img/ext_link.gif" />');



});
// END dom ready


