if ( typeof( tpAdtagBase ) == 'undefined' ) { function tpAdtagBase() { function sb_fp(o){var x=y=0;if(o&&o.offsetParent){x=o.offsetLeft;y=o.offsetTop;while(o=o.offsetParent){x+=o.offsetLeft;y+=o.offsetTop;}}return[x,y];} function sb_gcw(){return sb_fr(window.innerWidth?window.innerWidth:0,document.documentElement?document.documentElement.clientWidth:0,document.body?document.body.clientWidth:0);} function sb_gch(){return sb_fr(window.innerHeight?window.innerHeight:0,document.documentElement?document.documentElement.clientHeight:0,document.body?document.body.clientHeight:0);} function sb_gsl(){return sb_fr(window.pageXOffset?window.pageXOffset:0,document.documentElement?document.documentElement.scrollLeft:0,document.body?document.body.scrollLeft:0);} function sb_gst(){return sb_fr(window.pageYOffset?window.pageYOffset:0,document.documentElement?document.documentElement.scrollTop:0,document.body?document.body.scrollTop:0);} function sb_fr(n_win,n_docel,n_body){var n_result=n_win?n_win:0;if(n_docel&&(!n_result||(n_result>n_docel)))n_result=n_docel;return n_body&&(!n_result||(n_result>n_body))?n_body:n_result;} this.zone = ''; this.subid = ''; this.clicktracker = ''; this.container = ''; this.host = ''; this.render = function() { var u = ''; u = 'http' + (('https:'==document.location.protocol)?'s':'') + '://'; if (this.host=='') u += 'ad.ad-srv.net'; else u += this.host; u += '/request.php?'; u += 'zone=' + this.zone; u += '&renderingType=javascript'; u += '&container=' + encodeURIComponent( this.container ); u += '&subid=' + encodeURIComponent( this.subid ); u += '&adtagId=' + tpAdtagBase.prototype.adtagId; u += '&uid=' + tpAdtagBase.prototype.uuid; u += '&screenSize=' + screen.width + 'x'+ screen.height; u += '&screenSizeAvail=' + screen.availWidth + 'x'+ screen.availHeight; u += '&clientSize=' + sb_gcw() + 'x'+ sb_gch(); u += '&scrollPos=' + sb_gsl() + 'x'+ sb_gst(); u += '&redirectClick=' + encodeURIComponent( this.clicktracker ); u += '&documentReferer=' + encodeURIComponent( ( document.referrer != "" ) ? document.referrer : window.location.href ); u += '&random=' + Math.floor(Math.random()*10e12); if ( window.top !== window.self ) u += '&isIframe=1'; var eAd = 'e' + Math.floor(Math.random()*10e12); var eCheck = 'e' + Math.floor(Math.random()*10e12); if ( ( this.container == "" ) || ( ! document.getElementById( this.container ) ) ) { document.write('
'); } else { var b = document.createElement('div'); with (b.style) {width='2px';height='2px';border='0px';margin='0px';padding='0px';textAlign='left';verticalAlign='top';position='absolute';visibility='hidden';} var c = document.createElement('div'); c.id = eCheck; with (c.style) {width='1px';height='1px';border='0px';margin='0px';marginLeft='1px';marginTop='1px';padding='0px';position='absolute';visibility='hidden';} b.appendChild( c ); var p = document.createElement('div'); p.id = eAd; with (p.style) {width='1px';height='1px';border='0px';margin='0px';padding='0px';position='absolute';visibility='hidden';} b.appendChild( p ); document.getElementById( this.container ).appendChild( b ); } co = sb_fp( document.getElementById( eAd ) ); co2 = sb_fp( document.getElementById( eCheck ) ); u += '&adPos=' + co[0] + 'x'+ co[1]; u += '&adPosCheck=' + co2[0] + 'x'+ co2[1]; if ( ( this.container == "" ) || ( ! document.getElementById( this.container ) ) ) { document.write('