$(document).ready(function () {
if($('.home.container-max').length>0){
_tsRatingConfig = {
tsid: 'X542953831479684E9A28651DD3C6EE38',
element: '#ts_review_sticker_home',
variant: 'skyscraper_horizontal',
theme: 'light',
reviews: '5',
borderColor: '#000000',
// optional - overrides the border color
colorclassName: 'ts-sticker',
// optional - override the whole sticker style with your own css class
introtext: 'What our customers say about us:',
// optional - not used in skyscraper and testimoinal variants
backgroundColor: '#ffffff',
fontColor: '#000000',
// optional - overrides background and font colors - only used for testimonial variant
richSnippets: 'on'
};
}else{
_tsRatingConfig = {
tsid: 'X542953831479684E9A28651DD3C6EE38',
element: '#ts_review_sticker',
variant: 'testimonial',
reviews: '5',
betterThan: '3.0',
richSnippets: 'on',
backgroundColor: '#ffdc0f',
linkColor: '#000000',
quotationMarkColor: '#FFFFFF',
fontFamily: 'Arial',
reviewMinLength: '10'
};
}
var scripts = document.getElementsByTagName('SCRIPT'),
me = scripts[
scripts.length -1];
var _ts = document.createElement('SCRIPT');
_ts.type = 'text/javascript';
_ts.async = true;
_ts.src = '//widgets.trustedshops.com/reviews/tsSticker/tsSticker.js';
me.parentNode.insertBefore(_ts,
me);
_tsRatingConfig.script = _ts;
});