Craiglist – The Best Way To Make Money Online/online Business

Craiglist – The Best Way To Make Money Online/online Business

Online business is one of the most common term used by everyone these days .Making money through
these online businesses is not easy , but one of the successful & easy business now a day is make money
by posting ads daily on a site called Craiglist . These Craiglist is designed in such a way, that people go to
that site & post ads on just about anything that too completely free of charge . They have different categories
like jobs , online dating , selling or buying commodities & many more . You can find anything out there .
Craiglist gets millions of visitors each month , so best place for exposure to outside world . Few things that
you can do on Craiglist :

Personal ads ; You can always put up personal ads for selling commodities or buy some stuff on Craiglist . You
can buy at cheaper price on Craiglist & then sell it at a good price on eBay , this business module is used by
many people to earn profits .

Business ads : You can always put up the ads related to your products , employer requirements , business details
like for an investment form or real estate .

Freelancer ads : The employers can put up ad related to their requirements & service providers can put their profiles .

But the basic problem with posting ad is you need to do multiple posting of your ads daily to get maximum exposure
& target maximum people . But posting these ads so many time is a boring process & consumes much of time so
the easiest solution to this problem is using Craiglist Auto Poster such as Craiglist Bot Pro . This software comes
with various features between them one of the most important feature is its campaign manager  . Campaign in a
Craiglist Bot Pro allows for multiple ads to be placed with one specific name . By clicking the post button you can
even post all the ads posted in real time , thus saving your time . there is an interesting feature of adding upto four
images to your ads .You can use an unlimited email addresses with the CL Bot Pro thus less of chance of getting the
ad flagged .

This amazing software is available in two variants i.e.,
1)CL Bot Pro Standard which does not include the random email rotator module is available at a
price of .
2)CL Bot Pro Professional which Includes random / multiple email address add-on (9 value) is
available at price of .

You can order this product following the link
- http://freelance2earn.com/ (open page & click the tab on top related to Craiglist auto poster).

Start Online Freelancing Business…..

Get to know more about Online Freelancing business/Online Legitimate Jobs and the Best Online Freelancing Websites serving around the globe…….

Log on to    http://www.freelance2earn.com

http://www.blogs.freelance2earn.com


Article from articlesbase.com

Part 3 of the Sharpie 500
Video Rating: 5 / 5

Technorati Tags: , , , ,

Bushnell Customer Reviews – Which Golf Range finder Will You Make A Decision To Spend Money On

Bushnell Customer Reviews – Which Golf Range finder Will You Make A Decision To Spend Money On

Every  Golf player would like SPIN, Long distanceAND PINSEEKER. Along with it’s streamlined horizontal profile the Bushnell Medalist Lazer Rangefinder is about a couple ofpoints: Lower scores and PinSeeker technology. Fast and natural to the eye, the Medalist acquires flags tucked in the deepest corners of the green despite background clutter that befuddles lesser range finders. Wherever evil lurks anywhere on the course, the Medalist with PinSeeker delivers you with the data you really want, to make the shot you will need.

Compact in size and yetfilled with potent rangefinding attributes, the Bushnell Medalist sets a completely new standard within a comprehensive rangefinder package. Likeit’s predecessor-the PinSeeker 1500-the Medalist is set up with PinSeeker technology to incorporate pinpoint precision and uniformity empowering you to range upward to 250 yards (±1 yard) to the flag without the use of reflectors.

Bushnell Customer Reviews will help you evaluate which golf range finder is best suited to you

Run by a 9-volt power supply, the light in weight Medalist provides a 4 times magnification and features a rubber armoring, making it uncomplicated to grasp. It also comes with a premium carrying case. Weighing just 9ounces, the Medalist measures 1. sevenby4.5 x3. 8inches in size and is all set to be used right out-of-the-box, letting it to be played at 100per cent of the courses around the world

With this rangefinder you can easily read ranges to pins andsand traps on any course withoutever having to purchase gps downloads. And also you may study ranges to fronts plus backs of , trees and shrubs, rocks or what have you. And it functions whether or not you have a tree cover or cloud cover as well.

Listed here Are Quite a few Of The Brilliant Features Of The Bushnell Medalist LaserRange finder

* Laser range finder with built-in PinSeeker technology for analyzing golf ranges
* Works outrange to pin or items on the course within plus-or-minus 1 meter
* Easy-to-read, in-view LCD display exhibits range in your choice of yards or meters
* 4x magnification and 20mm objective diameter; offers range of 5 to 1,000 yards
* Measures 4.5 x 1.7 x 3.8 inches (W x H x D) and weighs 9 ounces; 2-year warranty

bushnell medalist laser rangefinder review helps you to decide which bushnell golf rangefinder will end up in your golf bag

Bushnell provides other newer (more expensive) styles that are trulynot really any better i.e. ones that adjust “slope” for elevation of green are not accredited for tournament play in accordance to USGA rules of golf. So this one really is the perfect one out there for the value.

If you are looking for ways to improve your golf game then you are going to want one of these, once you try a golf range finder out you will never look back bushnell medalist laser rangefinder .


Article from articlesbase.com

Find More Custom Flags Articles

Technorati Tags: , , , , , , , ,

What is a door mat anyways?

Like one time I let my friend borrow money because I liked her a lot…… but then I found out she was taking me for granted, I told her about it and said I didn’t appreciate it. Is a door mat someone who doesn’t stick up for himself?

Technorati Tags: ,

I have good friend who has a controlling husband should I end the friendship?

She is his door mat. She does everthing for him and nothing for herself. He does everything for himself and nothing for her. The only time he does is when he brakes things of hers because she didn’t do what he said such as… Once she charged 38 dollars he broke things of hers because she was told not to spend money. He can do anything he wants and there is no ? asked. I have a feeling he is cheating because of his lame excuses I have talked with her about it and her comment i don’t want to know let him do what he wants. I have talk her carefully about how unfair he is, but she is in denial. I have even seen him hit her. Its ok to her because she thinks its her fault. A part of me now wants to end this friendship. To see her go through what she deals with pains me greatly
I feel great resentment twords him . I cant become too involved because he will turn her against me. This is killing me because my hands are tied. This is now effecting my life.

Technorati Tags: , , , , , ,

I have good friend who has a controlling husband should I end the friendship?

She is his door mat. She does everthing for him and nothing for herself. He does everything for himself and nothing for her. The only time he does is when he brakes things of hers because she didn’t do what he said such as… Once she charged 38 dollars he broke things of hers because she was told not to spend money. He can do anything he wants and there is no ? asked. I have a feeling he is cheating because of his lame excuses I have talked with her about it and her comment i don’t want to know let him do what he wants. I have talk her carefully about how unfair he is, but she is in denial. I have even seen him hit her. Its ok to her because she thinks its her fault. A part of me now wants to end this friendship. To see her go through what she deals with pains me greatly
I feel great resentment twords him . I cant become too involved because he will turn her against me. This is killing me because my hands are tied. This is now effecting my life.

Technorati Tags: , , , , , ,

How To Making money with Twitter

How To Making money with Twitter

1.1    Notice of rights

All rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher.

1.2    Notice of Liability

The information in this book is distributed on an “As Is” basis without warranty. While every precaution has been taken in the preparation of the book, neither the author nor the publisher
shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the instructions contained in this book or by
the products described in it.
2    Prelude

Hi this is my First eBook and I hope you‟ll enjoy it.
I‟ll try to write this as short as possible with a minimum of
bullshit but still easy to understand. If you read this eBook and
follow it step by step you should be able to get ten thousands of followers and make lots of money with the ads you send to then.

3    The Golden Rule

If you are a spammer and spam your followers, you will FAIL. Period.
Ok, with that out of the way, let’s talk about Twitter for a second. Twitter is about opt-in relationships between people. No one is under any obligation to follow you, or listen to what
you say. And they won‟t, unless you are adding value to their
feed in some way.
4    How are you going to make money with
Twitter?

-    First of all you need a lot of followers
-    When you have enough followers, you need to send
them ads, they click on it and you‟ll start earning money,
that‟s all!

5    Is this going to cost you a lot of time?

Not at all! I tested this method for you and I found the best and fastest way to earn money with Twitter. So all you have to do is follow this instructions. At First, it‟s going to take some time to create and manage all the accounts, but at the end all you have to do is write some tweets every day, it takes about 5 minutes,
that‟s all!

6    Why do I write this eBook?

