// JavaScript Document
function Swap(target)  
{ 

if(target=='l_b')
{
 var scrollTop = $(document).scrollTop();
$('.l_b').css({
		position:'absolute',
		left: ($(window).width() - $('.l_b').outerWidth())/2,
		top: ($(window).height() - $('.l_b').outerHeight())/2 + scrollTop
     
    
    
    
	});


	  if ($("table#l_b").is(":hidden")) {
	    $("table#.l_b").fadeIn("slow");
	  } else {
	    $("table#l_b").fadeOut("slow");
	  }
}
else
{ 

 
//target = document.getElementById(target).style; 
//target.display = target.display == "none"?"":"none";

	  if ($("#"+target).is(":hidden")) {
	    $("#"+target).slideDown("slow");
	  } else {
	    $("#"+target).slideUp("slow");
	  }

 
}


 
} 

function find (where,i)
	{ 
	document.getElementById(where).value=i;
	};


 
 
 

function login_top(){


var scrollTop = $(document).scrollTop();

$('.l_b').css({
		position:'absolute',
		left: ($(window).width() - $('.l_b').outerWidth())/2,
		top:  ($(window).height() - $('.l_b').outerHeight())/2 + scrollTop
 
 	});
 	 setTimeout(login_top,500);
 };
        
 setTimeout(login_top,500);
 
