/*--------------Magic Line-------------------*/
$(function(){var $el,leftPos,newWidth,$mainNav2=$("#example-two");$mainNav2.append("<li id='magic-line-two'></li>");var $magicLineTwo=$("#magic-line-two");$magicLineTwo.width($(".current_page_item_two").width()).height($mainNav2.height()).css("left",$(".current_page_item_two a").position().left).data("origLeft",$(".current_page_item_two a").position().left).data("origWidth",$magicLineTwo.width()).data("origColor",$(".current_page_item_two a").attr("rel"));$("#example-two li").find("a").hover(function(){$el=$(this);leftPos=$el.position().left;newWidth=$el.parent().width();$magicLineTwo.stop().animate({left:leftPos,width:newWidth,backgroundColor:$el.attr("rel")})},function(){$magicLineTwo.stop().animate({left:$magicLineTwo.data("origLeft"),width:$magicLineTwo.data("origWidth"),backgroundColor:$magicLineTwo.data("origColor")})})});
/*--------------Top of Page-------------------*/
jQuery.fn.topLink=function(settings){settings=jQuery.extend({min:1,fadeSpeed:200},settings);return this.each(function(){var el=$(this);el.hide();$(window).scroll(function(){if($(window).scrollTop()>=settings.min){el.fadeIn(settings.fadeSpeed)}else{el.fadeOut(settings.fadeSpeed)}})})};$(document).ready(function(){$('#top-link').topLink({min:1000,fadeSpeed:200});$('#top-link').click(function(e){e.preventDefault();$.scrollTo(0,300)})});jQuery.fn.topLink=function(settings){settings=jQuery.extend({min:1,fadeSpeed:200,ieOffset:50},settings);return this.each(function(){var el=$(this);el.css('display','none');$(window).scroll(function(){if(!jQuery.support.hrefNormalized){el.css({'position':'absolute','top':$(window).scrollTop()+$(window).height()-settings.ieOffset})}if($(window).scrollTop()>=settings.min){el.fadeIn(settings.fadeSpeed)}else{el.fadeOut(settings.fadeSpeed)}})})};