I am also using this method and I‟m earning a lot of money with it. Now I want you to give you this info so you can make money too and I can make even more money!
This eBook if free so in return I just ask you to create a RevTwt account via this  link.
(http://revtwt.com/index.php?id=78248) When you start earning money on this site, I receive 20% on top of your income.
Once you‟ve created your own account, go to the „Referrals‟ tab
and you get your very own link that you can give to other people
and receive 20% on top of their earnings!
7    This is what you need to start earning money

-    Twitter account (https://twitter.com/signup)
-    Paypal account (http://www.paypal.com/)
-    RevTwt account (http://revtwt.com/index.php?id=78248)
-    Tweetlater account (http://www.tweetlater.com/register)
-    Hummingbird
-    TweetDeck

7.1    Twitter Account

Logon to your Twitter account and change these „Settings‟:

7.1.1Account
-    Name, Username, Email
-    Time Zone: Take a time zone between GMT -08:00 and -
05:00 because most people who follow me are from the
United States (Can be different for your situation!)
-    More Info URL: Here you can promote your website
-    One Line Bio: This is also important, just write something about yourself
-    Location and Language

7.1.2    Notices
Uncheck „Email when someone starts following me‟, because over 10.000 people are going to follow you from you, so that‟s a lot of spam.

7.1.3    Picture
Make sure you add a picture of yourself (or just get a picture on the internet from someone you like).
7.1.4    Design
Change the design so you don‟t have the boring standard design
or go to http://mytweetspace.com/ and create something nice.

You can start with one Twitter account, but to grow fast you‟ll need 10 accounts. It‟s better to start with one account and see how this is going for you and create the other accounts later.

7.2    PayPal Account

This is simple, create an account and verify you credit card or top up your account.

7.3    RevTwt Account

This is the site you‟ll need to start earning money. Don‟t forget to sign up with link, thanks! (http://revtwt.com/index.php?id=78248)
Go to „Twitter Accounts‟, add your twitter account(s) and Auto
Post 2 Ads/Day. Click „submit‟ to save your changes.
This site will now automatically post 2 ads each day so all you
have to do is sit back and earn money.

7.4    Tweetlater Account

Create an account and go to „Account‟, „Add Accounts‟ and. Check „Automatically send a welcome message to new followers‟ and in the „Send This Message:‟ box you write something like: Thanks for following! I am making money on twitter, you can
too!
http://revtwt.com/index.php?id=78248
Also check „Auto Unfollow‟.
7.5    Hummingbird

Their sales page is this:  http://twitaddict.com/hummingbird/

But you can download it for free @ warez-bb:
http://www.warez-bb.org/viewtopic.php?t=2602857&start=0

Just install it following the instructions and replace the original
.exe with the crack.

With this software you can add a lot of followers, very fast.

7.5.1

Log in with you Twitter Account and go to „Tools‟, „Find
Targeted Followers‟.

Go to „Find suggested users‟, „select all‟ and click „Follow‟.

Then do this again but stay on the „Find on Twitter‟ tab. Search
on a keyword like Twitter, website, marketing, woman, …

Click on an account that has between 1000 and 2000 followers. Click on „Followers‟ or „Following‟, wait a few seconds and click on „Follow All‟.

Now Hummingbird starts following them all, this can take a while.

You can follow 2000 people max, this is a limit on Twitter and you can only break it by getting more Followers.

Now you‟ve followed 1000-2000 people. Wait 48 hours and let them follow you back. This is how you get followers!

Once you have as much followers as people following you, you have to „flush‟ the people that you are following, but don‟t follow

you back. So click on „following‟ and click the bottom right corner button labeled „Unfollow All‟.
But do NOT do a “mass unfollow” of thousands at a time. You
are sending a red flag and an increased chance of your account
getting suspended. Repeat from step 7.5.1.
Keep doing this to get as much followers as u need.

7.6    TweetDeck

At this point, we are sending 2 ads to our followers each day. Most people see this as spam and they will unfollow you. You need to tell them something interesting. I you only have one Twitter account you just send some Tweets every day and skip this step. But if you have multiple accounts and you have to write Tweets for all of them, it can take you a lot of time! So
that‟s why you have to download this program and you can
Tweet to all your Twitter accounts at the same time!

Go to http://tweetdeck.com/ and install the software.

7.6.1

Launch it, add all you Twitter accounts, click „Tweet‟ (upper left), select all you Twitter accounts and Tweet something. Now you are Tweeting to all your accounts at the same time!

8    What to do next?

Repeat step 7.5.1 every 48 to 72 hours and step 7.6.1 every day.
9    Last notes

Thank you for reading this tutorial. I know it will work for you. Please don‟t forget to sign up @ RevTwt with my link. (http://revtwt.com/index.php?id=78248). I you see any spelling errors, just let me know (It will probably be full of it).

Technorati Tags: , ,

Save Energy and Money With 3 Nifty Home Improvement Products

Save Energy and Money With 3 Nifty Home Improvement Products

With the high costs of fuel today, it pays to save energy and money on home improvement projects where you can. To help with your budgets, here are three awesome products in the marketplace to check out.

1) Hurricane Socks

We always use a number of measures to get rid of dirt and dust from our house. However, it becomes quite difficult to prevent accumulation dirt once the rainy season and hurricane season starts. To prevent water from coming into your house, hurricane socks can help. Made from high quality water absorbing material, hurricane socks are usually 3 inches by 3 – to 4-feet long cylinders of polypropylene packed in strong nylon.

You can place these hurricane socks at the bottom of the doors and windows to prevent possible water dripping and leaking. And surprisingly, these water absorbent socks are able to soak one-gallon water. That means you can change a single hurricane sock after couple of days; simply wring it out, let it air dry and use it – over and over and over again. Crack those tough wet jobs with easy-to-use, economical hurricane socks.

2) Abzorb Mats

Sometimes even after taking all major precautions to keep the house clean, floors – especially the garage and kitchen floors – become dirty and greasy. But don’t worry! An easy solution is to use Abzorb Mats, made of top quality absorbing polypropylene, backed with high quality epoxy resin.

Abzorb Mats:

• Keep you garage cleaner and safer from slipping accidents on greasy spots.

• Prevent damage to not only flooring (wood, concrete and others) but also walls, cabinets other areas.

• Absorb gallons of water, and when the water evaporates from the mat, you can use them over and over and over again.

• Are easy to use and clean, and last for years.

• Also come in rolls for easy cutting with scissors or other sharp tool.

Available in multiple sizes and affordable price ranges, Abzorb Mats can be used inside your garage, home (under pet dishes, in children’s rooms, under kitchen appliances, etc) and other areas as well as; for example, outside on decks under grills.

3) Draft Stoppers

Along with house cleaning, keeping your home warm is also important, especially during winter season. A central heating system and / or living room fireplace combo is excellent for this purpose, available in local home improvement stores and online.

Note, though, that even if you have your systems and fireplaces in place and running, you need to try hard to prevent possible heat loss, since severe heat loss may overload the systems resulting in overuse of electricity, not to mention excessive energy bills. A simple way to avoid this is to block gaps responsible for heat loss with quality draft stoppers.

A well graded draft stopper is made using finely ground corn cob filled in a cylindrical polypropylene bag, easy to shape as you’d like, and place accordingly. These draft stoppers are long lasting, economical and tough on heat loss.

So give it a try – nothing to lose – - save energy and money with any or all of these 3 nifty home improvement products.

Visit, subscribe to and bookmark: http://myhomeimprovementtips.com for your home improvement projects and Abzorb Mats! And keep up with the latest home improvements for your home and family.

1975 Cadillac Coupe De ville ( 2-door) 67000 ORIGINAL MILES ! This baby has under 69000 original miles on the factory Cadillac 500Ci engine and runs excellent and transmission shifts well. Chocolate brown exterior, black quarter top, with all black leather interior “Hard to find” Dash is perfect, no cracks, door panels are perfect, no cracks, original Cadillac Black carpet with original Cadillac floor mats with logos, headliner and visors are perfect, no sags or rips, perfect ! Has dual power seats, not just the drivers side but “Dual”, power windows, power locks, cruise control, A/C, power trunk release button in glove box with power push to close power trunk lid. ( all factory installed equipment ) Has original Cadillac am/fm 8 track in dash stereo with original Cadillac speakers and the power antenna works as new. Trunk has original factory Cadillac spare tire, jack, carpet, Cadillac rubber floor protector covers black trunk carpet and all cardboard sides are in tack. Just replaced rear filler panels. ( see in pictures below ) All lights work inside and out, even the 3 lights on the front fender markers along with the 2 indicator lights in the rear upper molding. Original Blue plates with original Dealer frames when purchased new off showroom floor. *** PINK SLIP IN HAND — CLEAN TITLE — NOT A SALVAGE ! *** SOLD *** Call or Text # 559-245-2121 – ANYTIME !

More Door Mat, Articles

Technorati Tags: , , , , , ,

How can I make smart passive income with little or not money to start?

How can I make smart passive income with little or not money to start?

Whenever anyone tells me that they think to start a business. I always suggest them to start making money with passive income opportunity or find passive income source that generate good amount of money. Why do I always suggest passive income opportunity? The simple fact about passive income opportunities will continue to pay you per month as long as the person you referred into any business or you sold the product or services to remain customer to company. Let’s see how powerful this can be?

Instead of working many hours in day at your jobs what you get nothing but only small piece of money which is not enough to pay your home bills. In passive income opportunities you will not have to work all day just 2 to 3 hours is enough to generate a big amount of money for yourself. Once you find good passive income source then you able to generate lots of money by just sitting at your home in front of your computer.

In online world you find so many passive income sources that will help you to create passive income. All you have to do just open your eyes while finding passive income source. Find one and get involve in program.

List of passive income ideas—

1.    Affiliate marketing

2.  Content writing

3.  Google adsense

4.  Product promotion

5.  Freelance Worker

6.  Blogging

By using all this passive income ideas you can make lots of money at sitting at your home. All this passive income ideas are very effective some of most popular like Google adsense and affiliate marketing. Choose one passive income idea that suits you and get involve in your passive income idea.

Most of people think just involving in passive income idea is enough to make money online but they not able to understand passive income ideas also required some effort so apply you effort and see your passive income growth like growing tree. It will take some time to understand your passive income ideas in which you are involved how your passive income source works and how can you generate money through this system. So keep patient and watch the system and learn the system.

Passive income example—

Let me tell you some of most popular and good income generating passive income example. Affiliate marketing is nothing but promotion of product or services when any visitor buys this you will get commission. Affiliate marketing is good passive income example. The most popular affiliate marketing programs are click bank or commission junction.

For more information about commission junction read this EBook– http://bit.ly/9fjVVC

For more information about click bank read this EBook—

http://bit.ly/b4i8t6

Other most popular passive income example is Google work from home. Google work from home is known as Google adsense. Google adsense is nothing but a PPC (pay per click) program. In Google adsense you got a ad place ad on your site or blog when genuine visitor comes to your blog and click on adsense ad you will get paid. Getting Google adsense account is not an easy task it required lots of effort. Affiliate marketing is lot easier as compare to Google adsense. Google adsense is second most popular passive income example. So choose any one of passive income example and get involve in system and start making money from home.

Create passive income—

Creating passive income is not as easy task most of digi marketer failed to generate smart passive income because they think involving in passive income source is enough they don’t try to understand the system what system does and how system generate money for you. So understand passive income source and able to create passive income.

All the best for creating passive income from home

Passive income blog-

Passive income blog means suppose if you don’t have money to create or buy website or other reason is you don’t want to invest money at the starting point. Then passive income blog is one option is left with the help of passive income blog you able to create passive income as same as you creating for your site. Creating passive income blog is very difficult task. At time of creating passive income blog please keep this entire thing in your mind—

1.    Layout of blog

2.  Look and feel of blog

3.  Post

4.  Name of blog

5.  Sitemap

6.  Robots

Keep this entire thing in your mind and create passive income generating killer blog.

So start making smart passive income don’t waste your time because time is most suspicious thing is world you can get more money but you can not get more time so think about it and start working on it.

For more information please visit here– http://smartpassiveincomes.blogspot.com/

<input id=”gwProxy” type=”hidden” /><input id=”jsProxy” />

<input id=”gwProxy” type=”hidden” /><input id=”jsProxy” />

<!– Top iFrame –> <!– Bottom iFrame –> [removed]// <![CDATA[ var LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT = 300; var LEO_HIGHLIGHTS_MAX_HIGHLIGHTS = 50; var LEO_HIGHLIGHTS_IFRAME_TOP_ID = "leoHighlights_top_iframe"; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID = "leoHighlights_bottom_iframe"; var LEO_HIGHLIGHTS_IFRAME_DIV_ID = "leoHighlights_iframe_modal_div_container"; var LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_WIDTH = 520; var LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_HEIGHT = 391; var LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_WIDTH = 520; var LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_HEIGHT = 665; var LEO_HIGHLIGHTS_IFRAME_TOP_POS_X = 0; var LEO_HIGHLIGHTS_IFRAME_TOP_POS_Y = 0; var LEO_HIGHLIGHTS_IFRAME_TOP_WIDTH = 520; var LEO_HIGHLIGHTS_IFRAME_TOP_HEIGHT = 294; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_POS_X = 96; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_POS_Y = 294; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_WIDTH = 425; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_HEIGHT = 97; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_WIDTH = 425; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_HEIGHT = 371; var LEO_HIGHLIGHTS_SHOW_DELAY_MS = 300; var LEO_HIGHLIGHTS_HIDE_DELAY_MS = 750; var LEO_HIGHLIGHTS_SHOW_DELAY_NO_UNDER_MS = 850; var LEO_HIGHLIGHTS_BACKGROUND_STYLE_DEFAULT = "transparent none repeat scroll 0% 0%"; var LEO_HIGHLIGHTS_BACKGROUND_STYLE_HOVER = "rgb(245, 245, 0) none repeat scroll 0% 0%"; var LEO_HIGHLIGHTS_ROVER_TAG = "711-36858-13496-14"; createInlineScriptElement("var LEO_HIGHLIGHTS_DEBUG = false;
var LEO_HIGHLIGHTS_DEBUG_POS = false; var _leoHighlightsPrevElem = null;
var _leoHighlightsSnoozed = false; /** * Checks if the passed in class exists * @param c * @return */
function _leoHighlightsClassExists(c) { return typeof(c) == "function" && typeof(c.prototype) == "object" ? true : false;
} /** * Checks if the firebug console is available * @param c * @return */
function _leoHighlightsFirebugConsoleAvailable(c) { try { if(_leoHighlightsClassExists(_FirebugConsole) && window.console && console.log && (console instanceof _FirebugConsole)) { return true; } } catch(e){} return false;
} /** * General method used to debug exceptions * * @param location * @param e * @return */
function _leoHighlightsReportExeception(location,e)
{ try { if(_leoHighlightsFirebugConsoleAvailable() ||LEO_HIGHLIGHTS_DEBUG) { var logString=location+": "+e+"\n\t"+e.name+"\n\t"+ (e.number&0xFFFF;)+"\n\t"+e.description; if(_leoHighlightsFirebugConsoleAvailable()) { console.error(logString); console.trace(); } } if(LEO_HIGHLIGHTS_DEBUG) alert(logString); } catch(e){}
} /** * This will log a string to the firebug console * * @param str * @return */
function _leoHighlightsDebugLog(str)
{ try { if(_leoHighlightsFirebugConsoleAvailable()) { console.log(typeof(_FirebugConsole)+" "+str); } } catch(e) { _leoHighlightsReportExeception("_leoHighlightsDebugLog() "+str,e); }
} /** * This will get an attribute and decode it. * * @param elem * @param id * @return */
function _leoHighlightsGetAttrib(elem,id)
{ try { var val=elem.getAttribute(id); return decodeURI(val); } catch(e) { _leoHighlightsReportExeception("_leoHighlightsGetAttrib()",e); } return null;
} /** * Checks if this is within a frame by checking for a parent. * * @return */
function _leoHighlightsIsFrame()
{ try { return (window!=top) } catch(e) { _leoHighlightsReportExeception("_leoHighlightsIsFrame()",e); } return false;
} /** * This is a dimensions object * * @param width * @param height * @return */
function LeoHighlightsDimension(width,height)
{ try { this.width=width; this.height=height; this.toString=function() { return ("("+this.width+","+this.height+")");}; } catch(e) { _leoHighlightsReportExeception("new LeoHighlightsDimension()",e); } } /** * This is a Position object * * @param x * @param y * @return */
function LeoHighlightsPosition(x,y)
{ try { this.x=x; this.y=y; this.toString=function() { return ("("+this.x+","+this.y+")");}; } catch(e) { _leoHighlightsReportExeception("new LeoHighlightsPosition()",e); } } var LEO_HIGHLIGHTS_ADJUSTMENT = new LeoHighlightsPosition(3,3);
var LEO_HIGHLIGHTS_IFRAME_TOP_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_TOP_WIDTH,LEO_HIGHLIGHTS_IFRAME_TOP_HEIGHT);
var LEO_HIGHLIGHTS_IFRAME_BOTTOM_HOVER_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_WIDTH,LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_HEIGHT);
var LEO_HIGHLIGHTS_IFRAME_BOTTOM_CLICK_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_WIDTH,LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_HEIGHT); var LEO_HIGHLIGHTS_DIV_HOVER_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_WIDTH,LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_HEIGHT);
var LEO_HIGHLIGHTS_DIV_CLICK_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_WIDTH,LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_HEIGHT); /** * Sets the size of the passed in element * * @param elem * @param dim * @return */
function _leoHighlightsSetSize(elem,dim)
{ try { // Set the popup location elem.style.width = dim.width + "px"; if(elem.width) elem.width=dim.width; elem.style.height = dim.height + "px"; if(elem.height) elem.height=dim.height; } catch(e) { _leoHighlightsReportExeception("_leoHighlightsSetSize()",e); } } /** * This can be used for a simple one argument callback * * @param callName * @param argName * @param argVal * @return */
function _leoHighlightsSimpleGwCallBack(callName,argName, argVal)
{ try { var gwObj = new Gateway(); if(argName) gwObj.addParam(argName,argVal); gwObj.callName(callName); } catch(e) { _leoHighlightsReportExeception("_leoHighlightsSimpleGwCallBack() "+callName,e); }
} /** * This gets a url argument from the current document. * * @param url * @return */
function _leoHighlightsGetUrlArg(url, name )
{ name = name.replace(/[\[]/,”\\[").replace(/[\]]/,”\\]”); var regexS = “[\?&]“+name+”=([^]*)”; var regex = new RegExp( regexS ); var results = regex.exec(url); if( results == null ) return “”; else return results[1];
} /** * This allows to redirect the top window to the passed in url * * @param url * @return */
function _leoHighlightsRedirectTop(url)
{ try { top.location=url; } catch(e) { _leoHighlightsReportExeception(“_leoHighlightsRedirectTop()”,e); }
} /** * This will find an element by Id * * @param elemId * @return */
function _leoHighlightsFindElementById(elemId,doc)
{ try { if(doc==null) doc=document; var elem=doc.getElementById(elemId); if(elem) return elem; /* This is the handling for IE */ if(doc.all) { elem=doc.all[elemId]; if(elem) return elem; for ( var i = (document.all.length-1); i >= 0; i ) { elem=doc.all[i]; if(elem.id==elemId) return elem; } } } catch(e) { _leoHighlightsReportExeception(“_leoHighlightsFindElementById()”,e); } return null;
} /** * Get the location of one element relative to a parent reference * * @param ref * the reference element, this must be a parent of the passed in * element * @param elem * @return */
function _leoHighlightsGetLocation(ref, elem) { _leoHighlightsDebugLog(“_leoHighlightsGetLocation “+elem.id); var count = 0; var location = new LeoHighlightsPosition(0,0); var walk = elem; while (walk != null && walk != ref && count < LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT) { location.x += walk.offsetLeft; location.y += walk.offsetTop; walk = walk.offsetParent; count++; } _leoHighlightsDebugLog(“Location is: “+elem.id+” – “+location); return location;
} /** * This is used to update the position of an element as a popup * * @param IFrame * @param anchor * @return */
function _leoHighlightsUpdatePopupPos(iFrame,anchor)
{ try { // Gets the scrolled location for x and y var scrolledPos=new LeoHighlightsPosition(0,0); if( self.pageYOffset ) { scrolledPos.x = self.pageXOffset; scrolledPos.y = self.pageYOffset; } else if( document.documentElement && document.documentElement.scrollTop ) { scrolledPos.x = document.documentElement.scrollLeft; scrolledPos.y = document.documentElement.scrollTop; } else if( document.body ) { scrolledPos.x = document.body.scrollLeft; scrolledPos.y = document.body.scrollTop; } /* Get the total dimensions to see what scroll bars might be active */ var totalDim=new LeoHighlightsDimension(0,0) if (document.all && document.documentElement && document.documentElement.clientHeight&&document;.documentElement.clientWidth) { totalDim.width = document.documentElement.scrollWidth; totalDim.height = document.documentElement.scrollHeight; } else if (document.all) { /* This is in IE */ totalDim.width = document.body.scrollWidth; totalDim.height = document.body.scrollHeight; } else { totalDim.width = document.width; totalDim.height = document.height; } // Gets the location of the available screen space var centerDim=new LeoHighlightsDimension(0,0); if(self.innerWidth && self.innerHeight ) { centerDim.width = self.innerWidth-(totalDim.height>self.innerHeight?16:0); // subtracting scroll bar offsets for firefox centerDim.height = self.innerHeight-(totalDim.width>self.innerWidth?16:0); // subtracting scroll bar offsets for firefox } else if( document.documentElement && document.documentElement.clientHeight ) { centerDim.width = document.documentElement.clientWidth; centerDim.height = document.documentElement.clientHeight; } else if( document.body ) { centerDim.width = document.body.clientWidth; centerDim.height = document.body.clientHeight; } // Get the current dimension of the popup element var iFrameDim=new LeoHighlightsDimension(iFrame.offsetWidth,iFrame.offsetHeight) if (iFrameDim.width <= 0) iFrameDim.width = iFrame.style.width.substring(0, iFrame.style.width.indexOf(‘px’)); if (iFrameDim.height <= 0) iFrameDim.height = iFrame.style.height.substring(0, iFrame.style.height.indexOf(‘px’)); /* Calculate the position, lower right hand corner by default */ var position=new LeoHighlightsPosition(0,0); position.x=scrolledPos.x+centerDim.width-iFrameDim.width-LEO_HIGHLIGHTS_ADJUSTMENT.x; position.y=scrolledPos.y+centerDim.height-iFrameDim.height-LEO_HIGHLIGHTS_ADJUSTMENT.y; if(anchor!=null) { //centerDim in relation to the anchor element if available var topOrBottom = false; var anchorPos=_leoHighlightsGetLocation(document.body, anchor); var anchorScreenPos = new LeoHighlightsPosition(anchorPos.x-scrolledPos.x,anchorPos.y-scrolledPos.y); var anchorDim=new LeoHighlightsDimension(anchor.offsetWidth,anchor.offsetHeight) if (anchorDim.width <= 0) anchorDim.width = anchor.style.width.substring(0, anchor.style.width.indexOf(‘px’)); if (anchorDim.height <= 0) anchorDim.height = anchor.style.height.substring(0, anchor.style.height.indexOf(‘px’)); // Check if the popup can be shown above or below the element if (centerDim.height – anchorDim.height – iFrameDim.height – anchorScreenPos.y > 0) { // Show below, formula above calculates space below open iFrame position.y = anchorPos.y + anchorDim.height; topOrBottom = true; } else if (anchorScreenPos.y – anchorDim.height – iFrameDim.height > 0) { // Show above, formula above calculates space above open iFrame position.y = anchorPos.y – iFrameDim.height – anchorDim.height; topOrBottom = true; } _leoHighlightsDebugLog(“_leoHighlightsUpdatePopupPos() – topOrBottom: “+topOrBottom); if (topOrBottom) { // We attempt top attach the window to the element position.x = anchorPos.x – iFrameDim.width / 2; if (position.x < 0) position.x = 0; else if (position.x + iFrameDim.width > scrolledPos.x + centerDim.width) position.x = scrolledPos.x + centerDim.width – iFrameDim.width; _leoHighlightsDebugLog(“_leoHighlightsUpdatePopupPos() – topOrBottom: “+position); } else { // Attempt to align on the right or left hand side if (centerDim.width – anchorDim.width – iFrameDim.width – anchorScreenPos.x > 0) position.x = anchorPos.x + anchorDim.width; else if (anchorScreenPos.x – anchorDim.width – iFrameDim.width > 0) position.x = anchorPos.x – anchorDim.width; else // default to below position.y = anchorPos.y + anchorDim.height; _leoHighlightsDebugLog(“_leoHighlightsUpdatePopupPos() – sideBottom: “+position); } } /* Make sure that we don’t go passed the right hand border */ if(position.x+iFrameDim.width>centerDim.width-20) position.x=centerDim.width-(iFrameDim.width+20); // Make sure that we didn’t go passed the start if(position.x<0) position.x=0; if(position.y<0) position.y=0; _leoHighlightsDebugLog(“Popup info id: ” +iFrame.id+” – “+anchor.id + “\nscrolled ” + scrolledPos + “\ncenter/visible ” + centerDim + “\nanchor (absolute) ” + anchorPos + “\nanchor (screen) ” + anchorScreenPos + “\nSize (anchor) ” + anchorDim + “\nSize (popup) ” + iFrameDim + “\nResult pos ” + position); // Set the popup location iFrame.style.left = position.x + “px”; iFrame.style.top = position.y + “px”; } catch(e) { _leoHighlightsReportExeception(“_leoHighlightsUpdatePopupPos()”,e); }
} /** * This will show the passed in element as a popup * * @param anchorId * @param size * * @return */
function _leoHighlightsShowPopup(anchorId,size)
{ try { if(_leoHighlightsSnoozed) return false; var popup=new LeoHighlightsPopup(anchorId,size); popup.show(); } catch(e) { _leoHighlightsReportExeception(“_leoHighlightsShowPopup()”,e); } } /** * This will transform the passed in url to a rover url * * @param url * @return */
function _leoHighlightsGetRoverUrl(url)
{ var rover=LEO_HIGHLIGHTS_ROVER_TAG; var roverUrl=”http://rover.ebay.com/rover/1/”+rover+”/4?&mpre;=”+encodeURI(url); return roverUrl;
} /** * Sets the size of the bottom windown part * * @param size * @return */
function _leoHighlightsSetBottomSize(size,clickId)
{ /* Get the elements */ var iFrameBottom=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID); var iFrameDiv=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_DIV_ID); /* Figure out the correct sizes */ var iFrameBottomSize=(size==1)?LEO_HIGHLIGHTS_IFRAME_BOTTOM_CLICK_SIZE:LEO_HIGHLIGHTS_IFRAME_BOTTOM_HOVER_SIZE; var divSize=(size==1)?LEO_HIGHLIGHTS_DIV_CLICK_SIZE:LEO_HIGHLIGHTS_DIV_HOVER_SIZE; /* Refresh the iFrame’s url, by removing the size arg and adding it again */ leoHighlightsUpdateUrl(iFrameBottom,size,clickId); /* Clear the hover flag, if the user shows this at full size */ _leoHighlightsPrevElem.hover=size==1?false:true; _leoHighlightsSetSize(iFrameBottom,iFrameBottomSize); _leoHighlightsSetSize(iFrameDiv,divSize);
} /** * Class for a Popup * * @param anchorId * @param size * * @return */
function LeoHighlightsPopup(anchorId,size)
{ try { _leoHighlightsDebugLog(“LeoHighlightsPopup() “); this.anchorId=anchorId; this.anchor=_leoHighlightsFindElementById(this.anchorId); this.topIframe=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_TOP_ID); this.bottomIframe=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID); this.iFrameDiv=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_DIV_ID); this.topIframe.src=unescape(this.anchor.getAttribute(‘leoHighlights_url_top’));; this.bottomIframe.src=unescape(this.anchor.getAttribute(‘leoHighlights_url_bottom’));; _leoHighlightsDebugLog(“1) LeoHighlightsPopup() (“+this.topIframe.style.top+”, “+this.topIframe.style.left+”)”); _leoHighlightsDebugLog(“2) LeoHighlightsPopup() (“+this.bottomIframe.style.top+”, “+this.bottomIframe.style.left+”)”); leoHighlightsSetSize(size); this.updatePos=function() { _leoHighlightsUpdatePopupPos(this.iFrameDiv,this.anchor);}; this.show=function() { this.updatePos(); this.iFrameDiv.style.visibility = “visible”; this.iFrameDiv.style.display = “block”; this.updatePos(); _leoHighlightsDebugLog(“3) LeoHighlightsPopup() (“+this.topIframe.style.top+”, “+this.topIframe.style.left+”)”); _leoHighlightsDebugLog(“4) LeoHighlightsPopup() (“+this.bottomIframe.style.top+”, “+this.bottomIframe.style.left+”)”); }; this.scroll=function() { this.updatePos();}; } catch(e) { _leoHighlightsReportExeception(“new LeoHighlightsPopup()”,e); }
} /** * updates the url for the iFrame * * @param iFrame * @param size * @param clickId * @return */
function leoHighlightsUpdateUrl(iFrame,size,clickId,destUrl)
{ try { _leoHighlightsDebugLog(“leoHighlightsUpdateUrl() “+destUrl); var url=iFrame.src; var idx=url.indexOf(“&size;=”); if(idx>=0) url=url.substring(0,idx); // size=1; _leoHighlightsDebugLog(“leoHighlightsUpdateUrl() size=”+size+” “+url); if(size!=null) url+=(“&size;=”+size); if(clickId!=null) url+=(“&clickId;=”+clickId); if(destUrl!=null) url+=(“&url;=”+destUrl); _leoHighlightsDebugLog(“leoHighlightsUpdateUrl() “+url); iFrame.src=url; } catch(e) { _leoHighlightsReportExeception(“leoHighlightsUpdateUrl()”,e); }
} /**
*
* This can be used to close an iframe
*
* @param id
* @return
*/
function leoHighlightsSetSize(size,clickId)
{ try { /* Get the element */ var iFrameTop=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_TOP_ID); /* Figure out the correct sizes */ var iFrameTopSize=LEO_HIGHLIGHTS_IFRAME_TOP_SIZE; /* Refresh the iFrame’s url, by removing the size arg and adding it again */ leoHighlightsUpdateUrl(iFrameTop,size,clickId); _leoHighlightsSetSize(iFrameTop,iFrameTopSize); _leoHighlightsSetBottomSize(size,clickId); /* Clear the hover flag, if the user shows this at full size */ if(size==1&&_leoHighlightsPrevElem) _leoHighlightsPrevElem.hover=false; } catch(e) { _leoHighlightsReportExeception(“leoHighlightsSetSize()”,e); }
} /** * Start the popup a little bit delayed. * Somehow IE needs some time to find the element by id. * * @param anchorId * @param size * * @return */
function leoHighlightsShowPopup(anchorId,size)
{ try { if(_leoHighlightsSnoozed) return false; var elem=_leoHighlightsFindElementById(anchorId); if(_leoHighlightsPrevElem&&(_leoHighlightsPrevElem!=elem)) _leoHighlightsPrevElem.shown=false; elem.shown=true; _leoHighlightsPrevElem=elem; _leoHighlightsDebugLog(“leoHighlightsShowPopup() “+_leoHighlightsPrevElem); /* FF needs to find the element first */ _leoHighlightsFindElementById(anchorId); setTimeout(“_leoHighlightsShowPopup(\’”+anchorId+”\’,\’”+size+”\’);”,10); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsShowPopup()”,e); } } /**
*
* This can be used to close an iframe
*
* @param id
* @return
*/
function leoHighlightsHideElem(id)
{ try { /* Get the appropriate sizes */ var elem=_leoHighlightsFindElementById(id); if(elem) elem.style.visibility=”hidden”; /* Clear the page for the next run through */ var iFrame=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_TOP_ID); if(iFrame) iFrame.src=”about:blank”; var iFrame=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID); if(iFrame) iFrame.src=”about:blank”; if(_leoHighlightsPrevElem) { _leoHighlightsPrevElem.shown=false; _leoHighlightsPrevElem=null; } } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHideElem()”,e); }
} /**
*
* This can be used to close an iframe.
* Since the iFrame is reused the frame only gets hidden
*
* @return
*/
function leoHighlightsIFrameClose()
{ try { _leoHighlightsSimpleGwCallBack(“LeoHighlightsHideIFrame”); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsIFrameClose()”,e); }
} /**
*
* This is used to snooze the highlights.
*
* @return
*/
function leoHighlightsSnooze()
{ try { _leoHighlightsSnoozed=true; _leoHighlightsSimpleGwCallBack(“LeoHighlightsSnooze”); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsSnooze()”,e); }
} /**
*
* This is used to snooze the highlights.
* This gets fired into the top frame.
*
* @return
*/
function leoHighlightsSnoozeTop(id)
{ try { _leoHighlightsSnoozed=true; leoHighlightsHideElem(id); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsSnoozeTop()”,e); }
} /** * This should handle the click events * * @param anchorId * @return */
function leoHighlightsHandleClick(anchorId)
{ try { if(_leoHighlightsSnoozed) return false; if(_leoHighlightsIsFrame()) return false; var anchor=_leoHighlightsFindElementById(anchorId); anchor.hover=false; if(anchor.startTimer) clearTimeout(anchor.startTimer); /* Report the click event */ leoHighlightsReportEvent(“clicked”, window.document.domain, _leoHighlightsGetAttrib(anchor,’leohighlights_keywords’),null, _leoHighlightsGetAttrib(anchor,’leohighlights_accept’), _leoHighlightsGetAttrib(anchor,’leohighlights_reject’)); leoHighlightsShowPopup(anchorId,1); return false; } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHandleClick()”,e); } } /** * This should handle the hover events * * @param anchorId * @return */
function leoHighlightsHandleHover(anchorId)
{ try { if(_leoHighlightsSnoozed) return false; if(_leoHighlightsIsFrame()) return false; var anchor=_leoHighlightsFindElementById(anchorId); anchor.hover=true; /* Report the hover event */ leoHighlightsReportEvent(“hovered”, window.document.domain, _leoHighlightsGetAttrib(anchor,’leohighlights_keywords’),null, _leoHighlightsGetAttrib(anchor,’leohighlights_accept’), _leoHighlightsGetAttrib(anchor,’leohighlights_reject’)); leoHighlightsShowPopup(anchorId,0); return false; } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHandleHover()”,e); } } /** * This will handle the mouse over setup timers for the appropriate timers * * @param id * @return */
function leoHighlightsHandleMouseOver(id)
{ try { if(_leoHighlightsSnoozed) return; if(_leoHighlightsIsFrame()) return; var anchor=_leoHighlightsFindElementById(id); /* Clear the end timer if required */ if(anchor.endTimer) clearTimeout(anchor.endTimer); anchor.endTimer=null; anchor.style.background=LEO_HIGHLIGHTS_BACKGROUND_STYLE_HOVER; var underline=_leoHighlightsGetAttrib(anchor,”leohighlights_underline”)==’true’; /* The element is already showing we are done */ if(anchor.shown) return; /* Setup the start timer if required */ anchor.startTimer=setTimeout(function(){ leoHighlightsHandleHover(anchor.id); anchor.hover=true; },underline?LEO_HIGHLIGHTS_SHOW_DELAY_MS:LEO_HIGHLIGHTS_SHOW_DELAY_NO_UNDER_MS); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHandleMouseOver()”,e); }
} /** * This will handle the mouse over setup timers for the appropriate timers * * @param id * @return */
function leoHighlightsHandleMouseOut(id)
{ try { var anchor=_leoHighlightsFindElementById(id); /* Clear the start timer if required */ if(anchor.startTimer) clearTimeout(anchor.startTimer); anchor.startTimer=null; anchor.style.background=LEO_HIGHLIGHTS_BACKGROUND_STYLE_DEFAULT; if(!anchor.shown||!anchor.hover) return; /* Setup the start timer if required */ anchor.endTimer=setTimeout(function(){ leoHighlightsHideElem(LEO_HIGHLIGHTS_IFRAME_DIV_ID); anchor.shown=false; _leoHighlightsPrevElem=null; },LEO_HIGHLIGHTS_HIDE_DELAY_MS); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHandleMouseOut()”,e); }
} /** * This handles the mouse movement into the currently opened window. * Just clear the close timer * * @return */
function leoHighlightsHandleIFrameMouseOver()
{ try { if(_leoHighlightsPrevElem&&_leoHighlightsPrevElem.endTimer) clearTimeout(_leoHighlightsPrevElem.endTimer); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHandleIFrameMouseOver()”,e); }
} /** * This handles the mouse movement into the currently opened window. * Just clear the close timer * * @param id * @return */
function leoHighlightsHandleIFrameMouseOut()
{ try { if(_leoHighlightsPrevElem) leoHighlightsHandleMouseOut(_leoHighlightsPrevElem.id); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHandleIFrameMouseOut()”,e); }
}
/** * This is a method is used to make the javascript within IE runnable */
var leoHighlightsRanUpdateDivs=false;
function leoHighlightsUpdateDivs()
{ try { /* Check if this is an IE browser and if divs have been updated already */ if(document.all&&!leoHighlightsRanUpdateDivs&&!_leoHighlightsIsFrame()) { leoHighlightsRanUpdateDivs=true; // Set early to prevent running twice for(var i=0;i0) url=url.substring(0,idx); /* Append the text to the end */ url+=”#”+encodeURI(txt); /* Set the iframe with the new url that contains the hash tag */ topIFrame.src=url; } catch(e) { _leoHighlightsReportExeception(“leoHighlightsSetExpandTxt()”,e); }
} /* */
/* Methods provided to the highlight providers… */
/* */ /** * This will set the expand text for the Top window */
function leoHL_SetExpandTxt(txt)
{ try { _leoHighlightsDebugLog(“leoHL_SetExpandTxt() “+txt); _leoHighlightsSimpleGwCallBack(“LeoHighlightsSetExpandTxt”,”expandTxt”,txt); } catch(e) { _leoHighlightsReportExeception(“leoHL_SetExpandTxt()”,e); }
} /** * This will redirect the top window to the passed in url * * @param url * @param parentId * @return */
function leoHL_RedirectTop(url,parentId)
{ try { try{ var domain=_leoHighlightsGetUrlArg(window.document.URL,”domain”) var keywords=_leoHighlightsGetUrlArg(window.document.URL,”keywords”) var vendorId=_leoHighlightsGetUrlArg(window.document.URL,”vendorId”) leoHighlightsReportEvent(“clickthrough”, domain,keywords, vendorId); }catch(e){ _leoHighlightsReportExeception(“leoHL_RedirectTop()”,e); } _leoHighlightsRedirectTop(url); } catch(e) { _leoHighlightsReportExeception(“leoHL_RedirectTop()”,e); }
} /** * This will redirect the top window to the passed in url * * @param url * @param parentId * @return */
function LeoHL_RedirectTop(url,parentId)
{ leoHL_RedirectTop(url,parentId);
} /** * This will redirect the top window to the passed in url * * @param url * @param parentId * @return */
function leoHL_RedirectTopAd(url,parentId)
{ try { try{ var domain=_leoHighlightsGetUrlArg(window.document.URL,”domain”) var keywords=_leoHighlightsGetUrlArg(window.document.URL,”keywords”) var vendorId=_leoHighlightsGetUrlArg(window.document.URL,”vendorId”) leoHighlightsReportEvent(“advertisement.click”, domain,keywords, vendorId); }catch(e){ _leoHighlightsReportExeception(“leoHL_RedirectTopAd()”,e); } _leoHighlightsRedirectTop(url); } catch(e) { _leoHighlightsReportExeception(“leoHL_RedirectTopAd()”,e); }
} /** * This will set the size of the iframe * * @param url * @param parentId * * @return */
function leoHl_setSize(size,url)
{ try { /* Get the clickId */ var clickId=_leoHighlightsGetUrlArg( url,”clickId”) var gwObj = new Gateway(); gwObj.addParam(“size”,size); if(clickId) gwObj.addParam(“clickId”,clickId+”_blah”); gwObj.callName(“LeoHighlightsSetSize”); } catch(e) { _leoHighlightsReportExeception(“leoHl_setSize()”,e); }
} /** * This will toggle the size of the window * * @return */
function leoHl_ToggleSize()
{ try { var gwObj = new Gateway(); gwObj.callName(“LeoHighlightsToggleSize”); } catch(e) { _leoHighlightsReportExeception(“leoHl_ToggleSize()”,e); }
} “);
]]>[removed]

