var count = 20; var title= "Best Selling Hindi Movies" ; var page=1; var hindi_best_sellers_2_currentPage=1; var hindi_best_sellers_2_totalPages; var poweredBy="powered by www.infibeam.com"; function hindi_best_sellers_2_loadNextPage(){ var currentPage=hindi_best_sellers_2_currentPage; var totalPages= hindi_best_sellers_2_totalPages; if(currentPage!=totalPages){ try{ var currentElements=document.getElementsByClassName('hindi_best_sellers_2_'+currentPage); var nextElements=document.getElementsByClassName('hindi_best_sellers_2_'+(currentPage+1)); for(i=0;i4){ html+=loadArrows(); } html+= ""; html+=""; var startup=0; for(i=0;i"; }else{ html+=""; } html+=""; html+=""; html+=""; } html+=""; html+="
"; var operator =(data.wishList[i].url.indexOf('?')!=-1)?"&":"?"; html+=""; html+=""; html+=""; html+=""; html+=""; var operator =(data.wishList[i].url.indexOf('?')!=-1)?"&":"?"; html+=""; html+=data.wishList[i].title.substring(0,20)+"..."; html+=""; html+="
"; html+=""; html+="Rs. "; html+=""; html+=data.wishList[i].itemprice; html+=" "; html+=data.wishList[i].finalprice; html+=""; html+="
"; html+="
"; html+=""; html+=""; html+=""; document.getElementById(divId).innerHTML=html; } function loadArrows(){ var html=""; html+=""; html+=""; html+=""; html+=""; html+="
"; return html; } function hindi_best_sellers_2_init(){ var newScript = document.createElement('script'); newScript.type = 'text/javascript'; var url ="http://www.infibeam.com/Showcase.action?ajax=true&json=true&store=Movies&tag=hindi-best-sellers"; url+='&count='+count; newScript.src = url; document.getElementsByTagName("head")[0].appendChild(newScript); } hindi_best_sellers_2_init();