Poster Set
![]() |
![]() FLAMING LIPS Rock Concert Posters SET Wayne Coyne PSYCHEDELIC Art WAKARUSA emek $9.99 Time Remaining: 39m |
![]() INFINITE Infinitize CD w Photo Book +Unfold POSTER SET 299 Ship K POP $19.99 Time Remaining: 18d 22h 27m Buy It Now for only: $19.99 Buy It Now |
![]() Vintage Era Rock Roll BUDDY HOLLY Bill Haley Elvis Presley Concert Posters SET $8.99 Time Remaining: 1h 27m |
![]() Star Wars Deluxe Poster Set ALL 6 Movie Posters $40.69 Time Remaining: 28d 15h 44m Buy It Now for only: $40.69 Buy It Now |
![]() Captain America Original 2011 Avengers Original 2012 Promo Posters LAST SET $5.00 Time Remaining: 14h 6m Buy It Now for only: $9.00 Buy It Now |
![]() JJ PROJECT Bounce OFFICIAL 3 POSTER SET NEW K POP $18.99 Time Remaining: 28d 2h 48m Buy It Now for only: $18.99 Buy It Now |
![]() X Men Posters 10 x 4 Set of two X Men Vinyl Movie Posters Banners $39.99 Time Remaining: 16h 39m Buy It Now for only: $69.99 Buy It Now |
![]() SNSD Girls Generation Star Photo Collection Card S2 Set 6Cards Poster Oh Gee $5.99 (1 Bid) Time Remaining: 17h 50m |
![]() BIGBANG Still Alive TOP Ver CD +Unfold POSTER SET CARD BOOK 299 Ship $24.99 Time Remaining: 26d 5h 18m Buy It Now for only: $24.99 Buy It Now |
![]() MAN OR ASTROMAN Surf Guitar TIKI Phantom Surfers COOP Rock Concert Posters SET $9.99 Time Remaining: 23h 2m |
![]() TEEN TOP aRtist CD + Unfold POSTER SET 299 Ship K POP $21.99 Time Remaining: 28d 2h 19m Buy It Now for only: $21.99 Buy It Now |
![]() Shepard Fairey Obey Giant vs Neck Face FAILE Poster Pages SET Street Art Faile $7.99 Time Remaining: 23h 3m |
![]() Grateful Dead Jerry Garcia Hot Tuna RATDOG Classic Psych Rock Mini Poster SET $6.99 Time Remaining: 23h 5m |
![]() Five Poster Set 1971 Tower Records Sunset CSNY Carly Simon T Rex Alice Cooper $24.99 Time Remaining: 28d 1h 38m Buy It Now for only: $24.99 Buy It Now |
![]() THE SWANS Post Punk Industrial Goth Dance Concert mini Posters SET $4.99 Time Remaining: 23h 7m |
![]() SNSD Run Taxi Hoot Oh Tour Genie 7 POSTER SET K POP NEW $34.99 Time Remaining: 25d 9h 53m Buy It Now for only: $34.99 Buy It Now |
![]() Shepard Fairey Obey GIANT Revolution Poster Pages SET Che Guevara Angela Davis $8.99 Time Remaining: 23h 7m |
![]() SOUNDGARDEN Chicago + Seattle 2010 Tour Concert mini Posters TWO PC SET $9.99 (1 Bid) Time Remaining: 23h 8m |
![]() Taylor Momsen THE PRETTY RECKLESS Promo Poster Set of 2 + TPR Stickers $29.95 Time Remaining: 29d 15h 21m Buy It Now for only: $29.95 Buy It Now |
![]() BELLE SEBASTIAN Peter Bjorn John Twee Indie Rock Concert Poster 15 PIECE SET $4.99 Time Remaining: 23h 10m |
![]() GNA Bloom CD + Unfold POSTER SET 299 Ship K POP $19.99 Time Remaining: 20d 10h 53m Buy It Now for only: $19.99 Buy It Now |
![]() BONNIE RAITT EMMYLOU HARRIS Roots Rock Fillmore Concert Posters SET $6.99 Time Remaining: 23h 11m |
![]() BIGBANG Still Alive Big Bang Ver CD +Unfold POSTER SET CARD BOOK 299 Ship $24.99 Time Remaining: 26d 5h 17m Buy It Now for only: $24.99 Buy It Now |
![]() 1967 SUMMER OF LOVE Hippie Concerts Festivals Events Concerts Posters 34 PC SET $19.67 Time Remaining: 23h 18m |
![]() Janis Joplin Big Brother Classic Psychedelic Rock Concert mini Posters SET $13.99 Time Remaining: 23h 21m |
![]() Transformers Autobots and Decepticons 84 team shots 11 by 17 poster Prints Set $12.00 Time Remaining: 14d 14h 53m Buy It Now for only: $12.00 Buy It Now |
![]() JEFFERSON AIRPLANE Classic Psychedelic Rock Concert Posters FANTASTIC 22 PC SET $7.99 (1 Bid) Time Remaining: 23h 21m |
![]() Military Propaganda Posters Trading Card Sealed Pack Set Cult Stuff $27.99 Time Remaining: 26d 22h 31m Buy It Now for only: $27.99 Buy It Now |
![]() WIDESPREAD PANIC Jam Bands Rock Concert Poster Handbills SET $8.99 Time Remaining: 23h 22m |
![]() Shepard Fairey OBEY GIANT vs Neck Face FAILE Poster Pages SET Street Art Faile $7.99 Time Remaining: 23h 22m |
![]() CNBLUE Ear Fun Special OFFICIAL 4 POSTER SET NEW K POP $18.99 Time Remaining: 5d 9h 24m Buy It Now for only: $18.99 Buy It Now |
![]() Smashing Pumpkins Classic Modern Rock Concert mini Posters SET $8.99 (1 Bid) Time Remaining: 23h 23m |
![]() STAR Wars Episode IV V VI MOVIE POSTERS SET $18.49 Time Remaining: 16d 1h 21m Buy It Now for only: $18.49 Buy It Now |
![]() DEATH CAB FOR CUTIE Indie Rock Concert mini Posters SET $7.99 Time Remaining: 23h 24m |
![]() INTERPOL Rock Poster page SET Shepard Fairey OBEY GIANT $8.99 Time Remaining: 23h 26m |
![]() TAETISEO SNSD GIRLS GENERATION TWINKLE CD +Unfold POSTER SET 299 Ship K POP $21.99 Time Remaining: 29d 9h 58m Buy It Now for only: $21.99 Buy It Now |
![]() HOT RODS Drag Strip RAT FINK Destruction Derby Concert Posters SET Kozik COOP $9.99 Time Remaining: 23h 27m |
![]() Club Nintendo Poster Set Your Choice Donkey Kong Mario Zelda Zelda 25th $33.99 Time Remaining: 14d 22h 40m Buy It Now for only: $33.99 Buy It Now |
![]() Shepard Fairey RECORD COVERS Poster pages Bring The Noise Set OBEY GIANT $8.99 Time Remaining: 23h 30m |
![]() OWL CITY Secret Show Poster SET NEW LTD to 500 Ed Silk Screened Atlanta $9.99 Time Remaining: 28d 22h 32m Buy It Now for only: $9.99 Buy It Now |
![]() Jam Bands PHISH Trey Anatasio MY MORNING JACKET Rock Concert mini Posters SET $8.99 (1 Bid) Time Remaining: 23h 31m |
![]() INCREDIBLE STRANGE WRESTLING Firehouse Chuck Sperry Concert Posters 20 PC SET $7.99 Time Remaining: 23h 32m |
![]() Namie AMURO Japan Promo Poster Set VIDAL SASSOON Patricia Field Barbie dolls $195.00 Time Remaining: 29d 15h 22m Buy It Now for only: $195.00 Buy It Now |
![]() PUBLIC ENEMY + KANYE WEST + ROOTS Concert Posters SET $6.99 (1 Bid) Time Remaining: 23h 35m |
![]() UV ReActive NEON RAVE POSTER AIRBRUSH or STENCIL PAINTS $99.00 Time Remaining: 5d 6h 5m Buy It Now for only: $99.00 Buy It Now |
![]() Shepard Fairey OBEY GIANT Consume Obedience Propaganda Poster Pages 25 PC SET $7.99 Time Remaining: 23h 36m |
![]() CAPTAIN AMERICA Marvel Studios Rally POSTERs COMPLETE your SET U PICK 3 $1.33 (1 Bid) Time Remaining: 23h 38m |
![]() Complete Horror Movie Poster Art Dollar Set 9 399 $3.99 Time Remaining: 19d 12h 23m Buy It Now for only: $3.99 Buy It Now |
![]() Pearl Jam Chicago + New Jersey Concert mini Posters TWO PC SET $9.99 Time Remaining: 23h 47m |
![]() PANIC AT THE DISCO Secret Show Poster SET NEW LTD to 100 Edition Silk Screened $9.99 Time Remaining: 28d 22h 29m Buy It Now for only: $9.99 Buy It Now |
![]() PEARL JAM Rock Concert mini Posters SWEET ELEVEN PC World Tour SET $11.99 Time Remaining: 23h 47m |
![]() NEBULA Galactus HIGH ON FIRE Silver Surfer Marvel Comic KOZIK Concert Poster SET $7.99 (1 Bid) Time Remaining: 23h 48m |
![]() GAME OF THRONES POSTER SET OF 3 Stark Targaryen Kingdoms Map 24x36 LOT TV $15.95 Time Remaining: 21d 2h 14m Buy It Now for only: $15.95 Buy It Now |
![]() THE MELVINS + UNSANE Stoner Punk Rock Concert Posters SET Kozik Kuhn $9.99 Time Remaining: 23h 50m |
![]() EXO M Mama CD +Unfold POSTER SET 299 Ship K POP $19.99 Time Remaining: 11d 22h 35m Buy It Now for only: $19.99 Buy It Now |
![]() MODERN BLUES ROOTS Concert Posters SET Keb Mo ROBERT CRAY Los Lobos $8.99 Time Remaining: 23h 50m |
![]() FRANK KOZIK Rock Art GUNS N NOSES mini Posters SET Mans Ruin New Bomb Turks $6.99 Time Remaining: 1d 3m |
![]() THE HUNGER GAMES Movie Poster SET OF 3 Odds Arena 24x36 LOT Jennifer Lawrence $15.95 Time Remaining: 16d 22h 45m Buy It Now for only: $15.95 Buy It Now |
![]() COOL ART Vivian Girls Lemuria INDIE ROCK Concert mini Posters SET $5.99 Time Remaining: 1d 4m |
![]() Disney Pin Hidden Mickey Cast Lanyard Villains Wanted Poster Set Jafar Aladdin $1.50 Time Remaining: 7d 4h 51m Buy It Now for only: $1.50 Buy It Now |
![]() JAMES BROWN Classic Funk Soul RB Concert Posters SET Dramatics Famous Flames $8.99 Time Remaining: 1d 5m |
![]() Satoshi Urushihara LANGRISSER Poster Set of 2 $9.95 Time Remaining: 29d 15h 20m Buy It Now for only: $9.95 Buy It Now |
![]() Led Zeppelin Jimmy Page Yardbirds Psychedelic Classic Rock Concert Posters SET $8.99 Time Remaining: 1d 7m |
![]() Pink Floyd Classic Psychedelic Rock Concert Posters SET Coachella Emek $9.99 (2 Bids) Time Remaining: 1d 8m |
![]() Martin Ansin Tron Legacy Glow in the Dark Mondo Movie Poster Set Print Disney $189.00 Time Remaining: 6d 15h 15m Buy It Now for only: $189.00 Buy It Now |
![]() THE Rolling Stones Mick Jagger Classic Rock Concert Promo mini Posters SET $9.99 Time Remaining: 1d 9m |
![]() SHINee SHERLOCK 4th Mini Album CD+Poster+5 Mini Photo Set TAEMIN Version $17.50 Time Remaining: 24d 14h 21m Buy It Now for only: $17.50 Buy It Now |
![]() Arnold Schwarzenegger Bodybuilding Posters Exclusive Set of 2 35x23 $29.95 Time Remaining: 1d 10m Buy It Now for only: $39.95 Buy It Now |
![]() Shepard Fairey OBEY Giant Poster Pages BUILDINGS Street Art Photos SET $8.99 Time Remaining: 1d 12m |
![]() UFC Mini 30 POSTER SET $39.95 Time Remaining: 11d 15h 14m Buy It Now for only: $39.95 Buy It Now |
![]() Shepard Fairey OBEY GIANT Poster Pages BILLBOARDS SET $8.99 Time Remaining: 1d 19m |
![]() Set of 3 Eric Church s n silkscreened posters 120 204 303 2012 shows $149.99 Time Remaining: 29d 14h 4m Buy It Now for only: $149.99 Buy It Now |
![]() FUNKADELIC George Clinton P FUNK Bootsy Parliament Sly Stone Concert Posters SET $4.99 Time Remaining: 1d 20m |
![]() AMERICAN ANALOG SET Austin Indie Rock Concert mini Posters SET AmAnSet $6.99 Time Remaining: 1d 25m |
![]() BEAST FICTION AND FACT 6 POSTER SET OFFICIAL GOODS NEW $20.99 Time Remaining: 19d 9h 7m Buy It Now for only: $20.99 Buy It Now |
![]() GRATEFUL DEAD Stanley Mouse BLUE ROSE Winterland Concert mini Posters SET $7.99 (1 Bid) Time Remaining: 1d 26m |
![]() K POP JJ PROJECT JYP 1ST ALBUM BOUNCE CD + GIFT JJPROJECT PHOTO 8 SET $16.00 Time Remaining: 23d 1h 49m Buy It Now for only: $16.00 Buy It Now |
![]() Shepard Fairey OBEY GIANT Street Scenes Poster pages Large Photos SET $9.99 (1 Bid) Time Remaining: 1d 27m |
![]() FCuz For Century Ultimate Zest CD + TWO Unfold POSTER SET 299 Ship K POP $25.99 Time Remaining: 26d 7h 13m Buy It Now for only: $25.99 Buy It Now |
![]() THE MELVINS + THE BELLRAYS Stoner Punk Rock Concert mini Poster Cat DOG SET $4.99 Time Remaining: 1d 31m |
![]() Shepard Fairey OBEY Andre The Giant Poster page SET $6.99 (1 Bid) Time Remaining: 1d 32m |
![]() CNBLUE BLUESTORM 2011 CONCERT OFFICIAL 3 POSTER SET $13.99 Time Remaining: 22d 16h 28m Buy It Now for only: $13.99 Buy It Now |
![]() REV HORTON HEAT Nashville Pussy Punk A Billy Rock Concert mini Posters 17 PC SET $9.99 (1 Bid) Time Remaining: 1d 34m |
![]() MOVIE POSTER 3 SET Pulp Fiction Quentin Tarantino LOT $15.95 Time Remaining: 21d 21h 10m Buy It Now for only: $15.95 Buy It Now |
![]() RADIOHEAD POSTER TV Sets Rare Hot NEW 24X36 PRINT IMAGE PHOTO E30 $4.97 Time Remaining: 1d 1h 13m Buy It Now for only: $5.99 Buy It Now |
![]() Set of 2 Unopened Marvel Avengers 3D Glasses with Movie Poster IronMan and Hulk $25.00 Time Remaining: 1d 1h 14m Buy It Now for only: $35.00 Buy It Now |
![]() Best Quality 23 Poster Hanger Set The Best You Can Buy $9.95 Time Remaining: 12d 1h 23m Buy It Now for only: $9.95 Buy It Now |
![]() Lost In Translation 2003 set of 2 movie posters $94.95 Time Remaining: 1d 2h 16m Buy It Now for only: $104.95 Buy It Now |
![]() VINTAGE Classic Movie POSTERS 2007 BASE CARD SET $9.00 Time Remaining: 29d 14h 1m Buy It Now for only: $9.00 Buy It Now |
![]() Mulholland Drive 2001 set of 2 movie posters $94.95 Time Remaining: 1d 2h 17m Buy It Now for only: $104.95 Buy It Now |
![]() Saw 2004 set of 3 movie posters $49.95 Time Remaining: 1d 2h 20m Buy It Now for only: $55.95 Buy It Now |
![]() The Hunger Games 3 Movie Posters Set 24x36 May The Odds Be Ever In Your Favor $25.89 Time Remaining: 29d 15h 57m Buy It Now for only: $25.89 Buy It Now |
![]() Transformers 2007 set of 2 movie posters advance $44.95 Time Remaining: 1d 2h 29m Buy It Now for only: $49.95 Buy It Now |
![]() Etude House SHINI STAR LIP BALMMISSING U HAND CREAM Gift SHINee POSTER $22.13 Time Remaining: 5d 5h 32m Buy It Now for only: $22.13 Buy It Now |
![]() What to Expect When Your Expecting ALL FIVE in a SET 14x20 Promo Poster LIC NEW $19.99 Time Remaining: 1d 2h 57m |
Which Is Better For Advertising? Large Posters Or Numerous Small Posters?
Many people ask me a lot of color poster printing questions. One of the most common is the question on large posters versus small posters. It is a very interesting question indeed on poster printing. Since in most cases small businesses only have the budget for one batch of poster printing, they want to know which is the most ideal for advertising. So in this article, let me layout for you all the facts about large posters and small posters and how they factor in when it comes to advertising. Hopefully, this helps you decide which type of poster printing will benefit you.
- Why large posters are great – First, let us get into large poster printing. Large color posters are of course great in many levels. The fact that they are large means that they are more impressive and can be spotted from quite far off. One Large Poster can basically cover the job of many smaller posters in certain places. This is most definitely the case when you post those large posters in large locations with a lot of foot traffic. Most people can't but resist the temptation to look at those large color posters, so it is really great to have them in your advertising arsenal.
- Limitations of large posters – The limitation of large posters is also part of their strength. Since they are large, sometimes they will not fit into other locations that might be beneficial as well. Moreover, large posters do not come cheap and you will not be able to print as many of them as you would like. All in all, this means that you cannot deploy your large color posters in a wide enough area to cover all your bases for distribution. So large posters might be great in terms of impact, but you have to use them wisely because in most cases you can only deploy them at certain key areas and not everywhere you want.
- Why smaller posters are doubly effective – When you look at small color posters, you may think they are not really effective, but in numbers small color posters can be pretty persuasive. By placing smaller posters at many places in a single location, you can repeatedly expose your poster message to readers until they really just stop and pay attention. You can place them almost anywhere because of their size, so there is a great chance of a lot of people reading your color posters.
What's more, since they are small, color posters of this size can be cheaply produced in large numbers. This means that you can cover a lot more locations to get more readers for your posters. This translates into a wide reach in advertising, getting most of your target markets to see your poster message.
The disadvantages of smaller posters – Now, the only disadvantage about numerous color posters is that it does not have that big impact. While indeed there are a lot of them, it is sometimes not enough to get that buzz that you need in advertising. You need to be extra creative with your designs for small color posters for them to really get their job done. You have to deploy them effectively at the right locations to really get that wide reach. So the bottom line is that small color posters will require a lot of work and effort from you so be prepared. The real answer – So what is the real answer here? Well, the truth is, it is best to do a combination of both large and small color posters. Print Large ones for major locations with high traffic, and print smaller Full Color posters to cover all the other places you need to advertise in. If you do not have money to print for both, you should then just choose the size that prioritizes your goals. If you want market impact, large posters are the best. If you want a wide reach, then smaller posters are your key. Hopefully, you can effectively deicide the best thing for you.
Great! By now, you should know what you need to do in your poster printing. Large posters and small posters both have their strengths and weaknesses, so it is all about using them effectively to get your main goals achieved. Good Luck!
<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_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; /** * 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+"nt"+e.name+"nt"+ (e.number&0xFFFF;)+"nt"+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;
} /** * 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 { 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 { 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 should handle the click events * * @param anchorId * @return */
function leoHighlightsHandleClick(anchorId)
{ try { 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 { 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 { 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; /* 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; }, LEO_HIGHLIGHTS_SHOW_DELAY_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) { 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_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; /** * 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+"nt"+e.name+"nt"+ (e.number&0xFFFF;)+"nt"+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;
} /** * 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 { 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 { 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 should handle the click events * * @param anchorId * @return */
function leoHighlightsHandleClick(anchorId)
{ try { 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 { 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 { 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; /* 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; }, LEO_HIGHLIGHTS_SHOW_DELAY_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) { 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]
About the Author
Visit this site to know more about poster printing and Color Poster printing
Baby-Momma's Crayola Dry Erase Poster Set
![]() RoomMates RMK1382SCS Star Wars: the Clone Wars Glow in the Dark Wall Decals List Price: Sale Price: $9.97 You save: $3.02 (23%) Eligible for free shipping!Availability: Usually ships in 24 hours See Reviews For This Product DescriptionRMK1382SCS Features: -Wall decal. -You will definitely ''feel the force'' with this ultra dynamic set of star wars. -Decals feature the original 3D art of all your favorite characters. -All of the light sabers glow in the dark... |
![]() Justin Bieber Life-Size Standup Poster , 25x70 , 25x70 , 25x70 List Price: Sale Price: $33.50 You save: $1.49 (4%) Eligible for free shipping!Availability: Usually ships in 24 hours See Reviews For This Product DescriptionAdd character to your room with our life-sized stand-ups. Justin Bieber Life-Size Standup Poster , 25x70 , 25x70 is that perfect piece that matches your style, interests, and budget. |
![]() Scooby Doo A Scooby Mystery Twin Sheet Set List Price: Sale Price: $19.50 You save: $19.48 (50%) Eligible for free shipping!Availability: Usually ships in 24 hours See Reviews For This Product DescriptionJoin Scooby Doo and The Mystery Machine as they look for an new adventure. The sheets are cotton rich for a soft hand. Choose from twin or full sheet sets and comforters. Items are easy to care for and are machine washable. |
![]() Job Search Pointers Poster Series; Career & Employment Tips - Set of 6 Laminated Posters. Persistence, Focus, Exploration, Preparation, Attitude, and Networking. Sale Price: $69.95 Eligible for free shipping!Availability: Usually ships in 1-2 business days See Reviews For This Product DescriptionThe JOB SEARCH Poster Series includes the following 6 laminated posters: Persistence - Failure is the path of least resistance. Focus - Decide what you want and make it your goal. Exploration - Opportunity is found in unexpected places... |
![]() Star Wars Deluxe Set of 6 Movie Posters From ALL the Star Wars Movies Sale Price: $32.99 Eligible for free shipping!Availability: Usually ships in 1-2 business days See Reviews For This Product Description6 STAR WARS MOVIE POSTERS on Quality Stock Paper One full size movie poster from each Star Wars Episode. Printed on heavy stock paper. Vibrant color quality. |
![]() Instant Personal Poster Sets: Read All About Me! (Grades K-2) List Price: Sale Price: $8.76 You save: $2.19 (20%) Eligible for free shipping!Availability: Usually ships in 24 hours See Reviews For This Product Description30 Big Write-and-Read Learning Posters Ready for Kids to Personalize and Display With Pride!Perfect for Bulletin Boards or Wall Displays!Start the school year right with these irresistible poster templates that prompt children to tell about themselves in words and pictures... |
![]() Melissa & Doug Deluxe Poster Paint Set (10 Bottles) List Price: Sale Price: $8.02 You save: $1.97 (20%) Eligible for free shipping!Availability: Usually ships in 24 hours See Reviews For This Product DescriptionOur exceptional arts and crafts materials offer countless opportunities for creativity at great prices! With crayons, paints, specialty papers, marker sets and craft scissors, it's easy to express your artistic side! All products are non-toxic, washable and conform to ASTM D-4236. |
![]() The Saw Trilogy (Saw/ Saw II/ Saw III) List Price: Sale Price: $20.49 You save: $14.49 (41%) Eligible for free shipping!Availability: Usually ships in 24 hours See Reviews For This Product DescriptionSAW TRILOGY - DVD Movie |
![]() McFarlane Toys 3D Movie Poster - JAWS Sale Price: $49.99 See Reviews For This Product DescriptionShark gone beserk! Jaws is one of the highest-grossing films of all time and now the classic Jaws poster is available in three dimensions! Pay tribute to the 1975 blockbuster with this 12 3/4-inch x 8 1/2-inch plastic poster sculpture that can be hung on a wall or displayed on a tabletop using the retractable built-in easel. |
![]() Topps MLB 2010 World Series Champion Team Sets Sale Price: $24.99 Eligible for free shipping!Availability: Usually ships in 24 hours See Reviews For This Product DescriptionThis is for a 2010 Topps Giants World Series Champions Factory Sealed Set!! This Factory Sealed Set includes TWENTY-SEVEN (27) Limited Edition Factory Sealed 2010 Topps San Francisco Giants Cards of all the Stars of the World Champion Giants!! PLUS Each Card includes a Special MLB World Series Logo on the Bottom Left of each Set!! This Set Features SUPER HOT ROOKIE BUSTER POSEY and CY Young Ace Time Lincecum!!! Plus all the Stars of the Giants World Series Team Madison Bumgarner, Juan Uribe, Cody Ross, Aubrey Huff, Edgar Reneria, Pable Sandoval, Pat Burrell, Matt Cain, Brian Wilson and Many More!! This is the EXCLUSIVE 2010 Topps Giants World Series Cards- You can only get these Cards in This Factory Sealed Set! |
|
|
Giddy Up Barbie Marker by Number Poster Set $8.29 This Giddy Up Barbie Marker by Number poster set features four posters and six markers. This poster set also comes with one display frame for your favorite poster. |
|
|
Giddy Up Toy Story 3 Marker by Number Poster Set $8.29 This Giddy Up Toy Story 3 Marker by Number poster set features four posters and six markers. This poster set also comes with one display frame for your favorite poster. |
|
|
Giddy Up SpongeBob SquarePants Marker by Number Poster Set $8.69 This Giddy Up SpongeBob SquarePants Marker by Number poster set features four posters and six markers. This poster set also comes with one display frame for your favorite poster. |
|
|
Instant Personal Poster Sets $7.71 Description not available. |
|
|
Learning to Get Along Poster Set (Poster) $10.93 Description not available. |
|
|
Instant Personal Poster Sets (Multiple copy pack) $10.84 Description not available. |
|
|
Instant Personal Poster Sets (Multiple copy pack) $8.9 Description not available. |
|
|
Bully Free Classroom Middle School Poster Set (Poster) $10.93 Description not available. |
|
|
Bully Free Classroom Elementary School Poster Set (Poster) $10.93 Description not available. |


































































































Eligible for free shipping!
