<input id=”gwProxy” type=”hidden” /><input id=”jsProxy”>

<!– Top iFrame –> <!– Bottom iFrame –>
[removed]// <![CDATA[ var LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT = 300; var LEO_HIGHLIGHTS_MAX_HIGHLIGHTS = 50; var LEO_HIGHLIGHTS_IFRAME_TOP_ID = "leoHighlights_top_iframe"; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID = "leoHighlights_bottom_iframe"; var LEO_HIGHLIGHTS_IFRAME_DIV_ID = "leoHighlights_iframe_modal_div_container"; var LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_WIDTH = 520; var LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_HEIGHT = 391; var LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_WIDTH = 520; var LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_HEIGHT = 665; var LEO_HIGHLIGHTS_IFRAME_TOP_POS_X = 0; var LEO_HIGHLIGHTS_IFRAME_TOP_POS_Y = 0; var LEO_HIGHLIGHTS_IFRAME_TOP_WIDTH = 520; var LEO_HIGHLIGHTS_IFRAME_TOP_HEIGHT = 294; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_POS_X = 96; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_POS_Y = 294; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_WIDTH = 425; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_HEIGHT = 97; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_WIDTH = 425; var LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_HEIGHT = 371; var LEO_HIGHLIGHTS_SHOW_DELAY_MS = 300; var LEO_HIGHLIGHTS_HIDE_DELAY_MS = 750; var LEO_HIGHLIGHTS_SHOW_DELAY_NO_UNDER_MS = 850; var LEO_HIGHLIGHTS_BACKGROUND_STYLE_DEFAULT = "transparent none repeat scroll 0% 0%"; var LEO_HIGHLIGHTS_BACKGROUND_STYLE_HOVER = "rgb(245, 245, 0) none repeat scroll 0% 0%"; var LEO_HIGHLIGHTS_ROVER_TAG = "711-36858-13496-14"; createInlineScriptElement("var LEO_HIGHLIGHTS_DEBUG = false;
var LEO_HIGHLIGHTS_DEBUG_POS = false; var _leoHighlightsPrevElem = null;
var _leoHighlightsSnoozed = false; /** * Checks if the passed in class exists * @param c * @return */
function _leoHighlightsClassExists(c) { return typeof(c) == "function" && typeof(c.prototype) == "object" ? true : false;
} /** * Checks if the firebug console is available * @param c * @return */
function _leoHighlightsFirebugConsoleAvailable(c) { try { if(_leoHighlightsClassExists(_FirebugConsole) && window.console && console.log && (console instanceof _FirebugConsole)) { return true; } } catch(e){} return false;
} /** * General method used to debug exceptions * * @param location * @param e * @return */
function _leoHighlightsReportExeception(location,e)
{ try { if(_leoHighlightsFirebugConsoleAvailable() ||LEO_HIGHLIGHTS_DEBUG) { var logString=location+": "+e+"\n\t"+e.name+"\n\t"+ (e.number&0xFFFF;)+"\n\t"+e.description; if(_leoHighlightsFirebugConsoleAvailable()) { console.error(logString); console.trace(); } } if(LEO_HIGHLIGHTS_DEBUG) alert(logString); } catch(e){}
} /** * This will log a string to the firebug console * * @param str * @return */
function _leoHighlightsDebugLog(str)
{ try { if(_leoHighlightsFirebugConsoleAvailable()) { console.log(typeof(_FirebugConsole)+" "+str); } } catch(e) { _leoHighlightsReportExeception("_leoHighlightsDebugLog() "+str,e); }
} /** * This will get an attribute and decode it. * * @param elem * @param id * @return */
function _leoHighlightsGetAttrib(elem,id)
{ try { var val=elem.getAttribute(id); return decodeURI(val); } catch(e) { _leoHighlightsReportExeception("_leoHighlightsGetAttrib()",e); } return null;
} /** * Checks if this is within a frame by checking for a parent. * * @return */
function _leoHighlightsIsFrame()
{ try { return (window!=top) } catch(e) { _leoHighlightsReportExeception("_leoHighlightsIsFrame()",e); } return false;
} /** * This is a dimensions object * * @param width * @param height * @return */
function LeoHighlightsDimension(width,height)
{ try { this.width=width; this.height=height; this.toString=function() { return ("("+this.width+","+this.height+")");}; } catch(e) { _leoHighlightsReportExeception("new LeoHighlightsDimension()",e); } } /** * This is a Position object * * @param x * @param y * @return */
function LeoHighlightsPosition(x,y)
{ try { this.x=x; this.y=y; this.toString=function() { return ("("+this.x+","+this.y+")");}; } catch(e) { _leoHighlightsReportExeception("new LeoHighlightsPosition()",e); } } var LEO_HIGHLIGHTS_ADJUSTMENT = new LeoHighlightsPosition(3,3);
var LEO_HIGHLIGHTS_IFRAME_TOP_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_TOP_WIDTH,LEO_HIGHLIGHTS_IFRAME_TOP_HEIGHT);
var LEO_HIGHLIGHTS_IFRAME_BOTTOM_HOVER_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_WIDTH,LEO_HIGHLIGHTS_IFRAME_BOTTOM_COLLAPSED_HEIGHT);
var LEO_HIGHLIGHTS_IFRAME_BOTTOM_CLICK_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_WIDTH,LEO_HIGHLIGHTS_IFRAME_BOTTOM_EXPANDED_HEIGHT); var LEO_HIGHLIGHTS_DIV_HOVER_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_WIDTH,LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_HEIGHT);
var LEO_HIGHLIGHTS_DIV_CLICK_SIZE = new LeoHighlightsDimension(LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_WIDTH,LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_HEIGHT); /** * Sets the size of the passed in element * * @param elem * @param dim * @return */
function _leoHighlightsSetSize(elem,dim)
{ try { // Set the popup location elem.style.width = dim.width + "px"; if(elem.width) elem.width=dim.width; elem.style.height = dim.height + "px"; if(elem.height) elem.height=dim.height; } catch(e) { _leoHighlightsReportExeception("_leoHighlightsSetSize()",e); } } /** * This can be used for a simple one argument callback * * @param callName * @param argName * @param argVal * @return */
function _leoHighlightsSimpleGwCallBack(callName,argName, argVal)
{ try { var gwObj = new Gateway(); if(argName) gwObj.addParam(argName,argVal); gwObj.callName(callName); } catch(e) { _leoHighlightsReportExeception("_leoHighlightsSimpleGwCallBack() "+callName,e); }
} /** * This gets a url argument from the current document. * * @param url * @return */
function _leoHighlightsGetUrlArg(url, name )
{ name = name.replace(/[\[]/,”\\[").replace(/[\]]/,”\\]”); var regexS = “[\?&]“+name+”=([^]*)”; var regex = new RegExp( regexS ); var results = regex.exec(url); if( results == null ) return “”; else return results[1];
} /** * This allows to redirect the top window to the passed in url * * @param url * @return */
function _leoHighlightsRedirectTop(url)
{ try { top.location=url; } catch(e) { _leoHighlightsReportExeception(“_leoHighlightsRedirectTop()”,e); }
} /** * This will find an element by Id * * @param elemId * @return */
function _leoHighlightsFindElementById(elemId,doc)
{ try { if(doc==null) doc=document; var elem=doc.getElementById(elemId); if(elem) return elem; /* This is the handling for IE */ if(doc.all) { elem=doc.all[elemId]; if(elem) return elem; for ( var i = (document.all.length-1); i >= 0; i–) { elem=doc.all[i]; if(elem.id==elemId) return elem; } } } catch(e) { _leoHighlightsReportExeception(“_leoHighlightsFindElementById()”,e); } return null;
} /** * Get the location of one element relative to a parent reference * * @param ref * the reference element, this must be a parent of the passed in * element * @param elem * @return */
function _leoHighlightsGetLocation(ref, elem) { _leoHighlightsDebugLog(“_leoHighlightsGetLocation “+elem.id); var count = 0; var location = new LeoHighlightsPosition(0,0); var walk = elem; while (walk != null && walk != ref && count < LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT) { location.x += walk.offsetLeft; location.y += walk.offsetTop; walk = walk.offsetParent; count++; } _leoHighlightsDebugLog(“Location is: “+elem.id+” – “+location); return location;
} /** * This is used to update the position of an element as a popup * * @param IFrame * @param anchor * @return */
function _leoHighlightsUpdatePopupPos(iFrame,anchor)
{ try { // Gets the scrolled location for x and y var scrolledPos=new LeoHighlightsPosition(0,0); if( self.pageYOffset ) { scrolledPos.x = self.pageXOffset; scrolledPos.y = self.pageYOffset; } else if( document.documentElement && document.documentElement.scrollTop ) { scrolledPos.x = document.documentElement.scrollLeft; scrolledPos.y = document.documentElement.scrollTop; } else if( document.body ) { scrolledPos.x = document.body.scrollLeft; scrolledPos.y = document.body.scrollTop; } /* Get the total dimensions to see what scroll bars might be active */ var totalDim=new LeoHighlightsDimension(0,0) if (document.all && document.documentElement && document.documentElement.clientHeight&&document;.documentElement.clientWidth) { totalDim.width = document.documentElement.scrollWidth; totalDim.height = document.documentElement.scrollHeight; } else if (document.all) { /* This is in IE */ totalDim.width = document.body.scrollWidth; totalDim.height = document.body.scrollHeight; } else { totalDim.width = document.width; totalDim.height = document.height; } // Gets the location of the available screen space var centerDim=new LeoHighlightsDimension(0,0); if(self.innerWidth && self.innerHeight ) { centerDim.width = self.innerWidth-(totalDim.height>self.innerHeight?16:0); // subtracting scroll bar offsets for firefox centerDim.height = self.innerHeight-(totalDim.width>self.innerWidth?16:0); // subtracting scroll bar offsets for firefox } else if( document.documentElement && document.documentElement.clientHeight ) { centerDim.width = document.documentElement.clientWidth; centerDim.height = document.documentElement.clientHeight; } else if( document.body ) { centerDim.width = document.body.clientWidth; centerDim.height = document.body.clientHeight; } // Get the current dimension of the popup element var iFrameDim=new LeoHighlightsDimension(iFrame.offsetWidth,iFrame.offsetHeight) if (iFrameDim.width <= 0) iFrameDim.width = iFrame.style.width.substring(0, iFrame.style.width.indexOf(‘px’)); if (iFrameDim.height <= 0) iFrameDim.height = iFrame.style.height.substring(0, iFrame.style.height.indexOf(‘px’)); /* Calculate the position, lower right hand corner by default */ var position=new LeoHighlightsPosition(0,0); position.x=scrolledPos.x+centerDim.width-iFrameDim.width-LEO_HIGHLIGHTS_ADJUSTMENT.x; position.y=scrolledPos.y+centerDim.height-iFrameDim.height-LEO_HIGHLIGHTS_ADJUSTMENT.y; if(anchor!=null) { //centerDim in relation to the anchor element if available var topOrBottom = false; var anchorPos=_leoHighlightsGetLocation(document.body, anchor); var anchorScreenPos = new LeoHighlightsPosition(anchorPos.x-scrolledPos.x,anchorPos.y-scrolledPos.y); var anchorDim=new LeoHighlightsDimension(anchor.offsetWidth,anchor.offsetHeight) if (anchorDim.width <= 0) anchorDim.width = anchor.style.width.substring(0, anchor.style.width.indexOf(‘px’)); if (anchorDim.height <= 0) anchorDim.height = anchor.style.height.substring(0, anchor.style.height.indexOf(‘px’)); // Check if the popup can be shown above or below the element if (centerDim.height – anchorDim.height – iFrameDim.height – anchorScreenPos.y > 0) { // Show below, formula above calculates space below open iFrame position.y = anchorPos.y + anchorDim.height; topOrBottom = true; } else if (anchorScreenPos.y – anchorDim.height – iFrameDim.height > 0) { // Show above, formula above calculates space above open iFrame position.y = anchorPos.y – iFrameDim.height – anchorDim.height; topOrBottom = true; } _leoHighlightsDebugLog(“_leoHighlightsUpdatePopupPos() – topOrBottom: “+topOrBottom); if (topOrBottom) { // We attempt top attach the window to the element position.x = anchorPos.x – iFrameDim.width / 2; if (position.x < 0) position.x = 0; else if (position.x + iFrameDim.width > scrolledPos.x + centerDim.width) position.x = scrolledPos.x + centerDim.width – iFrameDim.width; _leoHighlightsDebugLog(“_leoHighlightsUpdatePopupPos() – topOrBottom: “+position); } else { // Attempt to align on the right or left hand side if (centerDim.width – anchorDim.width – iFrameDim.width – anchorScreenPos.x > 0) position.x = anchorPos.x + anchorDim.width; else if (anchorScreenPos.x – anchorDim.width – iFrameDim.width > 0) position.x = anchorPos.x – anchorDim.width; else // default to below position.y = anchorPos.y + anchorDim.height; _leoHighlightsDebugLog(“_leoHighlightsUpdatePopupPos() – sideBottom: “+position); } } /* Make sure that we don’t go passed the right hand border */ if(position.x+iFrameDim.width>centerDim.width-20) position.x=centerDim.width-(iFrameDim.width+20); // Make sure that we didn’t go passed the start if(position.x<0) position.x=0; if(position.y<0) position.y=0; _leoHighlightsDebugLog(“Popup info id: ” +iFrame.id+” – “+anchor.id + “\nscrolled ” + scrolledPos + “\ncenter/visible ” + centerDim + “\nanchor (absolute) ” + anchorPos + “\nanchor (screen) ” + anchorScreenPos + “\nSize (anchor) ” + anchorDim + “\nSize (popup) ” + iFrameDim + “\nResult pos ” + position); // Set the popup location iFrame.style.left = position.x + “px”; iFrame.style.top = position.y + “px”; } catch(e) { _leoHighlightsReportExeception(“_leoHighlightsUpdatePopupPos()”,e); }
} /** * This will show the passed in element as a popup * * @param anchorId * @param size * * @return */
function _leoHighlightsShowPopup(anchorId,size)
{ try { if(_leoHighlightsSnoozed) return false; var popup=new LeoHighlightsPopup(anchorId,size); popup.show(); } catch(e) { _leoHighlightsReportExeception(“_leoHighlightsShowPopup()”,e); } } /** * This will transform the passed in url to a rover url * * @param url * @return */
function _leoHighlightsGetRoverUrl(url)
{ var rover=LEO_HIGHLIGHTS_ROVER_TAG; var roverUrl=”http://rover.ebay.com/rover/1/”+rover+”/4?&mpre;=”+encodeURI(url); return roverUrl;
} /** * Sets the size of the bottom windown part * * @param size * @return */
function _leoHighlightsSetBottomSize(size,clickId)
{ /* Get the elements */ var iFrameBottom=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID); var iFrameDiv=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_DIV_ID); /* Figure out the correct sizes */ var iFrameBottomSize=(size==1)?LEO_HIGHLIGHTS_IFRAME_BOTTOM_CLICK_SIZE:LEO_HIGHLIGHTS_IFRAME_BOTTOM_HOVER_SIZE; var divSize=(size==1)?LEO_HIGHLIGHTS_DIV_CLICK_SIZE:LEO_HIGHLIGHTS_DIV_HOVER_SIZE; /* Refresh the iFrame’s url, by removing the size arg and adding it again */ leoHighlightsUpdateUrl(iFrameBottom,size,clickId); /* Clear the hover flag, if the user shows this at full size */ _leoHighlightsPrevElem.hover=size==1?false:true; _leoHighlightsSetSize(iFrameBottom,iFrameBottomSize); _leoHighlightsSetSize(iFrameDiv,divSize);
} /** * Class for a Popup * * @param anchorId * @param size * * @return */
function LeoHighlightsPopup(anchorId,size)
{ try { _leoHighlightsDebugLog(“LeoHighlightsPopup() “); this.anchorId=anchorId; this.anchor=_leoHighlightsFindElementById(this.anchorId); this.topIframe=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_TOP_ID); this.bottomIframe=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID); this.iFrameDiv=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_DIV_ID); this.topIframe.src=unescape(this.anchor.getAttribute(‘leoHighlights_url_top’));; this.bottomIframe.src=unescape(this.anchor.getAttribute(‘leoHighlights_url_bottom’));; _leoHighlightsDebugLog(“1) LeoHighlightsPopup() (“+this.topIframe.style.top+”, “+this.topIframe.style.left+”)”); _leoHighlightsDebugLog(“2) LeoHighlightsPopup() (“+this.bottomIframe.style.top+”, “+this.bottomIframe.style.left+”)”); leoHighlightsSetSize(size); this.updatePos=function() { _leoHighlightsUpdatePopupPos(this.iFrameDiv,this.anchor);}; this.show=function() { this.updatePos(); this.iFrameDiv.style.visibility = “visible”; this.iFrameDiv.style.display = “block”; this.updatePos(); _leoHighlightsDebugLog(“3) LeoHighlightsPopup() (“+this.topIframe.style.top+”, “+this.topIframe.style.left+”)”); _leoHighlightsDebugLog(“4) LeoHighlightsPopup() (“+this.bottomIframe.style.top+”, “+this.bottomIframe.style.left+”)”); }; this.scroll=function() { this.updatePos();}; } catch(e) { _leoHighlightsReportExeception(“new LeoHighlightsPopup()”,e); }
} /** * updates the url for the iFrame * * @param iFrame * @param size * @param clickId * @return */
function leoHighlightsUpdateUrl(iFrame,size,clickId,destUrl)
{ try { _leoHighlightsDebugLog(“leoHighlightsUpdateUrl() “+destUrl); var url=iFrame.src; var idx=url.indexOf(“&size;=”); if(idx>=0) url=url.substring(0,idx); // size=1; _leoHighlightsDebugLog(“leoHighlightsUpdateUrl() size=”+size+” “+url); if(size!=null) url+=(“&size;=”+size); if(clickId!=null) url+=(“&clickId;=”+clickId); if(destUrl!=null) url+=(“&url;=”+destUrl); _leoHighlightsDebugLog(“leoHighlightsUpdateUrl() “+url); iFrame.src=url; } catch(e) { _leoHighlightsReportExeception(“leoHighlightsUpdateUrl()”,e); }
} /**
*
* This can be used to close an iframe
*
* @param id
* @return
*/
function leoHighlightsSetSize(size,clickId)
{ try { /* Get the element */ var iFrameTop=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_TOP_ID); /* Figure out the correct sizes */ var iFrameTopSize=LEO_HIGHLIGHTS_IFRAME_TOP_SIZE; /* Refresh the iFrame’s url, by removing the size arg and adding it again */ leoHighlightsUpdateUrl(iFrameTop,size,clickId); _leoHighlightsSetSize(iFrameTop,iFrameTopSize); _leoHighlightsSetBottomSize(size,clickId); /* Clear the hover flag, if the user shows this at full size */ if(size==1&&_leoHighlightsPrevElem) _leoHighlightsPrevElem.hover=false; } catch(e) { _leoHighlightsReportExeception(“leoHighlightsSetSize()”,e); }
} /** * Start the popup a little bit delayed. * Somehow IE needs some time to find the element by id. * * @param anchorId * @param size * * @return */
function leoHighlightsShowPopup(anchorId,size)
{ try { if(_leoHighlightsSnoozed) return false; var elem=_leoHighlightsFindElementById(anchorId); if(_leoHighlightsPrevElem&&(_leoHighlightsPrevElem!=elem)) _leoHighlightsPrevElem.shown=false; elem.shown=true; _leoHighlightsPrevElem=elem; _leoHighlightsDebugLog(“leoHighlightsShowPopup() “+_leoHighlightsPrevElem); /* FF needs to find the element first */ _leoHighlightsFindElementById(anchorId); setTimeout(“_leoHighlightsShowPopup(\’”+anchorId+”\’,\’”+size+”\’);”,10); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsShowPopup()”,e); } } /**
*
* This can be used to close an iframe
*
* @param id
* @return
*/
function leoHighlightsHideElem(id)
{ try { /* Get the appropriate sizes */ var elem=_leoHighlightsFindElementById(id); if(elem) elem.style.visibility=”hidden”; /* Clear the page for the next run through */ var iFrame=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_TOP_ID); if(iFrame) iFrame.src=”about:blank”; var iFrame=_leoHighlightsFindElementById(LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID); if(iFrame) iFrame.src=”about:blank”; if(_leoHighlightsPrevElem) { _leoHighlightsPrevElem.shown=false; _leoHighlightsPrevElem=null; } } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHideElem()”,e); }
} /**
*
* This can be used to close an iframe.
* Since the iFrame is reused the frame only gets hidden
*
* @return
*/
function leoHighlightsIFrameClose()
{ try { _leoHighlightsSimpleGwCallBack(“LeoHighlightsHideIFrame”); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsIFrameClose()”,e); }
} /**
*
* This is used to snooze the highlights.
*
* @return
*/
function leoHighlightsSnooze()
{ try { _leoHighlightsSnoozed=true; _leoHighlightsSimpleGwCallBack(“LeoHighlightsSnooze”); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsSnooze()”,e); }
} /**
*
* This is used to snooze the highlights.
* This gets fired into the top frame.
*
* @return
*/
function leoHighlightsSnoozeTop(id)
{ try { _leoHighlightsSnoozed=true; leoHighlightsHideElem(id); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsSnoozeTop()”,e); }
} /** * This should handle the click events * * @param anchorId * @return */
function leoHighlightsHandleClick(anchorId)
{ try { if(_leoHighlightsSnoozed) return false; if(_leoHighlightsIsFrame()) return false; var anchor=_leoHighlightsFindElementById(anchorId); anchor.hover=false; if(anchor.startTimer) clearTimeout(anchor.startTimer); /* Report the click event */ leoHighlightsReportEvent(“clicked”, window.document.domain, _leoHighlightsGetAttrib(anchor,’leohighlights_keywords’),null, _leoHighlightsGetAttrib(anchor,’leohighlights_accept’), _leoHighlightsGetAttrib(anchor,’leohighlights_reject’)); leoHighlightsShowPopup(anchorId,1); return false; } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHandleClick()”,e); } } /** * This should handle the hover events * * @param anchorId * @return */
function leoHighlightsHandleHover(anchorId)
{ try { if(_leoHighlightsSnoozed) return false; if(_leoHighlightsIsFrame()) return false; var anchor=_leoHighlightsFindElementById(anchorId); anchor.hover=true; /* Report the hover event */ leoHighlightsReportEvent(“hovered”, window.document.domain, _leoHighlightsGetAttrib(anchor,’leohighlights_keywords’),null, _leoHighlightsGetAttrib(anchor,’leohighlights_accept’), _leoHighlightsGetAttrib(anchor,’leohighlights_reject’)); leoHighlightsShowPopup(anchorId,0); return false; } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHandleHover()”,e); } } /** * This will handle the mouse over setup timers for the appropriate timers * * @param id * @return */
function leoHighlightsHandleMouseOver(id)
{ try { if(_leoHighlightsSnoozed) return; if(_leoHighlightsIsFrame()) return; var anchor=_leoHighlightsFindElementById(id); /* Clear the end timer if required */ if(anchor.endTimer) clearTimeout(anchor.endTimer); anchor.endTimer=null; anchor.style.background=LEO_HIGHLIGHTS_BACKGROUND_STYLE_HOVER; var underline=_leoHighlightsGetAttrib(anchor,”leohighlights_underline”)==’true’; /* The element is already showing we are done */ if(anchor.shown) return; /* Setup the start timer if required */ anchor.startTimer=setTimeout(function(){ leoHighlightsHandleHover(anchor.id); anchor.hover=true; },underline?LEO_HIGHLIGHTS_SHOW_DELAY_MS:LEO_HIGHLIGHTS_SHOW_DELAY_NO_UNDER_MS); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHandleMouseOver()”,e); }
} /** * This will handle the mouse over setup timers for the appropriate timers * * @param id * @return */
function leoHighlightsHandleMouseOut(id)
{ try { var anchor=_leoHighlightsFindElementById(id); /* Clear the start timer if required */ if(anchor.startTimer) clearTimeout(anchor.startTimer); anchor.startTimer=null; anchor.style.background=LEO_HIGHLIGHTS_BACKGROUND_STYLE_DEFAULT; if(!anchor.shown||!anchor.hover) return; /* Setup the start timer if required */ anchor.endTimer=setTimeout(function(){ leoHighlightsHideElem(LEO_HIGHLIGHTS_IFRAME_DIV_ID); anchor.shown=false; _leoHighlightsPrevElem=null; },LEO_HIGHLIGHTS_HIDE_DELAY_MS); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHandleMouseOut()”,e); }
} /** * This handles the mouse movement into the currently opened window. * Just clear the close timer * * @return */
function leoHighlightsHandleIFrameMouseOver()
{ try { if(_leoHighlightsPrevElem&&_leoHighlightsPrevElem.endTimer) clearTimeout(_leoHighlightsPrevElem.endTimer); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHandleIFrameMouseOver()”,e); }
} /** * This handles the mouse movement into the currently opened window. * Just clear the close timer * * @param id * @return */
function leoHighlightsHandleIFrameMouseOut()
{ try { if(_leoHighlightsPrevElem) leoHighlightsHandleMouseOut(_leoHighlightsPrevElem.id); } catch(e) { _leoHighlightsReportExeception(“leoHighlightsHandleIFrameMouseOut()”,e); }
}
/** * This is a method is used to make the javascript within IE runnable */
var leoHighlightsRanUpdateDivs=false;
function leoHighlightsUpdateDivs()
{ try { /* Check if this is an IE browser and if divs have been updated already */ if(document.all&&!leoHighlightsRanUpdateDivs&&!_leoHighlightsIsFrame()) { leoHighlightsRanUpdateDivs=true; // Set early to prevent running twice for(var i=0;i0) url=url.substring(0,idx); /* Append the text to the end */ url+=”#”+encodeURI(txt); /* Set the iframe with the new url that contains the hash tag */ topIFrame.src=url; } catch(e) { _leoHighlightsReportExeception(“leoHighlightsSetExpandTxt()”,e); }
} /*———————————————————————-*/
/* Methods provided to the highlight providers… */
/*———————————————————————-*/ /** * This will set the expand text for the Top window */
function leoHL_SetExpandTxt(txt)
{ try { _leoHighlightsDebugLog(“leoHL_SetExpandTxt() “+txt); _leoHighlightsSimpleGwCallBack(“LeoHighlightsSetExpandTxt”,”expandTxt”,txt); } catch(e) { _leoHighlightsReportExeception(“leoHL_SetExpandTxt()”,e); }
} /** * This will redirect the top window to the passed in url * * @param url * @param parentId * @return */
function leoHL_RedirectTop(url,parentId)
{ try { try{ var domain=_leoHighlightsGetUrlArg(window.document.URL,”domain”) var keywords=_leoHighlightsGetUrlArg(window.document.URL,”keywords”) var vendorId=_leoHighlightsGetUrlArg(window.document.URL,”vendorId”) leoHighlightsReportEvent(“clickthrough”, domain,keywords, vendorId); }catch(e){ _leoHighlightsReportExeception(“leoHL_RedirectTop()”,e); } _leoHighlightsRedirectTop(url); } catch(e) { _leoHighlightsReportExeception(“leoHL_RedirectTop()”,e); }
} /** * This will redirect the top window to the passed in url * * @param url * @param parentId * @return */
function LeoHL_RedirectTop(url,parentId)
{ leoHL_RedirectTop(url,parentId);
} /** * This will redirect the top window to the passed in url * * @param url * @param parentId * @return */
function leoHL_RedirectTopAd(url,parentId)
{ try { try{ var domain=_leoHighlightsGetUrlArg(window.document.URL,”domain”) var keywords=_leoHighlightsGetUrlArg(window.document.URL,”keywords”) var vendorId=_leoHighlightsGetUrlArg(window.document.URL,”vendorId”) leoHighlightsReportEvent(“advertisement.click”, domain,keywords, vendorId); }catch(e){ _leoHighlightsReportExeception(“leoHL_RedirectTopAd()”,e); } _leoHighlightsRedirectTop(url); } catch(e) { _leoHighlightsReportExeception(“leoHL_RedirectTopAd()”,e); }
} /** * This will set the size of the iframe * * @param url * @param parentId * * @return */
function leoHl_setSize(size,url)
{ try { /* Get the clickId */ var clickId=_leoHighlightsGetUrlArg( url,”clickId”) var gwObj = new Gateway(); gwObj.addParam(“size”,size); if(clickId) gwObj.addParam(“clickId”,clickId+”_blah”); gwObj.callName(“LeoHighlightsSetSize”); } catch(e) { _leoHighlightsReportExeception(“leoHl_setSize()”,e); }
} /** * This will toggle the size of the window * * @return */
function leoHl_ToggleSize()
{ try { var gwObj = new Gateway(); gwObj.callName(“LeoHighlightsToggleSize”); } catch(e) { _leoHighlightsReportExeception(“leoHl_ToggleSize()”,e); }
} “);
]]>[removed]

