Photo Viewer 1971 Mercedes-Benz 280-Class 280 SL 280 SL
var photo_list = document. getElementById('photo_list'); var mouse_on = 0; var photoIndexTracker = 0; var pictures = new Array(); pictures[0] = "http://s3. amazonaws. com/photos. ecarlist. com/3K/gF/Kn/3H/Y0/dC/KZ/os/mL/JX/Ag_800. jpg"; pictures[1] = "http://s3. amazonaws. com/photos. ecarlist. com/oK/ci/8M/CL/yx/21/4g/Ae/8V/Fa/wA_800. jpg"; pictures[2] = "http://s3. amazonaws. com/photos. ecarlist. com/ZV/1l/vn/Al/1Z/9I/Zo/su/px/3d/5w_800. jpg"; pictures[3] = "http://s3. amazonaws. com/photos. ecarlist. com/AS/kJ/EP/qP/SA/Yt/nX/4K/gf/27/Wg_800. jpg"; pictures[4] = "http://s3. amazonaws. com/photos. ecarlist. com/Ft/Tj/lv/nF/ej/JY/6o/jq/GH/3X/yQ_800. jpg"; pictures[5] = "http://s3. amazonaws. com/photos. ecarlist. com/r2/Dm/fS/A2/AR/d3/7j/dF/17/1T/Kw_800. jpg"; pictures[6] = "http://s3. amazonaws. com/photos. ecarlist. com/z3/EE/xW/dU/HS/Ww/ak/g2/7F/gX/ag_800. jpg"; pictures[7] = "http://s3. amazonaws. com/photos. ecarlist. com/JE/Ob/xV/1P/z2/xf/P1/R3/wr/K6/tw_800. jpg"; pictures[8] = "http://s3. amazonaws. com/photos. ecarlist. com/0U/4Z/bx/88/DY/Ge/6S/a8/Zl/km/aw_800. jpg"; pictures[9] = "http://s3. amazonaws. com/photos. ecarlist. com/NS/AW/ji/EF/HR/kR/SG/MZ/DV/m3/MA_800. jpg"; pictures[10] = "http://s3. amazonaws. com/photos. ecarlist. com/3D/sy/ZY/D8/yI/X0/Xz/wU/o0/qI/fw_800. jpg"; pictures[11] = "http://s3. amazonaws. com/photos. ecarlist. com/lH/F1/h2/Rg/qb/O1/ao/11/1A/SW/GQ_800. jpg"; pictures[12] = "http://s3. amazonaws. com/photos. ecarlist. com/5S/vw/Qp/Zf/LK/l2/Ck/hq/eL/3T/7g_800. jpg"; pictures[13] = "http://s3. amazonaws. com/photos. ecarlist. com/aG/TH/oS/KE/U9/py/Fa/dO/1d/oy/dw_800. jpg"; pictures[14] = "http://s3. amazonaws. com/photos. ecarlist. com/LS/js/aW/SA/Od/n3/lO/Q6/Ep/Xq/Dw_800. jpg"; pictures[15] = "http://s3. amazonaws. com/photos. ecarlist. com/1o/4O/c0/Oe/GL/q2/0L/jw/vx/ZY/Pw_800. jpg"; pictures[16] = "http://s3. amazonaws. com/photos. ecarlist. com/kN/Hg/AS/wY/K2/WW/Ow/7I/l2/RG/uQ_800. jpg"; pictures[17] = "http://s3. amazonaws. com/photos. ecarlist. com/3X/FQ/D5/dG/ij/4J/fX/iK/HV/eu/Jg_800. jpg"; pictures[18] = "http://s3. amazonaws. com/photos. ecarlist. com/Nr/hl/RO/SA/dt/8V/o4/b2/o1/NL/Kw_800. jpg"; pictures[19] = "http://s3. amazonaws. com/photos. ecarlist. com/yi/Vj/BJ/Pf/pM/Rw/Ay/f1/d9/mI/wQ_800. jpg"; pictures[20] = "http://s3. amazonaws. com/photos. ecarlist. com/ZF/pu/kY/gH/rt/1x/fM/I4/6K/LH/EQ_800. jpg"; pictures[21] = "http://s3. amazonaws. com/photos. ecarlist. com/g9/Y1/pW/7q/7H/rG/9S/ZV/rm/Gk/Fg_800. jpg"; pictures[22] = "http://s3. amazonaws. com/photos. ecarlist. com/P7/fJ/fK/fo/jE/rA/mr/C0/T9/cK/jw_800. jpg"; pictures[23] = "http://s3. amazonaws. com/photos. ecarlist. com/FO/PE/O9/id/O0/GV/E6/Mt/hL/Sl/Zw_800. jpg"; function scroll_photo_list_up() { if (mouse_on == 1) { if( photo_list. scrollTop > 0 ) { photo_list. scrollTop -= 2; setTimeout("scroll_photo_list_up()". ); } else { mouse_on = 0; photo_list. scrollTop = 0; } } } function scroll_photo_list_down() { if (mouse_on == 1) { if( ( photo_list. scrollHeight - photo_list. scrollTop ) > 0 ) { photo_list. scrollTop += 2; setTimeout("scroll_photo_list_down()". ); } else { mouse_on = 0; photo_list. scrollTop = photo_list. scrollHeight; } } } function scroll_photo_list_exit() { mouse_on = 0; } function display_previous_photo() { var photoIndex = photoIndexTracker - 1; photoIndex = photoIndex < > ( pictures. length - 1 ) ? 0 : photoIndex; display_photo(photoIndex); } var width; function display_photo(photoIndex) { photoIndexTracker = photoIndex; var img = new Image(); img. onload = function(){ var main_picture = document. getElementById('main_picture'); if( !(main_picture) || main_picture. tagName == 'IMG' ){ var aspect = this. width / this. height; width = width || document. getElementById('main_picture_img'). getAttribute('width'); var height = width / aspect; main_picture = document. createElement('div'); main_picture. setAttribute('id'. 'main_picture'); main_picture. style. height = height + 'px'; main_picture. style. width = width + 'px'; main_picture. style. border = '1px solid #999'; document. getElementById('main_picture_img'). parentNode. replaceChild(main_picture. ocument. getElementById('main_picture_img')); var photo_list = document. getElementById('photo_list'); var photo_list_up = document. getElementById('photo_list_up'); if( photo_list ){ photo_list. style. height = height - photo_list_up. offsetHeight + 3 + 'px'; } } //set img height main_picture. style. background = 'url(' + this. src + ') no-repeat center center'; }; img. src = pictures[photoIndex]; } function imageholderclass(){ this. over=new Array(); this. down=new Array(); this. src=new Array(); this. store=store; function store(src. down. over){ var AL=this. src. length; this. src[AL]=new Image(); this. src[AL]. src=src; this. over[AL]=new Image(); this. over[AL]. src=over; this. down[AL]=new Image(); this. down[AL]. src=down; } } var ih = new imageholderclass(); var mouseisdown=0; function preloader(t){ for(i=0;i
Want to buy this car?