
var move=true;

var lW=0;


$(document).ready(function(){




$("#loga").mouseenter(function(){
move=false;
});
$("#loga").mouseleave(function(){
move=true;
LA();
});
$(".logo").mouseenter(function(){
$(this).css('top','0px');
});
$(".logo").mouseleave(function(){
$(this).css('top','0px');
});


$(".round").addClass('corner').addClass('iradius16').css("height","100px").css("width","150px");

});

function LA() {
var plus=0;
	$('.logo').each(function(){
	$(this).css('left',$(this).css('left').replace("px","")-1+"px");
	if ($(this).css('left').replace("px","") <-200) 
	{
		
		plus=$(this).css('left').replace("px","")*1+lW*1;
		
		$(this).css('left',(plus*1)+"px");
		
	}
	
	});
	
	if (move) setTimeout('LA()','25');
	
}


window.onload=function() {
	$('.logo').each(function(){
	lW=lW+$(this).width();
	});
	LA();
	if(cornerOnload) cornerOnload(); if(isIE){addIECorners(); }else {addCorners();}
	var rh=$(".right").height();
	var lh=$(".left").height();
	if (rh>lh) 
		$(".colSep").css("height",$(".right").height()-23+"px");
	else
		$(".colSep").css("height",$(".left").height()-30+"px");
}