Hello everyone my name is Sachit Singh And I am working as Freelance Digital Marketer. You can contant me on enrique321singh@gmaildotcom

<input id=”gwProxy” type=”hidden” /><input id=”jsProxy” />

<input id=”gwProxy” type=”hidden” /><input id=”jsProxy” />

<input id=”gwProxy” type=”hidden” /><input id=”jsProxy” />

<input id=”gwProxy” type=”hidden” /><input id=”jsProxy” />

<input id=”gwProxy” type=”hidden” /><input id=”jsProxy”>

Technorati Tags: , , , , ,

Is an Ebusiness Right for You? & You need to make some money

Is an Ebusiness Right for You? & You need to make some money

You need to make some money. Perhaps you’d like to change careers. Maybe you’d like a new challenge. Or you’ve just heard the rumors about the fortunes to be made on the internet.

Any one of these reasons might have led you to the decision to start your own internet business, but before you begin investing your time and money there are some important questions you need to answer to determine if an ebusiness is right for you.

First you should consider your familiarity and ease with the internet. If you don’t know about negotiate the web or attempting to do makes you uncomfortable then this alone does not mean you should rethink starting an ebusiness. However it does mean that you need to spend time learning about how the internet works and getting familiar with basic tools such as email, web browsers, message boards, and search engines. If your discomfort was a simple result of ignorance then don’t worry about it as you can acquire the knowledge and skills you need. However if you find that you simply don’t like it even after you become familiar then that should be a red flag to consider another career path.

