/************************************/ /* jQuery dimensions code */ /************************************/ (function($){ var height = $.fn.height, width = $.fn.width; $.fn.extend({ height: function() { if (!this[0]) error(); if ( this[0] == window ) if ( ($.browser.mozilla || $.browser.opera) && $(document).width() > self.innerWidth) return self.innerHeight - getScrollbarWidth(); else return self.innerHeight || $.boxModel && document.documentElement.clientHeight || document.body.clientHeight; if ( this[0] == document ) return Math.max( document.body.scrollHeight, document.body.offsetHeight ); return height.apply(this, arguments); }, width: function() { if (!this[0]) error(); if ( this[0] == window ) if (($.browser.mozilla || $.browser.opera) && $(document).height() > self.innerHeight) return self.innerWidth - getScrollbarWidth(); else return self.innerWidth || $.boxModel && document.documentElement.clientWidth || document.body.clientWidth; if ( this[0] == document ) if ($.browser.mozilla) { var scrollLeft = self.pageXOffset; self.scrollTo(99999999, self.pageYOffset); var scrollWidth = self.pageXOffset; self.scrollTo(scrollLeft, self.pageYOffset); return document.body.offsetWidth + scrollWidth; } else return Math.max( document.body.scrollWidth, document.body.offsetWidth ); return width.apply(this, arguments); }, innerHeight: function() { if (!this[0]) error(); return this[0] == window || this[0] == document ? this.height() : this.is(':visible') ? this[0].offsetHeight - num(this, 'borderTopWidth') - num(this, 'borderBottomWidth') : this.height() + num(this, 'paddingTop') + num(this, 'paddingBottom'); }, innerWidth: function() { if (!this[0]) error(); return this[0] == window || this[0] == document ? this.width() : this.is(':visible') ? this[0].offsetWidth - num(this, 'borderLeftWidth') - num(this, 'borderRightWidth') : this.width() + num(this, 'paddingLeft') + num(this, 'paddingRight'); }, outerHeight: function(options) { if (!this[0]) error(); options = $.extend({ margin: false }, options || {}); return this[0] == window || this[0] == document ? this.height() : this.is(':visible') ? this[0].offsetHeight + (options.margin ? (num(this, 'marginTop') + num(this, 'marginBottom')) : 0) : this.height() + num(this,'borderTopWidth') + num(this, 'borderBottomWidth') + num(this, 'paddingTop') + num(this, 'paddingBottom') + (options.margin ? (num(this, 'marginTop') + num(this, 'marginBottom')) : 0); }, outerWidth: function(options) { if (!this[0]) error(); options = $.extend({ margin: false }, options || {}); return this[0] == window || this[0] == document ? this.width() : this.is(':visible') ? this[0].offsetWidth + (options.margin ? (num(this, 'marginLeft') + num(this, 'marginRight')) : 0) : this.width() + num(this, 'borderLeftWidth') + num(this, 'borderRightWidth') + num(this, 'paddingLeft') + num(this, 'paddingRight') + (options.margin ? (num(this, 'marginLeft') + num(this, 'marginRight')) : 0); }, scrollLeft: function(val) { if (!this[0]) error(); if ( val != undefined ) return this.each(function() { if (this == window || this == document) window.scrollTo( val, $(window).scrollTop() ); else this.scrollLeft = val; }); if ( this[0] == window || this[0] == document ) return self.pageXOffset || $.boxModel && document.documentElement.scrollLeft || document.body.scrollLeft; return this[0].scrollLeft; }, scrollTop: function(val) { if (!this[0]) error(); if ( val != undefined ) return this.each(function() { if (this == window || this == document) window.scrollTo( $(window).scrollLeft(), val ); else this.scrollTop = val; }); if ( this[0] == window || this[0] == document ) return self.pageYOffset || $.boxModel && document.documentElement.scrollTop || document.body.scrollTop; return this[0].scrollTop; }, position: function(returnObject) { return this.offset({ margin: false, scroll: false, relativeTo: this.offsetParent() }, returnObject); } }); var error = function() { throw "Dimensions: jQuery collection is empty"; }; var num = function(el, prop) { return parseInt($.css(el.jquery?el[0]:el,prop))||0; }; var handleOffsetReturn = function(elem, options, x, y, sl, st) { if ( !options.margin ) { x -= num(elem, 'marginLeft'); y -= num(elem, 'marginTop'); } if ( options.border && (($.browser.safari && parseInt($.browser.version) < 520) || $.browser.opera) ) { x += num(elem, 'borderLeftWidth'); y += num(elem, 'borderTopWidth'); } else if ( !options.border && !(($.browser.safari && parseInt($.browser.version) < 520) || $.browser.opera) ) { x -= num(elem, 'borderLeftWidth'); y -= num(elem, 'borderTopWidth'); } if ( options.padding ) { x += num(elem, 'paddingLeft'); y += num(elem, 'paddingTop'); } if ( options.scroll && (!$.browser.opera || elem.offsetLeft != elem.scrollLeft && elem.offsetTop != elem.scrollLeft) ) { sl -= elem.scrollLeft; st -= elem.scrollTop; } return options.scroll ? { top: y - st, left: x - sl, scrollTop: st, scrollLeft: sl } : { top: y, left: x }; }; var scrollbarWidth = 0; var getScrollbarWidth = function() { if (!scrollbarWidth) { var testEl = $('
') .css({ width: 100, height: 100, overflow: 'auto', position: 'absolute', top: -1000, left: -1000 }) .appendTo('body'); scrollbarWidth = 100 - testEl .append('
') .find('div') .css({ width: '100%', height: 200 }) .width(); testEl.remove(); } return scrollbarWidth; }; })(jQuery); /********************************/ /* fly code */ /********************************/ var FLBanner = new Object(); FLBanner.init = function( ) { }; FLBanner.init.prototype = { getViewPortHeight: function() { var viewPortHeight = 0; if ( (document.compatMode || $.browser.msie) && !$.browser.opera ) if (document.compatMode == 'CSS1Compat') viewPortHeight = document.documentElement.clientHeight; else viewPortHeight = document.body.clientHeight; else viewPortHeight = (document.parentWindow || document.defaultView).innerHeight; return viewPortHeight; }, getScrollTop : function() { var scrollTop = -1; if ( $.browser.msie && document.compatMode && ( document.compatMode == "CSS1Compat" ) ) { void(1); scrollTop = document.documentElement.scrollTop; } else { void(2); scrollTop = ( $.browser.mozilla ) ? window.scrollY : document.body.scrollTop; } return scrollTop; }, intRand: function( startInt ) { if ( !arguments[1] ) var stopInt = startInt; else var stopInt = arguments[1]; while ( true ) { var rand = Math.round( Math.random() * ( stopInt + 1 ) ); if ( ( rand >= startInt ) && ( rand <= stopInt ) ) return rand; } }, AddEvent : function ( element, event, codeToAdd ) { var EventCode; var NewEvent; try { EventCode = eval ( 'element.'+event+'.toString();' ); EventCode = EventCode.substring( EventCode.indexOf( "{" ) + 1, EventCode.lastIndexOf("}") ); NewEvent = new Function( EventCode + " " + codeToAdd ); eval( 'element.'+event+' = NewEvent;' ); } catch ( err ) { eval( 'element.'+event+' = function(){' + codeToAdd + '}' ); } }, createBottomSLider : function ( id, GROUP ) { var HTMLcode = '
' + '
'+GROUP.text.title+'
' + '
'+GROUP.text.downText+''+GROUP.text.linkText+'
' + '
' + ' ' + '
' + '
'; $(document.body).append( HTMLcode ); }, createBottomSlider4_Default : function( GROUP ) { var BACKGROUNDS = { 0: 'green.gif', 1: 'orange.gif', 2: 'blue.gif', 3: 'violet.gif' }; var intWidth = Math.round( document.body.scrollWidth / 4 ); for ( var i = 0; i < 4; i++ ) { var id = 'FlyBanner'+this.intRand( 1000, 9999 ); this.createBottomSLider( id, GROUP[i+1] ); var banner = $('#'+id); banner .css({ border : '0px solid #777777', background : 'url("http://flyingliners.com/img_fleecyclouds/lines_colored/'+BACKGROUNDS[i]+'") no-repeat top left', width : '200px', left : i*intWidth + 'px' }) .find( '.title' ) .css({ height: '24px', border: 'none', background: 'none', lineHeight: '24px', color: 'white', fontFamily: 'tahoma', fontWeight: 'bolder', fontSize: '11px', padding: '0px 5px', textAlign: 'center' }).end() .find( '.text' ) .css({ height: '93px', border: 'none', background: 'none', display: 'none', color: 'black', fontFamily: 'tahoma', fontSize: '11px', padding: '7px' }).end() .find('.eventer a') .css({ border: '0px solid #555599', background: '#eeeeff', opacity: '0.0', filter: 'alpha(opacity=1)', padding: '0px',margin: '0px', border: 'none', textDecoration: 'none' }); } var _THIS_ = this; $('div.FlyingLiners').each( function() { var flyItem = this; var _top = _THIS_.getViewPortHeight() - parseInt( $(flyItem).outerHeight() ) + parseInt( _THIS_.getScrollTop() ); $(flyItem) .css( 'top', _top ) .find( '.eventer' ) .css( 'height', $(flyItem).outerHeight() ) .hover( function() { $(flyItem).find('.text').show(); var _top = _THIS_.getViewPortHeight() - parseInt( $(flyItem).outerHeight() ) + parseInt( _THIS_.getScrollTop() ); $(flyItem) .css( 'top', _top ) .find('.eventer') .css( 'height', $(flyItem).outerHeight() ); }, function() { $(flyItem).find('.text').hide(); var _top = _THIS_.getViewPortHeight() - parseInt( $(flyItem).outerHeight() ) + parseInt( _THIS_.getScrollTop() ); $(flyItem) .css( 'top', _top ) .find('.eventer') .css( 'height', $(flyItem).outerHeight() ); } ); }); var ScrollResizeCode = " $('div.FlyingLiners').each( function() { "+ " var viewPortHeight = "+ " ( (document.compatMode || $.browser.msie) && !$.browser.opera ) "+ " ? (document.compatMode == 'CSS1Compat') "+ " ? document.documentElement.clientHeight "+ " : document.body.clientHeight "+ " : (document.parentWindow || document.defaultView).innerHeight;"+ " var scrollTop = -1; "+ " if ( $.browser.msie && document.compatMode && ( document.compatMode == 'CSS1Compat' ) ) { "+ " scrollTop = document.documentElement.scrollTop; "+ " } else { "+ " scrollTop = ( $.browser.mozilla ) ? window.scrollY : document.body.scrollTop; "+ " }"+ " var _top = viewPortHeight - "+ " parseInt( $(this).outerHeight() ) + "+ " parseInt( scrollTop ) + 'px'; "+ " $(this).css( 'top', _top ); "+ " }); "; eval( ScrollResizeCode ); this.AddEvent( document.body, 'onscroll', ScrollResizeCode ); this.AddEvent( window, 'onscroll', ScrollResizeCode ); this.AddEvent( document.body, 'onresize', ScrollResizeCode ); this.AddEvent( window, 'onresize', ScrollResizeCode ); } } $(document).ready( function() { var FlyLinersObject = new FLBanner.init( ); var variant = { 1: FlyLinersObject.intRand ( 1, 100 ), 2: FlyLinersObject.intRand ( 1, 100 ), 3: FlyLinersObject.intRand ( 1, 100 ), 4: FlyLinersObject.intRand ( 1, 100 ) }; FlyLinersObject.createBottomSlider4_Default({ 1: { text : ( ( variant[1] <= 100 ) ? { title: '100% FREE Service', linkText: 'See it..', downText: 'Zero risk. No obligation. Instant access.
Here\'s an easy way to MAKE MONEY from anywhere!

', linkInText: '' } : { title: 'Free Wealth Book', linkText: 'Get Your Free Book', downText: 'Learn the secrets to generating wealth!
We\'re giving away FREE bestselling books by financial advisor, Robert Allen!

', linkInText: '' } ), pixel : ( ( variant[1] <= 100 ) ? 'http://www.gmbtrack.com/tracki.asp?a=390&o=87&c=12&l=0' : 'http://www.gmbtrack.com/tracki.asp?a=390&o=153&c=10&l=0' ), link : ( ( variant[1] <= 100 ) ? 'http://gmbgoodchoice.com/track.asp?a=390&o=87&c=12&l=0' : 'http://gmbeasyway.com/track.asp?a=390&o=153&c=10&l=0' ) }, 2: { text : ( ( variant[2] <= 50 ) ? { title: 'Easy Google ProfitTM', linkText: 'See it..', downText: 'Learn to Earn on Google!

$200 to $943 per day or more

', linkInText: '' } : { title: 'Have an extra hour/day?', linkText: 'Click Here', downText: 'You could be making up
to $1000 or more additional income each week.

It\'s possible with a home business.

', linkInText: '' } ), pixel : ( ( variant[2] <= 50 ) ? 'http://www.gmbtrack.com/tracki.asp?a=390&o=81&c=5&l=4' : 'http://www.gmbtrack.com/tracki.asp?a=390&o=46&c=0&l=2' ), link : ( ( variant[2] <= 50 ) ? 'http://gmbeasyway.com/track.asp?a=390&o=81&c=5&l=4' : 'http://gmbgoodchoice.com/track.asp?a=390&o=46&c=0&l=2' ) }, 3: { text : ( ( variant[3] <= 50 ) ? { title: 'Free Wealth Book', linkText: 'Get Your Free Book', downText: 'Learn the secrets to generating wealth!
We\'re giving away FREE bestselling books by financial advisor, Robert Allen!

', linkInText: '' } : { title: 'Can U Type?', linkText: 'See it..', downText: 'Simple Data Entry Work Up to $127/day, 147 people needed

', linkInText: '' } ), pixel : ( ( variant[3] <= 50 ) ? 'http://www.gmbtrack.com/tracki.asp?a=390&o=153&c=10&l=0' : 'http://www.gmbtrack.com/tracki.asp?a=390&o=24&c=11&l=8' ), link : ( ( variant[3] <= 50 ) ? 'http://gmbeasyway.com/track.asp?a=390&o=153&c=10&l=0' : 'http://gmbeasyway.com/track.asp?a=390&o=24&c=11&l=8' ) }, 4: { text : ( ( variant[4] <= 80 ) ? { title: 'Beware of At Home Jobs', linkText: 'See it...', downText: '98.3% Make Money Sites 
Are Scams. 

Learn 3 Tested Ways
to Make Money.

', linkInText: '' } : { title: 'It\'s really possible!', linkText: 'Learn more', downText: 'Making money on the Internet is E-A-S-Y!

Thanks to the emillionaire system ANYONE really can become rich.

', linkInText: '' } ), pixel : ( ( variant[4] <= 80 ) ? 'http://www.gmbtrack.com/tracki.asp?a=390&o=131&c=8&l=4' : 'http://www.gmbtrack.com/tracki.asp?a=390&o=83&c=8&l=0' ), link : ( ( variant[4] <= 80 ) ? 'http://gmbyourchance.com/track.asp?a=390&o=131&c=8&l=4&x_company=fly_Coo' : 'http://gmbeasypass.com/track.asp?a=390&o=83&c=8&l=0' ) } }); });