var slideshow_width='750px'
var slideshow_height='600px'
var pause=5000

var fadeimages=new Array()

fadeimages[0]=["admin/uploadedImages/resize_wb_17_Your_Imprint_2011.jpg", "calendarsDetails/UltimatePocketPlanner185.htm", "Ultimate Pocket Planner", "Two Tone Spine:<br>Black/tan spine<br>Blue/burgundy spine<br>Burgundy/blue spine<br>The best weekly pocket planner on the market. The planner looks and feels like the ones that sell for over $ 10.00 each. "];fadeimages[1]=["admin/uploadedImages/resize_2302_11open.jpg", "calendarsDetails/AmericanSplendor1210.htm", "American Splendor 1", "View the splendor of America in this beautiful 12-sheet calendar. With photographs of various locations in America, this will appeal to many businesses. "];fadeimages[2]=["admin/uploadedImages/resize_3111_11.jpg", "calendarsDetails/WildlifeArtbytheHautmanBrothers215.htm", "Wildlife Art by the Hautman Brothers", "Reproductions of original paintings by the well-known Hautmans make this a powerful wildlife calendar. Personalize this calendar for a wonderful executive gift.Very large calendar."];fadeimages[3]=["admin/uploadedImages/resize_3108_11.jpg", "calendarsDetails/AmericanSplendorwithDateBlocks224.htm", "American Splendor with Date Blocks", "View the splendor of America in this beautiful and stunning calendar. With photographs of various locations in America, this will appeal to many businesses. "];fadeimages[4]=["admin/uploadedImages/resize_resize_U902combined_final.jpg", "calendarsDetails/WorldTravel1314.htm", "World Travel", "Spectacular scenery from all over the world can be seen in this desktop style calendar. World travel's popularity combined with a large, highly noticeable imprint area insures advertising your business with global interests."];fadeimages[5]=["admin/uploadedImages/resize_Grid-U401.jpg", "calendarsDetails/CuteyPets1131.htm", "Cutey Pets<br>", "The 'Cutey Pets' calendar makes a perfect gift for animal lovers. These puppies are absolutely adorable and can warm the hearts of any person, especially your customers."];fadeimages[6]=["admin/uploadedImages/resize_DCSA11_comp_Left_01.jpg", "calendarsDetails/ScenesAcrossNorthAmerica469.htm", "Scenes Across North America<br>", "This compact, spiral-bound desk calendar is a practical and affordable gift that will remind your recipients all year that you appreciate and value their business."];fadeimages[7]=["admin/uploadedImages/resize_SWSA11_comp_01.jpg", "calendarsDetails/ScenesAcrossNorthAmerica595.htm", "Scenes Across North America", "This Calendar shows the most amazing places of America"];fadeimages[8]=["admin/uploadedImages/resize_SWTR11_comp_05.jpg", "calendarsDetails/InspirationswithNonReligiousQuotes603.htm", "Inspirations with Non-Religious Quotes", "This inspirational calendar will uplift you and inspire your thoughts and dreams with beautiful scenic photography.Inspiration quotes are on the pictures!"];fadeimages[9]=["admin/uploadedImages/resize_510_3.jpg", "calendarsDetails/Monthlypocketplanner1167.htm", "Monthly pocket planner", "Monthly Pocket Planners feature: <br><br>A 13 Month 32 page Planner with all of the holidays highlighted and plenty of room to jot down appointments, reminders and important dates <br>Year-at-a-glance current calendar, plus previous <br>and following year <br>Separate sections for Personal ID information,<br>important Telephone Numbers, Advance Planning plus a handy Weights and Measures Chart <br>"];fadeimages[10]=["admin/uploadedImages/resize_570_3.jpg", "calendarsDetails/TraditionalColorsPlannerDirectory651.htm", "Traditional Colors<br>Planner/Directory", "A 13 Month 32 page Planner with all of the holidays highlighted and plenty of room to jot down appointments, reminders and important dates <br>Year-at-a-glance current calendar, plus previous <br>and following year <br>Separate sections for Personal ID information,<br>important Telephone Numbers, Advance Planning plus a handy Weights and Measures Chart <br>Telephone Directory Features:<br><br>32 indexed pages with <br>a modern entry format:<br>Name / Address / <br>Tel / Cell / Fax / email "];fadeimages[11]=["admin/uploadedImages/resize_590_3.jpg", "calendarsDetails/DeluxeweeklyPocketPlanner1166.htm", "Deluxe weekly Pocket Planner", "128 Planner Pages Feature:<br><br>A full year's planning...<br>ONE WEEK AT A TIME -with plenty of room for jotting down daily appointments and important dates <br>2 Year Reference Calendar <br>Holidays <br>Advanced Planning <br>Address-Telephone Directory <br>Special Dates to Remember <br>Plus...<br><br>Weights & Measures including <br>Metric Equivalents <br>Calorie Counter <br>Identification <br>His & Her Apparel Sizes <br>First Aid Tips <br>5” Standard & <br>metric rulers <br>Automobile Business Mileage Summary <br>Travelling Distance <br>Extra Pages for Notes <br> <br> <br>"];fadeimages[12]=["admin/uploadedImages/resize_690_3.jpg", "calendarsDetails/TheDirectorWeeklyPlannerBlackcowhydeTextureVinyl655.htm", "The Director<br>Weekly Planner-Black cowhyde Texture Vinyl", "128 Planner Pages Feature:<br><br>A full year's planning...<br>ONE WEEK AT A TIME -with plenty of room for jotting down daily appointments and important dates <br>2 Year Reference Calendar <br>Holidays <br>Advanced Planning <br>Address-Telephone Directory <br>Special Dates to Remember <br>Plus...<br><br>Weights & Measures including <br>Metric Equivalents <br>Calorie Counter <br>Identification <br>His & Her Apparel Sizes <br>First Aid Tips <br>5” Standard & <br>metric rulers <br>Automobile Business Mileage Summary <br>Travelling Distance <br>Extra Pages for Notes "];fadeimages[13]=["admin/uploadedImages/resize_8616c3ae-74ba-4e6c-9e66-308df665d120.jpg", "calendarsDetails/20YearReferencePlannersTwilightCoversLarge720.htm", "20 Year Reference Planners - Twilight Covers Large", "• Vertical format <br>• Two years and holidays on open spread <br>• Notes Section<br>• Phone / address section <br>• Preferred restaurant section<br>- Frequent Number Section<br>• Time zone map <br>• 2009-2028 (20 year)"];fadeimages[14]=["admin/uploadedImages/resize_4152_11open.jpg", "calendarsDetails/AmericanSplendorPocket1171.htm", "American Splendor Pocket", "Can't decide on a calendar style to buy? Consider this scenic pocket.It's reverse collated so users can keep stored items all year."];fadeimages[15]=["admin/uploadedImages/resize_6201_11.jpg", "calendarsDetails/NonLaminatedSpanaYear884.htm", "Non-Laminated Span a Year", "Tinned at the top and bottom, this handy calendar is in a span-a-year format.  <br>"];fadeimages[16]=["admin/uploadedImages/resize_6251_11.jpg", "calendarsDetails/GiantSpanayearnonLaminated889.htm", "Giant Span a year (non-Laminated)", "Multi-purpose planning calendars develop customers loyalty. This popular non-laminated time management calendar features date blocks for the entire year in one viewing. (Note- If mailed in tubes-first class postage is required)"];fadeimages[17]=["admin/uploadedImages/resize_6252_11.jpg", "calendarsDetails/GiantSpanayearLaminatedwithmarker890.htm", "Giant Span a year-Laminated with marker", "This multi-purpose calendar features a write-on, wipe-off UV-laminate surface with a marker. (Note- if mailed in tubes, first class postage is required) Marker included, attached with clip."];fadeimages[18]=["admin/uploadedImages/resize_8002_11.jpg", "calendarsDetails/BudgetMonthlyThemepocketPlanners1163.htm", "Budget Monthly Theme pocket Planners", "Colorful themes"];fadeimages[19]=["admin/uploadedImages/resize_0274.jpg", "calendarsDetails/VinylDeskpad896.htm", "Vinyl Deskpad", "Large vinyl Deskpad has black header and black lower corners. Amazing price for this high quality full sized deskpad. It has 13 months, December to December.Please note that this item will not be available until 10/15 and must be ordered no later than 12/5 for delivery by end of this year."];fadeimages[20]=["admin/uploadedImages/resize_89-E-11.jpg", "calendarsDetails/ContractorCalendarLarge898.htm", "Contractor Calendar- Large", "Our most popular Contractor calendar. Large imprint area and Julien dates. Black calendar with your choice of accent color.  Pricing includes a black imprint, or you can get a two color imprint, black and the accent color of the calendar, at no extra charge. Indicate details of imprint color in Section B of the order form."];fadeimages[21]=["admin/uploadedImages/resize_6213_11.jpg", "calendarsDetails/GoingGreenSpanaYaer1420.htm", "Going Green Span a Yaer", "Features 4 Green living tips."];fadeimages[22]=["admin/uploadedImages/resize_77.jpg", "calendarsDetails/MagneticCalendarwithHolidays1165.htm", "Magnetic Calendar with Holidays", "colorfull magnetic calenadar"];fadeimages[23]=["admin/uploadedImages/resize_4305_11.jpg", "calendarsDetails/ElCheapo997.htm", "El Cheapo", "This desk calenadar is very popular for low cost promotions. Free envelopes are included. All type must be at least 14 points to print on this calendar."];fadeimages[24]=["admin/uploadedImages/resize_monterey.jpg", "calendarsDetails/TheMonterey1443.htm", "The Monterey", "New redesigned scenic pad!<br>Scenic is one of the most popular themes in calendar advertising. The beautiful photography is sure to catch the eye and, at the same time, so will your message! 12 Beautiful Secnic pictures. There is a 7% surcharge on orders of this calendar that are shipped to California.<br><br><br>"];