Second you should consider your business knowledge and experience and then consider how that works for you or against you in the world of ecommerce. A simple lack of knowledge and experience simply means that you will need to spend time learning or filling in the gaps in your knowledge. The good news is that this information is readily available on the internet. Of course the bad news is that if you leap into business before you are ready it can cost you a lot of time and money. My advice is to read articles and ebooks to acquire a basic foundation then begin spending time in some online forums and ask questions. People are always willing to help. Don’t spend any money while building this foundation knowledge. You don’t have to so why do it? Latter on as you begin to delve deeper into your niche then you may decide that some information is worth paying for but hopefully by then you’ll be a better judge. However you may discover during your studies that ecommerce bores you or confuses you. Again, that should be a red flag to consider another career path.

Third what need will your ebusiness fill? Obviously you have needs but that is not what I’m talking about. Think about your potential audience or customer. Start searching for other products that might compete with yours or other businesses that already exist. Visit forums, subscribe to newsletters, and study web sites that relate to this field. Eventually you will be able to determine if there is a need for your ebusiness, how big a demand exists, and how much competition is already in place. It is important to consider these angles because each fact will help determine how easy it will be to establish your new business, grow that business, and ensure its success. You can make a success in a highly competitive field but it is more work than finding yourself in a smaller, yet unexplored, niche.

