//<!--
//\include\uk\js\Cobrand\ads\ads_catindex.js@@\main\14

var time=new Date();var randnum=(time.getTime());if(document.layers){origWidth=innerWidth;origHeight=innerHeight;onresize=function(){if(innerWidth!=origWidth||innerHeight!=origHeight)location.reload()}}
function ad_top(){if(cbc){if(cobrandID=="1"){document.write("<SCRIPT SRC=\"http://pics.qa.ebay.com/aw/pics/uk/js/cobrandQA/ads/bt/bt_ads_catindex_iframe.js\"></SCRIPT>");}
else{if(catlayer=="computer"||catlayer=="business"||catlayer=="gaming"||catlayer=="clothing"||catlayer=="tickets"||catlayer=="sports"||catlayer=="music"||catlayer=="collectibles"||catlayer=="misc"){document.write("<table width=\"200\" border=\"0\" align=\"left\" cellspacing=\"0\" cellpadding=\"0\"><tr><td><img src=\"http://pics.ebaystatic.com/aw/pics/spacer.gif\" width=\"1\" height=\"5\"></td></tr><tr><td valign=\"top\"><NOLAYER><IFRAME SRC=\"http://ad.doubleclick.net/adi/ebay.uk."+catlayer+"/home;sz=200x200;ord="+randnum+"?\" width=\"200\" height=\"200\" frameborder=\"no\" border=\"0\" MARGINWIDTH=\"0\" MARGINHEIGHT=\"0\" SCROLLING=\"no\"><A HREF=\"http://ad.doubleclick.net/jump/ebay.uk."+catlayer+"/home;abr=!ie;sz=200x200;ord="+randnum+"?\"><IMG SRC=\"http://ad.doubleclick.net/ad/ebay.uk."+catlayer+"/home;abr=!ie;sz=200x200;ord="+randnum+"?\" border=0 height=\"200\" width=\"200\"></A></IFRAME></NOLAYER><ILAYER id=\"UK_catindex\" visibility=\"hidden\" width=200 height=200></ILAYER></td></tr></table><BR>");}
else{document.write("<table width=\"200\" border=\"0\" align=\"center\" cellspacing=\"0\" cellpadding=\"0\"><tr><td><img src=\"http://pics.ebaystatic.com/aw/pics/spacer.gif\" width=\"1\" height=\"5\"></td></tr><tr><td valign=\"top\"><NOLAYER><IFRAME SRC=\"http://ad.doubleclick.net/adi/ebay.uk."+catlayer+"/home;sz=200x70;ord="+randnum+"?\" width=\"200\" height=\"70\" frameborder=\"no\" border=\"0\" MARGINWIDTH=\"0\" MARGINHEIGHT=\"0\" SCROLLING=\"no\"><A HREF=\"http://ad.doubleclick.net/jump/ebay.uk."+catlayer+"/home;abr=!ie;sz=200x70;ord="+randnum+"?\"><IMG SRC=\"http://ad.doubleclick.net/ad/ebay.uk."+catlayer+"/home;abr=!ie;sz=200x70;ord="+randnum+"?\" border=0 height=\"70\" width=\"200\"></A></IFRAME></NOLAYER><ILAYER id=\"UK_catindex\" visibility=\"hidden\" width=200 height=70></ILAYER></td></tr></table><BR>");}}}}
function write_adlayer(){if(cbc){if(cobrandID=="1"){document.write("<SCRIPT SRC=\"http://pics.qa.ebay.com/aw/pics/uk/js/cobrandQA/ads/bt/bt_ads_catindex_layer.js\"></SCRIPT>");}
else{if(catlayer=="computer"||catlayer=="business"||catlayer=="gaming"||catlayer=="clothing"||catlayer=="tickets"||catlayer=="sports"||catlayer=="music"||catlayer=="collectibles"||catlayer=="misc"){document.write("<LAYER SRC=\"http://ad.doubleclick.net/adl/ebay.uk."+catlayer+"/home;sz=200x200;ord="+randnum+"?\" width=\"200\" height=\"200\" frameborder=\"no\" border=\"0\" MARGINWIDTH=\"0\" MARGINHEIGHT=\"0\" SCROLLING=\"no\" visibility=\"hidden\" onload=\"moveToAbsolute(UK_catindex.pageX,UK_catindex.pageY);clip.width=200;clip.height=200;visibility=\'show\';\"></layer>");}
else{document.write("<LAYER SRC=\"http://ad.doubleclick.net/adl/ebay.uk."+catlayer+"/home;sz=200x70;ord="+randnum+"?\" width=\"200\" height=\"70\" frameborder=\"no\" border=\"0\" MARGINWIDTH=\"0\" MARGINHEIGHT=\"0\" SCROLLING=\"no\" visibility=\"hidden\" onload=\"moveToAbsolute(UK_catindex.pageX,UK_catindex.pageY);clip.width=200;clip.height=70;visibility=\'show\';\"></layer>");}}}}
var adload="1";
// -->
