function buttons()
{
//39
var ranNum= Math.round(Math.random() * 39);
if (ranNum == 0){document.write('<a href="http://www.tkqlhce.com/click-3485526-10705774?sid=rotate" target="_blank" rel="nofollow"><img src="http://www.awltovhc.com/image-3485526-10705774" width="125" height="125" alt="Portero - Free Shipping on orders over $1,000*" border="0"/></a>'); } // portero
if (ranNum == 1){document.write('<a href="http://www.jdoqocy.com/click-3485526-10721340?sid=rotate" target="_blank" rel="nofollow"><img src="http://www.lduhtrp.net/image-3485526-10721340" width="125" height="125" alt="RowNine - Luxury Private Sales at up to 80% off" border="0"/></a>'); } // rownine
if (ranNum == 2){document.write('<a href="http://www.amazon.com/gp/product/B001RQI512?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B001RQI512" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/213YCmGpsfL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B001RQI512" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // morrocanoil
if (ranNum == 3){document.write('<a href="http://www.amazon.com/gp/product/B001D4FF66?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B001D4FF66" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/31gHEjCUtML._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B001D4FF66" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // wensweetalmond
if (ranNum == 4){document.write('<a href="http://www.amazon.com/gp/product/B00188IFHS?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B00188IFHS" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/31Y4nNKqptL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B00188IFHS" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // wenlavender
if (ranNum == 5){document.write('<a href="http://www.amazon.com/gp/product/B0018A8T3G?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B0018A8T3G" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/41cLExa1R7L._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B0018A8T3G" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // wensetofthree
if (ranNum == 6){document.write('<a href="http://www.amazon.com/gp/product/B001OZUDRA?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B001OZUDRA" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/21l8jMVZjIL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B001OZUDRA" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // bumblegentle
if (ranNum == 7){document.write('<a href="http://www.amazon.com/gp/product/B000VHH71W?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000VHH71W" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/31qZMfwaEEL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B000VHH71W" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // alternaseasilk
if (ranNum == 8){document.write('<a href="http://www.amazon.com/gp/product/B001OVQSJG?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B001OVQSJG" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/41pdXIQ2VdL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B001OVQSJG" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // paulmitchellteatreeduo
if (ranNum == 9){document.write('<a href="http://www.amazon.com/gp/product/B000A3XH7A?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000A3XH7A" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/31E-vv6XANL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B000A3XH7A" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // kloranedryshampoo
if (ranNum == 10){document.write('<a href="http://www.amazon.com/gp/product/B000ULP2VQ?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000ULP2VQ" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/217Q9a0CHgL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B000ULP2VQ" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // kerastasebainsatin
if (ranNum == 11){document.write('<a href="http://www.amazon.com/gp/product/B000KQ7U84?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000KQ7U84" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/415cdjYbMcL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B000KQ7U84" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // lorealabsolutrepair
if (ranNum == 12){document.write('<a href="http://www.amazon.com/gp/product/B0009J6ER0?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B0009J6ER0" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/41R73S2CVWL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B0009J6ER0" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // growduo
if (ranNum == 13){document.write('<a href="http://www.amazon.com/gp/product/B000141BMQ?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000141BMQ" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/21DFHDRM2KL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B000141BMQ" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // clairolshimmerlights
if (ranNum == 14){document.write('<a href="http://www.amazon.com/gp/product/B0010T9RYU?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B0010T9RYU" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/31ssqm7xacL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B0010T9RYU" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // pureologynanoduo
if (ranNum == 15){document.write('<a href="http://www.amazon.com/gp/product/B002C4V3WG?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B002C4V3WG" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/41EKveKG-dL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B002C4V3WG" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // moroccanoilhairmask
if (ranNum == 16){document.write('<a href="http://www.amazon.com/gp/product/B0007CWVLM?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B0007CWVLM" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/31VqKjxibwL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B0007CWVLM" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // tweezermanscissors
if (ranNum == 17){document.write('<a href="http://www.amazon.com/gp/product/B000OEZRJ6?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000OEZRJ6" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/21y1UJV8APL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B000OEZRJ6" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // caviarhairspray
if (ranNum == 18){document.write('<a href="http://www.amazon.com/gp/product/B000UTNR6K?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000UTNR6K" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/31tIW5vZ-ZL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B000UTNR6K" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // revitalash
if (ranNum == 19){document.write('<a href="http://www.amazon.com/gp/product/B000KQ9TME?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000KQ9TME" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/41grZ4awL-L._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B000KQ9TME" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // lorealrepairmasque
if (ranNum == 20){document.write('<a href="http://www.amazon.com/gp/product/B002QW8JVM?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B002QW8JVM" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/41NDa9YXoCL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B002QW8JVM" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // rapidlash
if (ranNum == 21){document.write('<a href="http://www.amazon.com/gp/product/B002WTC37A?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B002WTC37A" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/51OnTSGW5UL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B002WTC37A" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // macadamiadeeprepair
if (ranNum == 22){document.write('<a href="http://www.amazon.com/gp/product/B000ULJN9S?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000ULJN9S" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/21bCaoR2T%2BL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B000ULJN9S" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // pureologyleavein
if (ranNum == 23){document.write('<a href="http://www.amazon.com/gp/product/B002CMLH60?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B002CMLH60" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/411Zf8Zfy6L._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B002CMLH60" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // kerastasechromareflect
if (ranNum == 24){document.write('<a href="http://www.amazon.com/gp/product/B001STAB1K?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B001STAB1K" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/41I4q2Q5D0L._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B001STAB1K" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // kronosphyxovernightrepair
if (ranNum == 25){document.write('<a href="http://www.amazon.com/gp/product/B002P5R88A?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B002P5R88A" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/21zsII9-fXL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B002P5R88A" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // biolagedelicatecare
if (ranNum == 26){document.write('<a href="http://www.amazon.com/gp/product/B001BALMB4?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B001BALMB4" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/31%2BkdjIBr9L._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B001BALMB4" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // mebco
if (ranNum == 27){document.write('<a href="http://www.amazon.com/gp/product/B0017PUPMK?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B0017PUPMK" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/31Nz%2BSrSX0L._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B0017PUPMK" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // spornetteboarpaddle
if (ranNum == 28){document.write('<a href="http://www.amazon.com/gp/product/B000VUXE1G?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000VUXE1G" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/21JtJpB-1JL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B000VUXE1G" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // ambassadorovalwoodpin
if (ranNum == 29){document.write('<a href="http://www.amazon.com/gp/product/B000QSA5WY?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000QSA5WY" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/31eCgYWJ06L._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B000QSA5WY" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // avon8in1eyepalette
if (ranNum == 30){document.write('<a href="http://www.amazon.com/gp/product/B002RW9CKI?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B002RW9CKI" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/41sbnPtBC6L._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B002RW9CKI" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // diorcompletepalette
if (ranNum == 31){document.write('<a href="http://www.amazon.com/gp/product/B000NC2VA2?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000NC2VA2" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/21mTFwR7uVL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B000NC2VA2" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // orglamixsmokemineraleye
if (ranNum == 32){document.write('<a href="http://www.amazon.com/gp/product/B0031NHW4A?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B0031NHW4A" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/41f25ApmeqL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B0031NHW4A" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // stillajeweleyeshadow
if (ranNum == 33){document.write('<a href="http://www.amazon.com/gp/product/B000NCTWXG?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000NCTWXG" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/21xZTi573eL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B000NCTWXG" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // opiclassicsnail
if (ranNum == 34){document.write('<a href="http://www.amazon.com/gp/product/B00021CDNO?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B00021CDNO" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/31JbXZCsHCL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B00021CDNO" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // benefitdandelion
if (ranNum == 35){document.write('<a href="http://www.amazon.com/gp/product/B00128ANYC?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B00128ANYC" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/31tcbW5JRnL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B00128ANYC" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // lauragellarbakedbasics
if (ranNum == 36){document.write('<a href="http://www.amazon.com/gp/product/B0031NLHR8?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B0031NLHR8" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/41GfPo6puEL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B0031NLHR8" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // diorlace
if (ranNum == 37){document.write('<a href="http://www.amazon.com/gp/product/B001FSEDH2?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B001FSEDH2" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/41U8BPohj5L._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B001FSEDH2" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // japonesquemakeupbrushes
if (ranNum == 38){document.write('<a href="http://www.amazon.com/gp/product/B00021DJ1E?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B00021DJ1E" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/31wOyWmaICL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B00021DJ1E" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // narsblush
if (ranNum == 39){document.write('<a href="http://www.amazon.com/gp/product/B00021DB9Y?ie=UTF8&tag=longlockshair-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B00021DB9Y" rel="nofollow" target="_blank"><img border="0" src="http://www.longlocks.com/41AvOXMxrcL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=longlockshair-20&l=as2&o=1&a=B00021DB9Y" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />'); } // phytophytocane
}