$(document).ready(function(){

//Blur Links (Prevents Outline)
$('a').click(function() {
this.blur();
});

//Hide all item descriptions in the info box
$("#infobox > div").css("display", "none");

//Call in the info box
$(".more a").click(function(){
$("#infobox").animate({bottom: '233px' }, 300);
$("#fade_bg").fadeIn();
return false;
});

//Expand more info button on hover
$(".more").hover(function(){
$(this).stop().animate({width: '225px' }, 200).css({'z-index' : '10'}); 

//Change the width increase caption size
}, function () {
$(this).stop().animate({width: '50px' }, 200).css({'z-index' : '1'});
});

//Show description for selected item
$("#proekt28053 a").click(function(){
$("#proekt28053_info").show();
});
$("#lostchat a").click(function(){
$("#lostchat_info").show();
});
$("#lostchatComunity a").click(function(){
$("#lostchatComunity_info").show();
});
$("#twd28053 a").click(function(){
$("#twd28053_info").show();
});
$("#jobs28053 a").click(function(){
$("#jobs28053_info").show();
});
$("#emo28053 a").click(function(){
$("#emo28053_info").show();
});
$("#old28053 a").click(function(){
$("#old28053_info").show();
});
$("#forum28053 a").click(function(){
$("#forum28053_info").show();
});
$("#lostchat28053 a").click(function(){
$("#lostchat28053_info").show();
});
$("#taffiSeite a").click(function(){
$("#taffiSeite_info").show();
});
$("#webDirectory a").click(function(){
$("#webDirectory_info").show();
});
$("#catalog28053 a").click(function(){
$("#catalog28053_info").show();
});
$("#projekt28053 a").click(function(){
$("#projekt28053_info").show();
});
$("#admChatcity a").click(function(){
$("#admChatcity_info").show();
});
$("#webCollection a").click(function(){
$("#webCollection_info").show();
});
$("#newStayLand a").click(function(){
$("#newStayLand_info").show();
});
$("#cityChats a").click(function(){
$("#cityChats_info").show();
});
$("#glamourChat a").click(function(){
$("#glamourChat_info").show();
});
$("#gallery28053 a").click(function(){
$("#gallery28053_info").show();
});
$("#lost-chat a").click(function(){
$("#lost-chat_info").show();
});
$("#lostchatFaq a").click(function(){
$("#lostchatFaq_info").show();
});

//Remove background, info box and hide all descriptions
$("#fade_bg, .close").click(function(){
$("#fade_bg").fadeOut();
$("#infobox").animate({bottom: '-200px' }, 300, function() {
$("#infobox > div").css("display", "none");
});
return false;
});
});

