// JavaScript Document
$(document).ready(function(){

$("ul.container li").hover(function() {
	$(this).find('img').addClass("hover").stop()
		.animate({ 
			marginTop: '-10px', 
			marginLeft: '0px',  
			padding: '0px' 
		}, 240);
  } , function() { 
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0px', 
			marginLeft: '0', 
			padding: '0px'
		}, 240);
  });
  $("ul.container li").hover(function() {
		$(this).find("div").stop()
		.animate({top: "10", opacity:0.5}, 240)
	}, function() {
		$(this).find("div").stop()
		.animate({top: "0", opacity: 0}, 240)
	});
  $("ul.container li.active").hover(function(){ 
  $(this).find('img').addClass("hover").stop()
		.animate({ 
			marginTop: '0px', 
			marginLeft: '0px',  
			padding: '0px' 
		}, 0); 
  }, function() {
    $(this).find("div").stop()
		.animate({top: "10", opacity:0.5}, 240)
		.css("display","block")    
  });
  $("ul.banery li").hover(function() {
		$(this).find("span").stop().fadeTo(350, 0.5);
		$(this).find("div").stop().fadeTo(350, 1);
	} , function() {  
		$(this).find("span").stop().fadeTo(450, 1);
		$(this).find("div").stop().fadeTo(250, 0.5);
	});    
 
});
function updateObjectIframe(which){
    document.getElementById('one').innerHTML = '<'+'object id="foo" name="foo" type="text/html" data="'+which.href+'"><\/object>';
}
function updateObjectIframe(which){
    document.getElementById('one').innerHTML = '<'+'object id="foo1" name="foo" type="text/html" data="'+which.href+'"><\/object>';
}

