diff --git a/upload/styles/cb_28/theme/js/clipbucket.min.js b/upload/styles/cb_28/theme/js/clipbucket.min.js
new file mode 100755
index 00000000..ec8ec563
--- /dev/null
+++ b/upload/styles/cb_28/theme/js/clipbucket.min.js
@@ -0,0 +1 @@
+!function(window){var _cb=function(){if(this.baseurl=baseurl,this.imageurl="",this.page=this.baseurl+"/ajax.php",this.loading_img="",this.loading=this.loading_img+" Loading...",this.download=0,this.total_size=0,this.cur_speed=0,this.status_refesh=1,this.result_page=this.baseurl+"/actions/file_results.php",this.download_page=this.baseurl+"/actions/file_downloader.php",this.count=0,this.hasLoaded=!1,this.perc_download=0,this.force_stop=!1,this.remoteObjID="",this.current_menu="",this.normal_player_html="",this.hq_player_html="",this.has_hq_function=!1,this.collectionID=!1,this.keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",this.ua=navigator.userAgent.toLowerCase(),this.ua.indexOf(" chrome/")>=0||this.ua.indexOf(" firefox/")>=0||this.ua.indexOf(" gecko/")>=0);else;this.setRemoteId=function(){this.remoteObjID=this.randomString()},this.Confirm_Delete=function(t){confirm("Are you sure you want to delete")&&(document.location=t)},this.Confirm_Uninstall=function(t){confirm("Are you sure you want to uninstall this plugin ?")&&(document.location=t)},this.confirm_it=function(t){var e=confirm(t);return e?!0:!1},this.reloadImage=function(t,e){img=document.getElementById(e),img.src=t+"?"+Math.random()},this.validate_category_form=function(thisform){with(thisform){if(0==validate_required(title,"Title must be filled out!"))return title.focus(),!1;if(0==validate_required(description,"Description must be filled out!"))return description.focus(),!1}},this.validate_ad_form=function(thisform){with(thisform){if(0==validate_required(name,"Name must be filled out!"))return name.focus(),!1;if(0==validate_required(type,"Type must be filled out!"))return type.focus(),!1;if(0==validate_required(syntax,"Syntax Must Be Filled Out"))return syntax.focus(),!1;if(0==validate_required(code,"Code Must Be Filled Out"))return code.focus(),!1}},this.randomString=function(){for(var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",e=8,a="",o=0;e>o;o++){var i=Math.floor(Math.random()*t.length);a+=t.substring(i,i+1)}return a},this.check_remote_url=function(){var t=this,e=$("#remote_file_url").val(),a=$("#ytUploadBttn"),o=$("#remoteUploadBttn"),i=$("#remoteUploadBttnStop");if(this.force_stop=!1,e.match(/^e.g/)||"undefined"==typeof e||0===e.length)return alert("Please enter file url"),!1;var s=function(t){"undefined"!=typeof t?(o.attr("disabled","disabled"),a.attr("disabled","disabled")):($(".downloadStatusContainer").removeClass("hidden"),o.attr("disabled","disabled").hide(),a.attr("disabled","disabled"),i.show())},n=function(t){"undefined"!=typeof t?(i.removeAttr("disabled").hide(),a.removeAttr("disabled"),o.removeAttr("disabled").show()):($(".downloadStatusContainer").addClass("hidden"),i.removeAttr("disabled").hide(),a.removeAttr("disabled"),o.removeAttr("disabled").show())};s();var l=$.ajax({url:t.download_page,type:"POST",data:{file:e,file_name:file_name},dataType:"JSON",beforeSend:function(){t.remoteUploadStatusUpdate();var a=t.getName(e);$("#loading").html("Downloading"),$("#remoteFileName").replaceWith('"'+a+'"')},success:function(e){if(t.force_stop=!0,e.error)return t.force_stop=!0,n(),alert(e.error),!1;n(),$("#loading").html("");var a=e.vid;$.post(t.baseurl+"/actions/getVideoDetails.php",{file_name:file_name,vid:a},function(t){var e=$("#updateVideoInfoForm").clone();$(e).find("input[name=title]").val(t.title),$(e).find("textarea#desc").val(t.description),$(e).find("input[name='category[]']:first").attr("checked","checked");var o=document.createElement("input");o.name="videoid",o.type="hidden",o.value=a;var i=document.createElement("input");i.name="file_name",i.type="hidden",i.value=file_name,$(e).append(o),$(e).append(i),$("#remoteForm").html(""),$(e).removeClass("hidden").attr("id","uploadFormContainer_remote").appendTo("#remoteForm"),$(e).find("form").on({submit:function(t){t.preventDefault();var e=$(this),a=$(e).serialize();a+="&updateVideo=yes",$.ajax({url:baseurl+"/actions/file_uploader.php",type:"post",data:a}).success(function(t){msg=$.parseJSON(t),$("#uploadMessage").removeClass("hidden"),msg.error?$("#uploadMessage").html(msg.error).attr("class","alert alert-danger"):$("#uploadMessage").html(msg.msg).attr("class","alert alert-success"),setTimeout(function(){$("#uploadMessage").addClass("hidden")},5e3)})}}),$(".formSection h4").on({click:function(t){t.preventDefault(),$(this).find("i").hasClass("glyphicon-chevron-down")?($(this).find("i").removeClass("glyphicon-chevron-down").addClass("glyphicon-chevron-up"),$(this).next().toggleClass("hidden")):($(this).find("i").removeClass("glyphicon-chevron-up").addClass("glyphicon-chevron-down"),$(this).next().toggleClass("hidden"))}}),$(e).on({submit:function(t){t.preventDefault();var e=$(this).serialize();e+="&updateVideo=yes",$.ajax({url:baseurl+"/actions/file_uploader.php",type:"post",data:e,dataType:"JSON"}).success(function(t){$("#uploadMessage").removeClass("hidden"),t.error?$("#uploadMessage").html(t.error).attr("class","alert alert-danger"):$("#uploadMessage").html(t.msg).attr("class","alert alert-success"),setTimeout(function(){$("#uploadMessage").addClass("hidden")},5e3)}).fail(function(t){console.log(t)})}})},"json")}});$("#remoteUploadBttnStop").click(function(){l.abort(),this.force_stop=!0,$("#loading").html(""),$("#remoteDownloadStatus").hide(),$(this).hide(),$("#remoteUploadBttn").attr("disabled","").show()})},this.remoteUploadStatusUpdate=function(){var t=this,e=$.ajax({url:t.result_page,type:"POST",data:{file_name:file_name},dataType:"JSON"});e.success(function(e){!1===t.force_stop&&(t.updateProgress(e),setTimeout(function(){t.remoteUploadStatusUpdate()},1e3*t.status_refesh))})},this.updateProgress=function(t){if("undefined"!=typeof t&&null!==t){var e=(t.downloaded/1048576).toFixed(2),a=(t.total_size/1048576).toFixed(2),o=t.downloaded/t.total_size*100;$("#downloadStatus").find("#downloaded").text(e+" Mb"),$("#downloadStatus").find("#totalSize").text(a+" Mb"),$("#prog_bar").css("width",o+"%")}},this.youtube_check_url=function(){var t=$("#remote_file_url").val();$("#ytUploadBttn"),$("#remoteUploadBttn"),$("#remoteUploadBttnStop");return this.force_stop=!1,t.match(/^e.g/)||"undefined"==typeof t||0===t.length?(alert("Please enter file url"),!1):!0},this.youtube_upload=function(){if(!this.youtube_check_url())return!1;$("#remoteUploadBttn").attr("disabled","disabled"),$("#ytUploadBttn").attr("disabled","disabled");var t=$("#remote_file_url").val();if(force_stop=!1,!t||"undefined"==t)return alert("Please enter file url"),$("#remoteUploadBttn").attr("disabled",""),$("#ytUploadBttn").attr("disabled",""),!1;$.ajax({url:download_page,type:"POST",data:{file:t,file_name:file_name,youtube:"yes"},dataType:"json",beforeSend:function(){$("#loading").html('
Uploading video from youtube, please wait...
')},success:function(t){t.error?(force_stop=!0,$("#remoteUploadBttn").attr("disabled",""),$("#ytUploadBttn").attr("disabled",""),alert(t.error)):t.vid&&(alert("this is checked success"),vid=t.vid,$("#remoteUploadBttn").attr("disabled","disabled").hide(),$("#ytUploadBttn").attr("disabled","disabled").hide(),$.post(baseurl+"/actions/file_uploader.php",{getForm:"get_form",title:t.title,desc:t.desc,tags:t.tags,objId:remoteObjID},function(t){$("#remoteForm").append(t),$("#cbSubmitUpload"+remoteObjID).before('').attr("disabled","").attr("value",lang.saveData).attr("onClick","doUpdateVideo('#uploadForm"+remoteObjID+"','"+remoteObjID+"')").after('').after('')},"text")),$("#loading").html("")}})},this.status_update=function(){var t=this;$.ajax({url:t.result_page,type:"POST",data:{file_name:file_name},dataType:"json",success:function(e){if(e){var a=parseFloat(e.total_size),o=parseFloat(e.downloaded),i=parseFloat(e.total_size_fm),s=parseFloat(e.downloaded_fm),n=parseFloat(e.speed_download),l=(parseFloat(e.time_eta),parseFloat(e.time_eta_fm)),d=(parseFloat(e.time_took),parseFloat(e.time_took_fm));if(n/1024/1024>1)var r=Math.round(n/1024/1024)+" Mbps";else var r=Math.round(n/1024)+" Kbps";t.perc_download=Math.round(o/a*100),isNaN(s)?($("#remoteDownloadStatus").show(),$("#prog_bar").html("Loading"),$("#dspeed").html("Loading"),$("#eta").html("Loading"),$("#status").html("Loading")):($("#remoteDownloadStatus").show(),$("#prog_bar").animate({width:t.perc_download+"%"},1e3),$("#prog_bar").html(t.perc_download+"%"),$("#dspeed").html(r),$("#eta").html(l),$("#status").html(s+" of "+i))}var c=1e3*t.status_refesh;t.perc_download>99&&(t.force_stop=!0),t.force_stop?100==t.perc_download&&a>1&&$("#time_took").html("Time Took : "+d):setTimeout(function(){t.status_update()},c)}})},this.upload_file=function(t,e){var a=this.baseurl+"/actions/file_downloader.php";$.post(a,{file_url:t,file_name:e},function(t){t?submit_upload_form():alert("No data")},"text")},this.delete_item=function(t,e,a,o){$("#"+t+"-"+e).click(function(){confirm(a)&&(document.location=o)})},this.delete_video=function(t,e,a,o){return delete_item(t,e,a,o)},this.get_video=function(t,e){$(e).css("display","block"),$(e).html(this.loading),$(e).html(this.loading),$.post(page,{mode:t},function(t){$(e).html(t)},"text")},this.getAjaxPhoto=function(t,e){var a=this;$(e).css("display","block");var o=$(e).html();$.ajax({url:a.page,type:"POST",dataType:"json",data:{mode:"loadAjaxPhotos",photosType:t},beforeSend:function(){$(e).html(this.loading)},success:function(t){t.failed&&$(e).html(o),t.completed&&$(e).html(t.photoBlocks)}})},this.rating_over=function(t,e){"disabled"!=e&&$("#rating_result_container").html(t)},this.rating_out=function(t,e){"disabled"!=e&&$("#rating_result_container").html(t)},this.submit_share_form=function(t,e){$("#share_form_results").css("display","block"),$("#share_form_results").html(this.loading),$.post(page,{mode:"share_object",type:e,users:$("#ShareUsers").val(),message:$("#message").val(),id:$("#objectid").val()},function(t){t?$("#share_form_results").html(t):alert("No data")},"text")},this.flag_object=function(t,e,a){$("#flag_form_result").css("display","block"),$("#flag_form_result").html(this.loading),$.post(page,{mode:"flag_object",type:a,flag_type:$("#"+t+" select option:selected").val(),id:e},function(t){t?($("#flag_form_result").css("display","block"),$("#flag_form_result").html(t)):alert("No data")},"text")},this.slide_up_watch_video=function(t){"block"!=$(".video_action_result_boxes "+t).css("display")&&$(".video_action_result_boxes > *").slideUp()},this.add_to_fav=function(t,e){$("#video_action_result_cont").css("display","block"),$("#video_action_result_cont").html(this.loading),$.post(page,{mode:"add_to_fav",type:t,id:e},function(t){t?($("#video_action_result_cont").css("display","block"),$("#video_action_result_cont").html(t)):alert("No data")},"text")},this.subscriber=function(t,e,a){$("#"+a).css("display","block"),$("#"+a).html(this.loading),$.post(page,{mode:e,subscribe_to:t},function(t){t?($("#"+a).css("display","block"),$("#"+a).html(t)):alert("No data")},"text")},this.add_friend=function(t,e){$("#"+e).css("display","block"),$("#"+e).html(this.loading),$.post(page,{mode:"add_friend",uid:t},function(t){t?($("#"+e).css("display","block"),$("#"+e).html(t)):alert("No data")},"text")},this.block_user=function(t,e){$("#"+e).css("display","block"),$("#"+e).html(this.loading),$.post(page,{mode:"ban_user",user:t},function(t){t?($("#"+e).css("display","block"),$("#"+e).html(t)):alert("No data")},"text")},this.rate_comment=function(t,e,a,o){$.post(page,{mode:"rate_comment",thumb:e,cid:t,type:a,typeid:o},function(e){e?(""!=e.msg&&alert(e.msg),""!=e.rate&&$("#comment_rating_"+t).html(e.rate)):alert("No data")},"json")},this.delete_comment=function(t,e){$.post(page,{mode:"delete_comment",cid:t,type:e},function(e){e?(e.msg&&(alert(e.msg),$("#comment_"+t).fadeOut("slow"),$("#spam_comment_"+t).fadeOut("slow")),e.err&&alert(e.err)):alert("No data")},"json")},this.add_comment_js=function(t,e){$("#add_comment_result").css("display","block"),$("#add_comment_result").html(this.loading),$("#add_comment_button").attr("disabled","disabled");var a=$("#"+t).serialize()+"&mode=add_comment";$.post(page,a,function(t){t?($("#add_comment_button").attr("disabled",""),$("#add_comment_result").css("display","block"),""!=t.err&&$("#add_comment_result").html(t.err),""!=t.msg&&$("#add_comment_result").html(t.msg),t.cid&&get_the_comment(t.cid,"#latest_comment_container")):alert("No data")},"json")},this.get_the_comment=function(t,e){$(e).html(this.loading),$.post(page,{mode:"get_comment",cid:t},function(t){t?($(e).css("display","none"),$(e).html(t).fadeIn("slow")):alert("No data")},"text")},this.add_playlist=function(t,e,a,o){switch($("#playlist_form_result").css("display","block"),$("#playlist_form_result").html(this.loading),t){case"add":$.post(page,{mode:"add_playlist",id:e,objtype:o,pid:$("#playlist_id option:selected").val()},function(t){t?(""!=t.err&&($("#playlist_form_result").css("display","block"),$("#playlist_form_result").html(t.err)),""!=t.msg&&($("#playlist_form_result").css("display","block"),$("#playlist_form_result").html(t.msg),$("#"+a).css("display","none"))):alert("No data")},"json");break;case"new":$.post(page,{mode:"add_new_playlist",id:e,objtype:o,plname:$("#playlist_name").val()},function(t){t?(t.err&&($("#playlist_form_result").css("display","block"),$("#playlist_form_result").html(t.err)),t.msg&&($("#playlist_form_result").css("display","block"),$("#playlist_form_result").html(t.msg),$("#"+a).css("display","none"))):alert("No data")},"json")}},this.add_quicklist=function(t,e){$(t).attr("src",this.imageurl+"/ajax-loader.gif"),$(t).css("background-position","-200px 200px"),$.post(page,{mode:"quicklist",todo:"add",vid:e},function(e){e?($(t).attr("src",this.imageurl+"/dot.gif"),$(t).css("background-position","-0px -0px"),$(t).removeClass("add_icon"),$(t).addClass("check_icon"),$(t).removeAttr("onClick"),load_quicklist_box()):alert("No data")},"text")},this.remove_qucklist=function(t,e){$.post(page,{mode:"quicklist",todo:"remove",vid:e},function(e){e?($(t).slideUp(),$(t).hide()):alert("No data")},"text")},this.load_quicklist_box=function(){$.post(page,{mode:"getquicklistbox"},function(t){t=$.trim(t),t?($("#quicklist_box").css("display","block"),$("#quicklist_box").html(t),"hide"!=$.cookie("quick_list_box")&&$("#quicklist_cont").css("display","block")):$("#quicklist_box").css("display","none")},"text")},this.clear_quicklist=function(){$.post(page,{mode:"clear_quicklist"},function(t){load_quicklist_box()},"text")},this.quick_show_hide_toggle=function(t){$(t).slideToggle(),"show"==$.cookie("quick_list_box")?$.cookie("quick_list_box","hide"):$.cookie("quick_list_box","show")},this.ini_cookies=function(){$.cookie("quick_list_box")||$.cookie("quick_list_box","show")},this.get_group_info=function(t,e){"none"==$(t).css("display")&&($("#group_info_cont > div").slideUp(),$("#group_info_cont "+t).slideDown(),$(".group_detail_tabs .selected").removeClass("selected"),$(e).addClass("selected"))},this.show_menu=function(t,e){if(window.location.hash&&e){var a=window.location.hash;return show_menu(a.substr(9),!1),!1}window.location.hash="current_"+t,this.current_menu!=t&&hide_menu(),$("#"+t).show(),this.current_menu=t,$("."+t).addClass("selected")},this.hide_menu=function(){return""!=this.current_menu?($("#"+this.current_menu).hide(),$("."+this.current_menu).removeClass("selected"),!0):void 0},this.to_reply=function(t){$("#reply_to").val(t),window.location="#add_comment"},this.spam_comment=function(t,e,a){$.post(page,{mode:"spam_comment",cid:t,type:e,typeid:a},function(e){e?(e.msg&&($("#comment_"+t).hide(),$("#spam_comment_"+t).fadeIn("slow")),e.err&&alert(e.err)):alert("No data")},"json")},this.hq_toggle=function(t,e){if(this.has_hq_function){var t=t,e=e;return hq_function(),!1}"block"==$(t).css("display")?(""==this.normal_player_html&&(this.normal_player_html=$(t).html()),$(t).html("")):""!=this.normal_player_html&&$(t).html(this.normal_player_html),"block"==$(e).css("display")?(""==this.hq_player_html&&(this.hq_player_html=$(e).html()),$(e).html("")):""!=this.hq_player_html&&$(e).html(this.hq_player_html),$(t+","+e).toggle()},this.swap_auto_play=function(){"true"==$.cookie("auto_play_playlist")?($.cookie("auto_play_playlist","false",{path:"/"}),window.location=document.location,$("#ap_status").html("off")):($.cookie("auto_play_playlist","true",{path:"/"}),window.location=document.location,$("#ap_status").html("on"))},this.collection_actions=function(t,e,a,o,i,s){switch($(o).css("display","block"),$(o).html(this.loading),e){case"add_new_item":$.post(page,{mode:e,cid:$("#"+t+" #collection").val(),obj_id:a,type:i},function(t){t?(t.msg&&$(o).html(t.msg),t.err&&$(o).html(t.err)):alert("No Data returned")},"json");break;case"remove_collection_item":$("#"+t).hide(),$.post(page,{mode:e,obj_id:a,type:i,cid:s},function(e){e?(e.err&&(alert(e.err),$(o+"_"+a).hide(),$("#"+t+a).show()),e.msg&&($(o).html(e.msg),$("#"+t+"_"+a).slideUp(350))):(alert("No Data Returned"),$(o+"_"+a).hide(),$("#"+t).show())},"json")}return!1},this.openURL=function(t){document.locati=t},this.get_item=function(t,e,a,o,i){var s=$(t).html();$(t).html(this.loading),$.post(page,{mode:"get_item",ci_id:e,cid:a,type:o,direction:i},function(e){if(e){var a=new Array(o,e.cid,e.key);construct_url(a),$("#collectionItemView").html(e.content)}else alert("No "+o+" returned"),$(t).text(s)},"json")},this.construct_url=function(t){var e;"yes"==Seo?(e="#!/item/"+t[0]+"/"+t[1]+"/"+t[2],window.location.hash=e):(e="#!?item="+t[2]+"&type="+t[0]+"&collection="+t[1],window.location.hash=e)},this.onReload_item=function(){var t,e;window.location.hash&&(t=window.location.href,"yes"==Seo?(e=RegExp("/item.+#!"),e.test(t)&&(t=t.replace(e,""),window.location.href=t)):(e=RegExp("\\?item.+#!"),e.test(t)&&(t=t.replace(e,""),window.location.href=t)))},this.pagination=function(t,e,a,o){var i,s=this,n=$(t),l=(n.id,n.parent()),d=n.html();l.attr("id")?i=parent.attr("id"):(l.attr("id","loadMoreParent"),i=l.attr("id")),newCall=$.ajax({url:s.page,type:"post",dataType:"json",data:{mode:"moreItems",page:o,cid:e,type:a},beforeSend:function(){n.removeAttr("onClick"),n.html(s.loading)},success:function(e){e.error?("BUTTON"==t.tagName&&n.attr("disabled","disabled"),n.removeAttr("onClick"),n.html("No more "+a)):($("#collectionItemsList").append(e.content),$("#NewPagination").html(e.pagination),n.html(d))}})},this.ajax_add_collection=function(t){var e,a=this,o=t.form.id,i=$("#"+o),s=$(t),n=s.html(),l=$("#CollectionResult");e=$.ajax({url:a.page,type:"post",dataType:"json",data:"mode=add_collection&"+i.serialize(),beforeSend:function(){"block"==l.css("display")&&l.slideUp("fast"),s.attr("disabled","disabled"),s.html(this.loading)},success:function(t){t.msg?($("#CollectionDIV").slideUp("fast"),l.html(t.msg).slideDown("fast"),this.collectionID=t.id):(l.html(t.err).slideDown("fast"),s.removeAttr("disabled"),s.html(n))}})},this.getDetails=function(t){var e=getInputs(t),a=new Array(e.length);return $.each(e,function(t,e){query=$("#"+e.id+" *").serialize(),query+="&mode=ajaxPhotos",a[t]=query}),a},this.getName=function(t){var e=t,a=e.substring(e.lastIndexOf("/")+1);return a},this.viewRatings=function(t,e){var a=$(t),o=a.html();document.getElementById("RatingStatContainer")?$("#RatingStatContainer").toggle():loadAjax=$.ajax({url:page,type:"post",dataType:"text",data:{mode:"viewPhotoRating",photoid:e},beforeSend:function(){a.html(this.loading)},success:function(t){a.html(o),t?$("").attr("id","RatingStatContainer").addClass("clearfix").css({padding:"8px",font:"normal 11px Tahoma",border:"1px solid #ccc",backgroundColor:"#FFF"}).html(t).fadeIn(350).insertAfter(a):(a.removeAttr("onclick"),alert("Photo has not recieved any rating yet."))}})},this.showAdvanceSearch=function(t,e,a,o){var i=($("#"+t),$("#"+e)),s=$("#SearchType").val();i.toggle(),"block"==i.css("display")&&i.children().hide().filter("#"+s).show(),$("."+a).toggleClass(o)},this.toggleCategory=function(t,e){var a=$(t),o=a.attr("alt"),i=$("#"+o),s=o.split("_"),n=s[0],l=$.browser.msie,d=$.browser.version;"none"==i.css("display")?(i.slideDown(350),l&&"7.0"==d&&i.addClass("internetExplorer7CategoryToggleFix"),$.cookie(n,"expanded",{expires:1,path:"/"}),a.removeClass("none").addClass("block")):(i.slideUp(350),l&&"7.0"==d&&i.removeClass("internetExplorer7CategoryToggleFix"),$.cookie(n,"collapsed",{expires:1,path:"/"}),a.removeClass("block").addClass("none"))},this.loadObject=function(t,e,a,o){var i=this,s=new Array(4);s["this"]=t,s.type=e,s.objID=a,s.container=o;var n=$(s["this"]);n.parent().css("position","relative"),$.ajax({url:i.page,type:"POST",dataType:"json",data:{mode:"channelFeatured",contentType:s.type,objID:s.objID},beforeSend:function(){n.find("img").animate({opacity:.5}),$("#"+s.container).animate({opacity:.5})},success:function(t){t.error?(n.find("img").animate({opacity:1}),$("#"+s.container).animate({opacity:1}),alert(t.error)):(n.parent().children(".selected").removeClass("selected"),n.addClass("selected"),n.find("img").animate({opacity:1}),$("#"+s.container).html(t.data),$("#"+s.container).animate({opacity:1}))}})},this.channelObjects=function(t,e,a,o,i){var s=this,n=$(t),l=n.attr("rel"),d=$(e),r=n.parents("ul").find("a.selected").attr("rel");if(l){if("block"==$("#"+l).css("display"))return!1;n.parents("ul").find("a.selected").removeClass("selected"),n.addClass("selected"),$("#"+r).hide(),$("#"+l).show()}else{var c=a+"DIV";n.attr("rel",c),$.ajax({url:s.page,type:"POST",dataType:"json",data:{mode:"channelObjects",content:a,user:o,assign:i},beforeSend:function(){n.append(this.loading_img)},success:function(t){n.find("img").remove(),n.parents("ul").find("a.selected").removeClass("selected"),n.addClass("selected"),$("#"+r).hide(),$("").attr("id",c).addClass($("#"+r).attr("class")).html(t.html).appendTo(d)}})}};var comments_voting="no";this.getComments=function(t,e,a,o,i,s,n){alert("ASD");var l=this;$("#comments").html("
"),o.find(".user_menu").remove()}if(1280>e?$(".btn-newacc").html("Signup"):$(".btn-newacc").html("Create new account"),userid?($(".user_menu").addClass("logged-in"),$(".user_menu").removeClass("logged-out")):($(".user_menu").removeClass("logged-in"),$(".user_menu").addClass("logged-out")),768>e){var i=$(".menu-holder").find(".newuser-links").length;if(0==i){var l=$(".navbar-right").html();$(".menu-holder").prepend("
"),$(".newuser-links").remove()}}}function thakkiLoading(e){$("html, body").animate({scrollTop:e},1900,"swing")}function preLoadingBlock(){var e=$(".featured-videos .thumb-video").width(),t=.625*e;$(".featured-videos .thumb-video").css("height",t+"px");var o=$(".videos .thumb-video").width(),r=.625*o;$(".videos .thumb-video").css("height",r+"px")}function loginHeight(){var e=$("#login_form").outerHeight();e-=40,$(".account-holder .side-box").css("height",e+"px")}function homePageVideos(e){console.log("Hey there Pumpkin! Looks like you really like what we do, hence trying to look under the hood. Happy sneaking buddy! Drop us an email for any questions : info@clipbucket.com"),$("#container").on("click","#recent_load_more, #featured_load_more",function(){var e=baseurl+"/ajax/home.php",t=$(this),o="post",r="html",d=$(t).attr("loadtype"),a=$(t).attr("loadmode"),n=$(t).attr("loadlimit"),i=$(t).attr("loadhit"),l=parseInt(i)+1;moreRecent=!0,moreFeatured=!0,featuredFound="",1==i?(recentFound=6,featuredFound=2):(featuredSect=$("#container").find("#total_videos_featured").text(),recentSect=$("#container").find("#total_videos_recent").text(),totalFeaturedVids=featuredSect,totalRecentVids=recentSect,featuredShown=2*i-2,recentShown=6*i-6,gotMoreFeatured=parseInt(totalFeaturedVids)-parseInt(featuredShown),gotMoreRecent=parseInt(totalRecentVids)-parseInt(recentShown),gotMoreFeatured>2?featuredFound=2:(moreFeatured=!1,featuredFound=gotMoreFeatured),gotMoreRecent>6?recentFound=3:(moreRecent=!1,recentFound=gotMoreRecent)),$.ajax({url:e,type:o,dataType:r,data:{load_type:d,load_mode:a,load_limit:n,load_hit:i},beforeSend:function(){if($(t).attr("disabled","disabled"),$(t).text("Loading.."),"count"!=d)if("featured"==a){for(var e=0;e');var o=$(window).width();if(i>=2&&o>767){var r=$(".featAppending").last().offset().top;r=r,thakkiLoading(r)}}else{for(var e=0;e
');preLoadingBlock();var o=$(window).width();if(i>=2&&o>767){var r=$("#recent_pre").last().offset().top;r=r,thakkiLoading(r)}}},success:function(e){if($(t).removeAttr("disabled"),$(t).text("Load More"),e.length<10){if($(t).remove(),1==i){if("featured"==a)return $("#featured_load_more").hide(),$("#featured_pre").hide(),$("#featured_vid_sec").html('No featured videos found'),!1;if("recent"==a)return $("#recent_load_more").remove(),$("#recent_pre").remove(),$("#recent_vids_sec").html('No recent videos found'),!1}return!0}"video"==d&&("recent"==a?($("#recent_load_more").remove(),$("#recent_pre").html(""),$(e).appendTo("#recent_vids_sec").fadeIn("slow"),recentSect=$("#container").find("#total_videos_recent").text(),1==i&&recentSect<=2&&(moreRecent=!1),1==moreRecent&&$(document).find("#recent-loadmore").append('')):($("#featured_load_more").remove(),$("#featured_pre").html(""),$(e).appendTo("#featured_vid_sec").fadeIn("slow"),featuredSect=$("#container").find("#total_videos_featured").text(),1==i&&featuredSect<=2&&(moreFeatured=!1),1==moreFeatured&&$(document).find("#featured-loadmore").append(''))),$("#container").find("#total_videos_recent").hide(),$("#container").find("#total_videos_featured").hide()}})}),$(document).ready(function(){$("#featured_load_more").trigger("click"),$("#featured_load_more").hide(),$("#recent_load_more").trigger("click"),$("#recent_load_more").hide()})}var flag=0;$(document).ready(function(){headerFooter(),userid?($(".user_menu").addClass("logged-in"),$(".user_menu").removeClass("logged-out")):($(".user_menu").removeClass("logged-in"),$(".user_menu").addClass("logged-out")),responsiveFixes(),$(".navbar-sm-login-links a").click(function(){$("body").removeClass("sideactive")});var e=$(".adbox-holder").children().length;0==e&&$(".adbox-holder").hide(),$(".btn-search-toggle").click(function(){$(".navbar-header").toggleClass("show-search")}),loginHeight()}),$(window).resize(function(){headerFooter(),preLoadingBlock(),responsiveFixes(),loginHeight()});
\ No newline at end of file
diff --git a/upload/styles/cb_28/theme/js/fast_qlist.min.js b/upload/styles/cb_28/theme/js/fast_qlist.min.js
new file mode 100755
index 00000000..8a33258e
--- /dev/null
+++ b/upload/styles/cb_28/theme/js/fast_qlist.min.js
@@ -0,0 +1 @@
+function pushToQlist(t,i){if(i=parseInt(i),$.cookie("btn-q-"+i,"yes",{expires:10}),currentList=$.cookie("fast_qlist"),cleanList=currentList,null!=cleanList){if(notInList=!0,index=cleanList.indexOf(i),"-1"!=index)return!1;cleaned=cleanList.replace(/\[/g,""),cleaned=cleaned.replace(/\]/g,""),newCookie="["+cleaned+","+i+"]"}else notInList=!0,newCookie="["+i+"]";$.cookie("fast_qlist",newCookie,{expires:10});var e=$(t).attr("vtitle"),e=e.split(0,10);thevid=$(t).attr("v-id"),vlink=$(t).attr("vlink"),vthumb=$(t).attr("vthumb"),vduration=$(t).attr("vduration"),1==notInList&&$('
').appendTo("#my_quicklist").fadeIn("slow"),$.cookie("quick_list_box","show",{expires:10}),$("#qlist_main").show(),$(".quicklist_cont").css("display","block")}$(document).find("#qlist_main").hide(),"yes"==fastQitems&&$(document).find("#qlist_main").show();var notInList=!1;$(document).ready(function(){$(".ql_show-hide1").click(function(){$(this).toggleClass("glyphicon-minus glyphicon-plus")})}),$(document).on("click",".cb_quickie",function(){obj=$(this),$(this).addClass("icon-tick"),id=$(this).attr("v-id"),title=$(this).attr("vtitle"),thumb=$(this).attr("vthumb"),link=$(this).attr("vlink"),vdur=$(this).attr("vduration"),pushToQlist(obj,id)}),$(document).on("click",".ql_delete",function(t){t.preventDefault(),vid=$(this).attr("todel"),$(".cb_quickie[v-id="+vid+"]").removeClass("icon-tick"),currentList=$.cookie("fast_qlist"),cleaned=currentList.replace(vid,""),console.log(cleaned),$.cookie("fast_qlist",cleaned,{expires:10}),$(this).closest(".qlist_item").fadeOut("slow")}),$(document).on("click",".ql_rem",function(t){t.preventDefault(),$.cookie("fast_qlist",null,{expires:10}),$(".qlist_item").fadeOut("slow"),$("#qlist_main").fadeOut("slow"),$(".cb_quickie").removeClass("icon-tick")});
\ No newline at end of file