var preloadedimages=new Array()
for (p=0;p<fadeimages.length;p++){
preloadedimages[p]=new Image()
preloadedimages[p].src=fadeimages[p][0]
}

var ie4=document.all
var dom=document.getElementById

if (ie4||dom)
document.write('<div style="position:relative;width:'+slideshow_width+';height:'+slideshow_height+';overflow:hidden"><div id="canvas0" style="position:absolute;width:'+slideshow_width+';height:'+slideshow_height+';top:30;left:0;filter:alpha(opacity=10);-moz-opacity:10"></div><div id="canvas1" style="position:absolute;width:'+slideshow_width+';height:'+slideshow_height+';top:0;left:0;filter:alpha(opacity=10);-moz-opacity:10;visibility: hidden"></div></div>')
else
document.write('<img name="defaultslide" src="'+fadeimages[0][0]+'">')

var curpos=10
var degree=10
var curcanvas="canvas0"
var curimageindex=0
var nextimageindex=1

function fadepic(){
if (curpos<100){
curpos+=10
if (tempobj.filters)
tempobj.filters.alpha.opacity=curpos
else if (tempobj.style.MozOpacity)
tempobj.style.MozOpacity=curpos/101
}
else{
clearInterval(dropslide)
nextcanvas=(curcanvas=="canvas0")? "canvas0" : "canvas1"
tempobj=ie4? eval("document.all."+nextcanvas) : document.getElementById(nextcanvas)
tempobj.innerHTML=insertimage(nextimageindex)
nextimageindex=(nextimageindex<fadeimages.length-1)? nextimageindex+1 : 0
var tempobj2=ie4? eval("document.all."+nextcanvas) : document.getElementById(nextcanvas)
tempobj2.style.visibility="hidden"
setTimeout("rotateimage()",pause)
}
}

