var target; var targetG; var l=10; var i; var timer; var fLink=new Array(); fLink[1]='If you ask BJ Penn a question on BJJ, he\'ll most likely answer it...probably
'; fLink[2]='LiverKick Interviews Mr. K-1 Peter Aerts
'; fLink[3]='SuperKombat Returns On Saturday In Montenegro
'; fLink[4]='UFC released the entire Pride FC Rampage vs. Arona fight, and it’s still awesome
'; fLink[5]='Round 5 Takanori Gomi PRIDE Figure
'; fLink[6]='The spring 2012 Dethrone collection is slick
'; fLink[7]='Dethrone Ben Henderson UFC 144 Gear Bundles
'; fLink[8]='Former K-1 Fighter Raul Catinas Returns To The Ring At SuperKombat
'; fLink[9]='UFC 144 Limited Edition Rampage Jackson Poster
'; fLink[10]='This is a call to occupy the THQ messageboards-We need simulation settings in ranked UFC 3 matches
'; fLink[11]='Ladies and Gentlemen: Miami Hustle is back with brand new episodes
'; fLink[12]='Action packed week ahead for kickboxing fans
'; fLink[13]='Watch this video of Frankie Edgar brushing up on his Muay Thai with Phil Nurse
'; fLink[14]='Nate Marquardt vs. Tyron Woodley rumored to go down in Strikeforce on May
'; fLink[15]='Watch this ONE FC 2 highlight video we made, or hate yourself for the rest of your life
'; fLink[16]='UFC 144 Walkout Shirts
'; fLink[17]='DO OR DIE Logo Hat
'; fLink[18]='Golden Glory Talk About Upcoming Feb. 26 Event Feat. Robin van Roosmalen
'; fLink[19]='Here\'s a picture of blood spurting out of Brett Bassett\'s head if you want to see that kind of thing
'; fLink[20]='MMA Elite Rampage Jackson UFC 144 Shirts
'; fLink[21]='UFC 144 Edgar vs Henderson Poster
'; fLink[22]='Koya Urabe vs Kizaemon Saiga Added to Krush.17
'; fLink[23]='RVCA Vitor Belfort Clothing Bundle
'; fLink[24]='Pechphanomrung Steps Up to Face Sam A at Lumpini Stadium on March 2nd
'; fLink[25]='Roots of Fight Ali vs Chuvalo Documentary and Tee
'; fLink[26]='TRAUMMA Yoshihiro Akiyama UFC 144 T-Shirt
'; fLink[27]='Dethrone T-Shirts Spring 2012 Collection
'; fLink[28]='Throwdown Court McGee UFC on FX 2 T-Shirt
'; fLink[29]='Action Packed Week Ahead
'; fLink[30]='Ranger Up x Fashion Has Heart Total Sacrifice Tee
'; fLink[31]='TapouT T-Shirts Spring 2012 Collection, Part II
'; fLink[32]='Contract Killer Casual Belt
'; fLink[33]='Saenchai vs Saketdao to Headline Big Lumpini Card on March 9th
'; fLink[34]='Watch Mark "Fightshark" Miller\'s United Glory Vlog
'; fLink[35]='NJKF Kick to the Future 1 Results: Yamato, Adanza Score Stoppage Wins, Kenta Upset by TOMOYUKI
'; var Atotal = 35; var Anum = 25; function rotate(j) { target = document.getElementById('linkHolder'); targeta = document.getElementById('holderHolder'); if (j == 0) { i = j+1; timer = setTimeout("rotate("+i+");",10); } else if (j == 1) { i=j+1; if (Anum == Atotal) {Anum=1;} else {Anum++;} clearTimeout(timer); timer = setTimeout("rotate("+i+");",40); } else if (j > 1 && j<=12) { target.style.opacity= (l/10); target.style.filter = "alpha(opacity:"+ (l*10) +")"; target.style.KHTMLOpacity= (l/10); target.style.MozOpacity= (l/10); l = l-1; i=j+1; timer = setTimeout("rotate("+i+");",40); } else if (j == 13) { l = 0; target.style.opacity= (l/10); target.style.filter = "alpha(opacity:"+ (l*10) +")"; target.style.KHTMLOpacity= (l/10); target.style.MozOpacity= (l/10); i=j+1; target.innerHTML = fLink[Anum]; targeta.scrollLeft = 0; rotate(i); } else if (j == 14) { i=j+1; timer = setTimeout("rotate("+i+");",10); } else if (j > 14 && j<=25) { target.style.opacity= (l/10); target.style.filter = "alpha(opacity:"+ (l*10) +")"; target.style.KHTMLOpacity= (l/10); target.style.MozOpacity= (l/10); l++; i=j+1; timer = setTimeout("rotate("+i+");",40); } else if (j == 26) { rotateStarted = true; l = 10; target.style.opacity= (l/10); target.style.filter = "alpha(opacity:"+ (l*10) +")"; target.style.KHTMLOpacity= (l/10); target.style.MozOpacity= (l/10); i=0; timer = setTimeout("scrollme(i);",2000); } } function scrollme () { targeta = document.getElementById('holderHolder'); if (targeta.scrollLeft+targeta.offsetWidth == targeta.scrollWidth) { timer = setTimeout("rotate(0);",2000); } else { targeta.scrollLeft += 1; timer = setTimeout("scrollme();",10); } } function nextLink() { clearTimeout(timer); rotate(1); } function prevLink() { Anum = Anum - 2; if (Anum < 0) {Anum = Atotal-1;} clearTimeout(timer); rotate(1); }