.section_heading {position:relative;height:39px;background-color:#000;border:1px solid #888;margin: 1px;}
.section_heading > h1 {position:absolute;top:0px;left:0px;font-weight:300; font-style:normal; font-size:25px; line-height:25px;font-family:'Yanone Kaffeesatz','Arial Narrow', Impact,Arial,Helvetica,sans-serif;letter-spacing:1px;width:auto;color:#fff;background-color:#000;padding:7px 12px 0px; max-width: 628px; overflow: hidden; margin:0px;text-transform:uppercase; white-space:nowrap; text-overflow: ellipsis}
.section_heading .heading {position:absolute;top:0px;left:0px;font-weight:300; font-style:normal; font-size:25px; line-height:25px;font-family:'Yanone Kaffeesatz','Arial Narrow', Impact,Arial,Helvetica,sans-serif;letter-spacing:1px;width:auto;color:#fff;background-color:#000;padding:7px 12px 0px; max-width: 628px; overflow: hidden; margin:0px;text-transform:uppercase; white-space:nowrap; text-overflow: ellipsis}
.section_heading > img { position:absolute;top:29px;left:14px;height:1px;}
.section_heading div.facebook-like-cont {background-color: #000000;display: inline-block;position: absolute;right: 0;top: 10px;}
.section_heading div.google-plus-cont {display: inline-block;position: absolute;right: 96px;top: 9px;}
.section_heading div.user-info{text-align:right;padding-right: 5px;width: 135px;float: right;}
.section_heading p {margin: 0 0 0 0;}
#success_popup .success_text{margin:15px 30px;font-size:17px;color:#4a1414;}
#success_popup .share_text{font-size:12px;color:#313130; margin-bottom: 10px;}
#success_popup .popUp_shareBar{margin-left:117px;text-align:left;}
#success_popup .urlLbl_succes{clear: both; color: #313130;font-size: 12px;text-align: left;margin-left: 25px;}
#success_popup .url_container .url_succes{border:1px solid #000000;clear: both;color: #666;font-size: 12px;height: 20px;text-align: left;width: 350px;}
#success_popup .url_container{margin-top:5px;}
#success_popup .default_button{ text-align:center;}
#go_to_page {float: left;margin-bottom: 20px;margin-top: 20px;}
a.popup_close_button{margin-bottom: 15px; background: url("../images/login/login_close_button.jpg") repeat scroll 0 0 transparent;
height: 21px; width: 22px;float:right; margin: -32px 8px; position: relative;}
.save-to-computer-share {margin-left: 25px;}
.save-to-computer-share > div { display: inline-block; float: left;margin-right: 25px;}
$(function() {
$('#go_to_page').click(
function(){
window.location.replace($(this).parent().data('url'));
}
);
ga_s3 = '';
ga_category = 'Makeover';
ga_s1 = TZ.editor.currentSection;
Analytics.event(ga_category,ga_s1,'SubmitSuccessful','');
$('#close_btn').click(function(){
DynamicContentLoader.removePopup($("#success_popup"));
});
$('.email_share').click(function(){
Analytics.event(ga_category,ga_s1,'SubmittedSharePopUp','ShareEmail');
setTimeout(function(){
DynamicContentLoader.removePopup($("#successPopup"));
},0);
});
$('#share_url').click(
function(){
this.selectionStart = this.selectionEnd = -1;
this.select();
}
);
}
);
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
function googlePlusOneCallback (data) {
var targetUrl = data.href;
if (targetUrl.endsWith('#')) // Footer Like button uses www.taaz.com# for Facebook count, but
targetUrl = TZ.request.url; // send full url to Analytics
var liked = data.state === 'on'; // false if +1 removed
var url = targetUrl.replace(TZ.request.baseUrl, '').replace(/^\//, ''); // remove host & leading slash
var category = liked ? 'GooglePlusOne' : 'GoogleMinusOne';
Analytics.event('Social', category + '-' + url); // append s2 manually, so url doesn't get capitalized
}
$(function(){
$('#success_popuppopup_close_button, #modalPopupMask').live('click',function(){
TZ.popupHandler.showOverlapStuff();
DynamicContentLoader.removePopup($("#success_popup"));
});
var undefined;
var firstInput = $('.basePopUp').find('input:visible')[0];
if (firstInput) {
firstInput.focus();
firstInput.select(); // does nothing if field is empty (the usual case)
}
});