function insertimage(i){
var tempcontainer=fadeimages[i][1]!=""? '<a href="'+fadeimages[i][1]+'" alt="'+fadeimages[i][3]+'">' : "";
tempcontainer+='<img src="'+fadeimages[i][0]+'" border="0" alt="'+fadeimages[i][2]+'" /></a><br /><br />';

var table = '<table width="96%" border="0" cellpadding="0" cellspacing="0" class="midbotborder"><tr><td align="center" valign="top" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><br />'+tempcontainer+'</td><td align="center" valign="top" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><br /><table width="96%" border="0" cellspacing="0" cellpadding="0"><tr><td height="46" align="center" valign="middle" bgcolor="#FFFFFF" class="orderformbluetext"><table width="96%" border="0" cellspacing="0" cellpadding="0"><tr><td height="46" align="center" valign="middle" bgcolor="#F0F0F0" class="orderformbluetext whybuyborder">'+fadeimages[i][2]+'</td></tr></table></td></tr><tr><td height="46" align="center" valign="middle" bgcolor="#FFFFFF" class="lefttextlineheight bold"><br />'+fadeimages[i][3]+'</td></tr></table></td></tr></table>';

return table;
}


function rotateimage(){
if (ie4||dom){
resetit(curcanvas)
var crossobj=tempobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
crossobj.style.zIndex++
tempobj.style.visibility="visible"
var temp='setInterval("fadepic()",25)'
dropslide=eval(temp)
curcanvas=(curcanvas=="canvas0")? "canvas1" : "canvas0"
}
else
document.images.defaultslide.src=fadeimages[curimageindex][0]
curimageindex=(curimageindex<fadeimages.length-1)? curimageindex+1 : 0
}

function resetit(what){
curpos=10
var crossobj=ie4? eval("document.all."+what) : document.getElementById(what)
if (crossobj.filters)
crossobj.filters.alpha.opacity=curpos
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=curpos/101
}

function startit(){
var crossobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
crossobj.innerHTML=insertimage(curimageindex)
rotateimage()
}

if (ie4||dom)
window.onload=startit
else
setInterval("rotateimage()",pause)