var theWorldsMarketPlace = "The World's Online Marketplace(TM)"; var minClosingPriceText = "Prices represent minimum closing price "; var sniplet = ""; var noteFontSize = "-2"; var verdanaFontFace = "Verdana"; var totalCountText = "View all matches on eBay"; var bgColor = "#ffffff";; var darkGrey = "#999999"; var attrString =""; var attributeFontArr = new Array(); var headerImgArr = new Array('haze_books_150x60.gif','haze_BO-MO_300x60.gif','haze_general_468x60.gif','haze_general_600x60.gif','haze_general_750x60.gif'); var imageServer = "http://pics.ebaystatic.com/aw/pics/"; var hdrColor = ""; var hdrOption = ""; var createFlow = "basic"; var popUp = "_self"; var coreImageHost = "http://pics.ebaystatic.com/aw/pics/"; var serverUrl = "http://pages.ebay.com/"; var borderColor = "FFCC00"; var fntColor="000000"; var fs = "3"; var trackingUrl = "rover/1/711-1751-2978-207/1?AID=10313318&PID=1510666&loc="; var roverUrlBase = "http://rover.ebay.com/"; var roverUnivUrl = "rover/1/711-1751-2978-207/1?AID=10313318&PID=1510666&loc="; var footerUrl = ""; roverUnivUrl = roverUnivUrl.replace(/rover=/g,"rover\/"); if(roverUnivUrl.indexOf("?") == -1 ){roverUnivUrl += "?mpre="}; var header1 = new Array ("haze_books_150x60.gif","haze_computers_150x60.gif","haze_electronics_150x60.gif","haze_games_150x60.gif","haze_movies_150x60.gif", "haze_music_150x60.gif","vibrant_blk_books_150x60.gif","vibrant_blk_computers_150x60.gif","vibrant_blk_electronics_150x60.gif", "vibrant_blk_games_150x60.gif","vibrant_blk_movies_150x60.gif","vibrant_blk_music_150x60.gif","vibrant_Blue_books_150x60.gif", "vibrant_Blue_computers_150x60.gif","vibrant_Blue_electronics_150x60.gif","vibrant_Blue_games_150x60.gif", "vibrant_Blue_movies_150x60.gif","vibrant_Blue_music_150x60.gif","vibrant_Yell_books_150x60.gif","vibrant_Yell_computers_150x60.gif", "vibrant_Yell_electronics_150x60.gif","vibrant_Yell_games_150x60.gif","vibrant_Yell_movies_150x60.gif","vibrant_Yell_music_150x60.gif"); var header2 = new Array("haze_BO-MO_300x60.gif","haze_CO-EL_300x60.gif","haze_CO-GA_300x60.gif","haze_MO-MU_300x60.gif","vibrant_blk_BOMO_300x60.gif", "vibrant_blk_CO-EL_300x60.gif","vibrant_blk_CO-GA_300x60.gif","vibrant_blk_MO-MU_300x60.gif","vibrant_Blue_BOMO_300x60.gif", "vibrant_Blue_CO-EL_300x60.gif","vibrant_Blue_CO-GA_300x60.gif","vibrant_Blue_MO-MU_300x60.gif","vibrant_Yell_BOMO_300x60.gif", "vibrant_Yell_CO-EL_300x60.gif","vibrant_Yell_CO-GA_300x60.gif","vibrant_Yell_MO-MU_300x60.gif"); var header3 = new Array("haze_general_468x60.gif","vibrant_blk_gen_468x60.gif","vibrant_Blue_gen_468x60.gif","vibrant_yell_gen_468x60.gif"); var header4 = new Array("haze_general_600x60.gif","vibrant_blk_gen_600x60.gif","vibrant_Blue_gen_600x60.gif","vibrant_Yell_gen_600x60.gif"); var header5 = new Array("haze_general_750x60.gif","vibrant_blk_Gen_750x60.gif","vibrant_Blue_Gen_750x60.gif","vibrant_Yell_Gen_750x60.gif"); function getSniplet() { widget(); return sniplet; } function _docWrite(str) { sniplet += str; } function buildingBlock (img,title,price,url){ _docWrite(""); _docWrite(""); _docWrite(""); _docWrite(""); _docWrite("
"); _docWrite(""); _docWrite("
"); _docWrite("\""+title+"\"/"); _docWrite("
"); _docWrite("
"); _docWrite("
"); _docWrite(""); _docWrite(""); _docWrite(""); _docWrite(title); _docWrite(""); _docWrite(""); _docWrite("
"); _docWrite("
"); _docWrite(getAttribute()); _docWrite(""); _docWrite(price); _docWrite("
"); } function standardHeader(numColumns){ var img ; var errorFlow = false; if(!createFlow) { createFlow="basic"; errorFlow=true; } if(createFlow=="basic"){ img = imageServer + 'catalog/syndication/' + headerImgArr [numColumns-1]; } else{ img = imageServer + 'catalog/syndication/' + eval("header"+numColumns+"["+hdrOption+"]"); } if (!errorFlow) { _docWrite(""); } else { _docWrite("
"); } _docWrite(""); _docWrite(""); _docWrite(""); _docWrite(""); _docWrite("
"); if(roverUrlBase != '') { _docWrite(""); } else { _docWrite(""); } _docWrite("\""); _docWrite(""); _docWrite("
"); } function customHeader(width){ _docWrite(""); _docWrite(""); _docWrite(""); _docWrite(""); _docWrite(""); _docWrite(""); _docWrite(""); _docWrite(""); } function setAttribute(attribute){ attrString += ""; attrString += attribute; attrString +=""; attrString +="
"; } function setAttributeFont(){ if(fs==0){ attributeFontArr[0] = "arial"; attributeFontArr[1] = "-1"; }else if(fs==1){ attributeFontArr[0] = "verdana"; attributeFontArr[1] = "-1"; }else if(fs==2){ attributeFontArr[0] = "times"; attributeFontArr[1] ="-1;" }else if(fs==3){ attributeFontArr[0] = "verdana"; attributeFontArr[1] = "-2"; }else if(fs==4){ attributeFontArr[0] = "times"; attributeFontArr[1] = "0"; } attributeFontArr[2] = fntColor; } function getAttribute(){ return attrString; } function cleanAttribute(){ attrString =new String(); } function noResults(width,height,errorCode){ _docWrite(""); _docWrite(""); _docWrite(""); var errorArr = errorCode.split('.'); if(errorArr !=null && errorArr.length == 3 && errorArr[1] == "BIZ"){ _docWrite(""); _docWrite(""); _docWrite(""); } } var whiteSpace = "0"; var columns = "1"; var width = "150"; var extraWhiteSpace = "0"; var headerUrl = "http://product.ebay.com?"; var height = "210"; function widget(){ setAttributeFont(); standardHeader(columns); _docWrite("
"); if(roverUrlBase != '') { _docWrite(""); } else { _docWrite(""); } _docWrite(""); _docWrite("\""); _docWrite(""); _docWrite("
"); } function footer(headerUrl){ var outputUrl ; if(roverUrlBase != '') outputUrl = roverUrlBase + trackingUrl +footerUrl; else outputUrl = headerUrl + trackingUrl; var outputSplit = outputUrl.split("?"); outputUrl = outputSplit[0] + "?" + outputSplit[1]; _docWrite("
"); _docWrite(" "); _docWrite(""); _docWrite(""+totalCountText+""); _docWrite(""); _docWrite('
'); _docWrite(" *"+minClosingPriceText+"
"); _docWrite(theWorldsMarketPlace); _docWrite("
"); _docWrite(errorArr[2]); _docWrite("
"); var errorCode = "PK.BIZ.05"; noResults(300,300,errorCode); _docWrite("
"); _docWrite("
"); } document.write(getSniplet());