;(function(h){var m=h.scrollTo=function(b,c,g){h(window).scrollTo(b,c,g)};m.defaults={axis:'y',duration:1};m.window=function(b){return h(window).scrollable()};h.fn.scrollable=function(){return this.map(function(){var b=this.parentWindow||this.defaultView,c=this.nodeName=='#document'?b.frameElement||b:this,g=c.contentDocument||(c.contentWindow||c).document,i=c.setInterval;return c.nodeName=='IFRAME'||i&&h.browser.safari?g.body:i?g.documentElement:this})};h.fn.scrollTo=function(r,j,a){if(typeof j=='object'){a=j;j=0}if(typeof a=='function')a={onAfter:a};a=h.extend({},m.defaults,a);j=j||a.speed||a.duration;a.queue=a.queue&&a.axis.length>1;if(a.queue)j/=2;a.offset=n(a.offset);a.over=n(a.over);return this.scrollable().each(function(){var k=this,o=h(k),d=r,l,e={},p=o.is('html,body');switch(typeof d){case'number':case'string':if(/^([+-]=)?\d+(px)?$/.test(d)){d=n(d);break}d=h(d,this);case'object':if(d.is||d.style)l=(d=h(d)).offset()}h.each(a.axis.split(''),function(b,c){var g=c=='x'?'Left':'Top',i=g.toLowerCase(),f='scroll'+g,s=k[f],t=c=='x'?'Width':'Height',v=t.toLowerCase();if(l){e[f]=l[i]+(p?0:s-o.offset()[i]);if(a.margin){e[f]-=parseInt(d.css('margin'+g))||0;e[f]-=parseInt(d.css('border'+g+'Width'))||0}e[f]+=a.offset[i]||0;if(a.over[i])e[f]+=d[v]()*a.over[i]}else e[f]=d[i];if(/^\d+$/.test(e[f]))e[f]=e[f]<=0?0:Math.min(e[f],u(t));if(!b&&a.queue){if(s!=e[f])q(a.onAfterFirst);delete e[f]}});q(a.onAfter);function q(b){o.animate(e,j,a.easing,b&&function(){b.call(this,r,a)})};function u(b){var c='scroll'+b,g=k.ownerDocument;return p?Math.max(g.documentElement[c],g.body[c]):k[c]}}).end()};function n(b){return typeof b=='object'?b:{top:b,left:b}}})(jQuery);
/*--------------Lazy Load-------------------*/
(function($){$.fn.lazyload=function(options){var settings={threshold:0,failurelimit:0,event:"scroll",effect:"show",container:window};if(options){$.extend(settings,options)}var elements=this;if("scroll"==settings.event){$(settings.container).bind("scroll",function(event){var counter=0;elements.each(function(){if($.abovethetop(this,settings)||$.leftofbegin(this,settings)){}else if(!$.belowthefold(this,settings)&&!$.rightoffold(this,settings)){$(this).trigger("appear")}else{if(counter++>settings.failurelimit){return false}}});var temp=$.grep(elements,function(element){return!element.loaded});elements=$(temp)})}this.each(function(){var self=this;if(undefined==$(self).attr("original")){$(self).attr("original",$(self).attr("src"))}if("scroll"!=settings.event||undefined==$(self).attr("src")||settings.placeholder==$(self).attr("src")||($.abovethetop(self,settings)||$.leftofbegin(self,settings)||$.belowthefold(self,settings)||$.rightoffold(self,settings))){if(settings.placeholder){$(self).attr("src",settings.placeholder)}else{$(self).removeAttr("src")}self.loaded=false}else{self.loaded=true}$(self).one("appear",function(){if(!this.loaded){$("<img />").bind("load",function(){$(self).hide().attr("src",$(self).attr("original"))[settings.effect](settings.effectspeed);self.loaded=true}).attr("src",$(self).attr("original"))}});if("scroll"!=settings.event){$(self).bind(settings.event,function(event){if(!self.loaded){$(self).trigger("appear")}})}});$(settings.container).trigger(settings.event);return this};$.belowthefold=function(element,settings){if(settings.container===undefined||settings.container===window){var fold=$(window).height()+$(window).scrollTop()}else{var fold=$(settings.container).offset().top+$(settings.container).height()}return fold<=$(element).offset().top-settings.threshold};$.rightoffold=function(element,settings){if(settings.container===undefined||settings.container===window){var fold=$(window).width()+$(window).scrollLeft()}else{var fold=$(settings.container).offset().left+$(settings.container).width()}return fold<=$(element).offset().left-settings.threshold};$.abovethetop=function(element,settings){if(settings.container===undefined||settings.container===window){var fold=$(window).scrollTop()}else{var fold=$(settings.container).offset().top}return fold>=$(element).offset().top+settings.threshold+$(element).height()};$.leftofbegin=function(element,settings){if(settings.container===undefined||settings.container===window){var fold=$(window).scrollLeft()}else{var fold=$(settings.container).offset().left}return fold>=$(element).offset().left+settings.threshold+$(element).width()};$.extend($.expr[':'],{"below-the-fold":"$.belowthefold(a, {threshold : 0, container: window})","above-the-fold":"!$.belowthefold(a, {threshold : 0, container: window})","right-of-fold":"$.rightoffold(a, {threshold : 0, container: window})","left-of-fold":"!$.rightoffold(a, {threshold : 0, container: window})"})})(jQuery);$(function(){$("img.lazy").lazyload({placeholder:"Images/grey.gif"})});
/*--------------Fancy Box-------------------*/