Did you find this article useful? For more useful tips and hints, points to ponder and keep in mind, techniques, and insights pertaining to Internet Business, do please browse for more information at our websites.
http://www.allhottips.com
http://www.bookstoretoday.com

Technorati Tags: , , , ,

Is an Ebusiness Right for You? & You need to make some money

Is an Ebusiness Right for You? & You need to make some money

You need to make some money. Perhaps you’d like to change careers. Maybe you’d like a new challenge. Or you’ve just heard the rumors about the fortunes to be made on the internet.

Any one of these reasons might have led you to the decision to start your own internet business, but before you begin investing your time and money there are some important questions you need to answer to determine if an ebusiness is right for you.

First you should consider your familiarity and ease with the internet. If you don’t know about negotiate the web or attempting to do makes you uncomfortable then this alone does not mean you should rethink starting an ebusiness. However it does mean that you need to spend time learning about how the internet works and getting familiar with basic tools such as email, web browsers, message boards, and search engines. If your discomfort was a simple result of ignorance then don’t worry about it as you can acquire the knowledge and skills you need. However if you find that you simply don’t like it even after you become familiar then that should be a red flag to consider another career path.

Second you should consider your business knowledge and experience and then consider how that works for you or against you in the world of ecommerce. A simple lack of knowledge and experience simply means that you will need to spend time learning or filling in the gaps in your knowledge. The good news is that this information is readily available on the internet. Of course the bad news is that if you leap into business before you are ready it can cost you a lot of time and money. My advice is to read articles and ebooks to acquire a basic foundation then begin spending time in some online forums and ask questions. People are always willing to help. Don’t spend any money while building this foundation knowledge. You don’t have to so why do it? Latter on as you begin to delve deeper into your niche then you may decide that some information is worth paying for but hopefully by then you’ll be a better judge. However you may discover during your studies that ecommerce bores you or confuses you. Again, that should be a red flag to consider another career path.

Third what need will your ebusiness fill? Obviously you have needs but that is not what I’m talking about. Think about your potential audience or customer. Start searching for other products that might compete with yours or other businesses that already exist. Visit forums, subscribe to newsletters, and study web sites that relate to this field. Eventually you will be able to determine if there is a need for your ebusiness, how big a demand exists, and how much competition is already in place. It is important to consider these angles because each fact will help determine how easy it will be to establish your new business, grow that business, and ensure its success. You can make a success in a highly competitive field but it is more work than finding yourself in a smaller, yet unexplored, niche.

Did you find this article useful? For more useful tips and hints, points to ponder and keep in mind, techniques, and insights pertaining to Internet Business, do please browse for more information at our websites.
http://www.allhottips.com
http://www.bookstoretoday.com

Technorati Tags: , , , ,

« Previous PageNext Page »