Sitede otomatik açılan popup var bu popup belirli bir sürenin sonunda nasıl kapanır otomatik
#tpopup{
  position:absolute;
  width:100%;
  height:100%;
  background:#fff;

  border-radius:5px;
margin-top:-22px;

  text-align:center;
  box-shadow:0 0 10px 0 #000;
}
		   #tpopup img{
		   height:100%;
			   width:100%;
		   }
#tclose {
	height: 37px;
    padding: 2px;
    position: absolute;
    background: black;
    color: white;
    right: calc(50% - 150px);;
    top: 80%;
    border-radius: 11px;
    width: 300px;
    font-size: 24px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 8px;
    font-weight: bold;
    font-family: 'Arial Black', Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 0 10px 0 #000;
}
	   
	   </style>
		   <script>
		   $(document).ready(function(){
  
  $("#thover").click(function(){
		$(this).fadeOut();
    $("#tpopup").fadeOut();
	});
  
  
  $("#tclose").click(function(){
		$("#thover").fadeOut();
    $("#tpopup").fadeOut();
	});
  
});

		   </script>