/*-------------- FancyBox Design -------------------*/
$(document).ready(function(){$(".fancybox").fancybox();$(".fancybox-effects-a").fancybox({helpers:{title:{type:"outside"},overlay:{speedIn:500,opacity:.95}}});$(".fancybox-effects-b").fancybox({openEffect:"none",closeEffect:"none",helpers:{title:{type:"over"}}});$(".fancybox-effects-c").fancybox({wrapCSS:"fancybox-custom",closeClick:true,helpers:{title:{type:"inside"},overlay:{css:{"background-color":"#eee"}}}});$(".fancybox-effects-d").fancybox({padding:0,openEffect:"elastic",openSpeed:150,closeEffect:"elastic",closeSpeed:150,closeClick:true,helpers:{overlay:null}});$(".fancybox-buttons").fancybox({openEffect:"none",closeEffect:"none",prevEffect:"none",nextEffect:"none",closeBtn:false,helpers:{title:{type:"inside"},buttons:{}},afterLoad:function(){this.title="Image "+(this.index+1)+" of "+this.group.length+(this.title?" - "+this.title:"")}});$(".fancybox-thumbs").fancybox({prevEffect:"none",nextEffect:"none",closeBtn:false,arrows:false,nextClick:true,helpers:{thumbs:{width:50,height:50}}})});$(document).ready(function(){$(".youtube").fancybox({maxWidth:800,maxHeight:600,fitToView:false,width:"70%",height:"70%",autoSize:false,closeClick:false,openEffect:"fade",closeEffect:"fade"})})
/*-------------- Video -------------------*/
$(document).ready(function(){$("#video1").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video2").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video3").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video4").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video5").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video6").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video7").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video8").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video9").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video10").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video11").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video12").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video13").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video14").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video15").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video16").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video17").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video18").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video19").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video20").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video21").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video22").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video23").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video24").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video25").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video26").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video27").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video28").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video29").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video30").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video31").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video32").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video33").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video34").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video35").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video36").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video37").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video38").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video39").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video40").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video41").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video42").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video43").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video44").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video45").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video46").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video47").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video48").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video49").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});																																																																																																																										$("#video50").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video51").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video51").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video52").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video53").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video54").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video55").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video56").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video57").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video58").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video59").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false});$("#video60").click(function(){$.fancybox({'padding':0,'autoScale':false,'transitionIn':'fade','transitionOut':'none','title':this.title,'width':640,'height':385,'href':this.href.replace(new RegExp("watch\\?v=","i"),'v/'),'type':'swf','swf':{'wmode':'transparent','allowfullscreen':'true'}});return false})});
/*--------------Jquery Color-------------------*/
(function(jQuery){jQuery.each(['backgroundColor','borderBottomColor','borderLeftColor','borderRightColor','borderTopColor','color','outlineColor'],function(i,attr){jQuery.fx.step[attr]=function(fx){if(fx.colorFunction==undefined||fx.state==0){fx.start=getColor(fx.elem,attr);fx.end=getRGB(fx.end);if(fx.start==undefined){fx.start=[255,255,255,0]}else{if(fx.start[3]==undefined)fx.start[3]=1;if(fx.start[3]==0)fx.start[0]=fx.start[1]=fx.start[2]=255}if(fx.end[3]==undefined)fx.end[3]=1;fx.colorFunction=(fx.start[3]==1&&fx.end[3]==1?calcRGB:calcRGBa)}fx.elem.style[attr]=fx.colorFunction()}});var calcRGB=function(){return'rgb('+Math.max(Math.min(parseInt((this.pos*(this.end[0]-this.start[0]))+this.start[0]),255),0)+','+Math.max(Math.min(parseInt((this.pos*(this.end[1]-this.start[1]))+this.start[1]),255),0)+','+Math.max(Math.min(parseInt((this.pos*(this.end[2]-this.start[2]))+this.start[2]),255),0)+')'};var calcRGBa=function(){return'rgba('+Math.max(Math.min(parseInt((this.pos*(this.end[0]-this.start[0]))+this.start[0]),255),0)+','+Math.max(Math.min(parseInt((this.pos*(this.end[1]-this.start[1]))+this.start[1]),255),0)+','+Math.max(Math.min(parseInt((this.pos*(this.end[2]-this.start[2]))+this.start[2]),255),0)+','+Math.max(Math.min(parseFloat((this.pos*(this.end[3]-this.start[3]))+this.start[3]),1),0)+')'};function getRGB(color){var result;if(color&&color.constructor==Array&&color.length>=3)return color;if(result=/rgba?\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,?\s*((?:[0-9](?:\.[0-9]+)?)?)\s*\)/.exec(color))return[parseInt(result[1]),parseInt(result[2]),parseInt(result[3]),parseFloat(result[4]||1)];if(result=/rgba?\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,?\s*((?:[0-9](?:\.[0-9]+)?)?)\s*\)/.exec(color))return[parseFloat(result[1])*2.55,parseFloat(result[2])*2.55,parseFloat(result[3])*2.55,parseFloat(result[4]||1)];if(result=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color))return[parseInt(result[1],16),parseInt(result[2],16),parseInt(result[3],16)];if(result=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color))return[parseInt(result[1]+result[1],16),parseInt(result[2]+result[2],16),parseInt(result[3]+result[3],16)];var colorName=jQuery.trim(color).toLowerCase();if(colors[colorName]!=undefined)return colors[colorName];return[255,0,0,0]}function getColor(elem,attr){var color;do{color=jQuery.curCSS(elem,attr);if(color!=''&&color!='transparent'||jQuery.nodeName(elem,"body"))break;attr="backgroundColor"}while(elem=elem.parentNode);return getRGB(color)};var colors={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery);
/*-------------- NEXT -------------------*/
