sheaffer pens | custom branded pens | engraved custom pens india '); $('#infscrl_loader').show('fade slow'); }, success: function(html) { var div = $('.productlays', $(html)); $('.infscrlintro').append(div); var pagenext = parseInt($('#pagenext').val()); var maxpage = parseInt($('#maxpage').val()); if(pagenext<=maxpage){$('#pagenext').val(pagenext+1);} $('#grid-view').trigger('click'); if(!div || 0 === div.length) { $('#infscrl_loader').html('No More Products !!'); $('#show_more_result').hide(); } else { $('#infscrl_loader').hide('fade slow'); } } }); }else{//alert("repeated:"+pagenext); } }); }); function ScrollHandler1() { // getData();	//do work }