//
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-4163934-1']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageLoadTime']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-43173086-1']);
_gaq.push(['_setDomainName', 'webtretho.com']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
(function() {
var useSSL = 'https:' == document.location.protocol;
var src = (useSSL ? 'https:' : 'http:') +
'//www.googletagservices.com/tag/js/gpt.js';
document.write('');
})();
googletag.defineSlot('/89328808/News_T_SL', [970, 90], 'div-gpt-ad-1373285338272-0').addService(googletag.pubads());
googletag.defineSlot('/89328808/News_T_MR1', [300, 250], 'div-gpt-ad-1373285360049-0').addService(googletag.pubads());
googletag.defineSlot('/89328808/News_T_MR2', [300, 250], 'div-gpt-ad-1373285386337-0').addService(googletag.pubads());
googletag.defineSlot('/89328808/News_T_HP', [300, 600], 'div-gpt-ad-1373285399393-0').addService(googletag.pubads());
googletag.defineSlot('/89328808/News_T_SL2', [970, 90], 'div-gpt-ad-1373882490150-0').addService(googletag.pubads());
googletag.defineSlot('/89328808/News_Ads_MR1', [300, 250], 'div-gpt-ad-1376538526785-0').addService(googletag.pubads());
googletag.pubads().enableSyncRendering();
googletag.pubads().enableSingleRequest();
googletag.enableServices();
var $jqsticky = jQuery.noConflict();
var $stickyHeight = 400;
var $padding = 33;
//var $topOffset = 411;
var $footerHeight = 490;//236;
function scrollSticky(){
if($jqsticky(window).height() >= $stickyHeight) {
var aOffset = $jqsticky('#sticky').offset();
//if ($(window).scrollTop() > $(".smartBannerIdentifier").offset({ scroll: false }).top){
var $topOffset = $jqsticky(".smartBannerIdentifier").offset().top;
//alert($topOffset);
if($jqsticky(document).height() - $footerHeight - $padding $topOffset) {
$jqsticky('#sticky').attr('style', 'position:fixed; top:'+$padding+'px;');
}else{
$jqsticky('#sticky').attr('style', 'position:relative;');
}
}
}
$jqsticky(window).scroll(function(){
scrollSticky();
});
#sticky { height:600px; width:300px; position:relative;}
var _comscore = _comscore || [];
_comscore.push({ c1: "2", c2: "17062942" });
(function() {
var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;
s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";
el.parentNode.insertBefore(s, el);
})();
_atrk_opts = { atrk_acct:"zsEzh1aYY9008s", domain:"webtretho.com",dynamic: true};
(function() { var as = document.createElement('script'); as.type = 'text/javascript'; as.async = true; as.src = "https://d31qbv1cthcecs.cloudfront.net/atrk.js"; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(as, s); })();
<!--
-->
jQuery(document).ready(function($) {
$(".scroll").click(function(event){
event.preventDefault();
$('html,body').animate({scrollTop:$(this.hash).offset().top}, 500);
});
});
window.___gcfg = {
lang: 'en-US'
};
// prevent jQuery from appending cache busting string to the end of the FeatureLoader URL
var cache = jQuery.ajaxSettings.cache;
jQuery.ajaxSettings.cache = true;
jQuery(window).load(function(){
window.fbAsyncInit = function() {
FB.init({appId: '182967931784902',
status: true,
cookie: true,
xfbml: true});
FB.api('/me', function(response) {
console.log(response.name);
});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
jQuery.getScript('https://apis.google.com/js/plusone.js', function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
});
});
// just Restore jQuery caching setting
jQuery.ajaxSettings.cache = cache;
<!--
-->