var texttemp = '<div class="replaceContainer"><select name="select2" id="select2" onchange="MM_jumpMenu(\'parent\',this,0)" style="font-size: 10px; font-face: Verdana, Arial, sans-serif;">' +
'<option value="nolink" selected>LIST OF ALL CURRENT T-SHIRT HELL SHIRTS&nbsp;&nbsp;</option>' +
'<option value="-" style="BACKGROUND-COLOR: #F03028; COLOR: #FFFFFF"><b>T-SHIRTS</b></option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=401">1f U C4n R34d Th15 U R34lly N33d T0 G37 L41d</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=302">Also Available in Sober</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1375">America</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1054">Any Way We Can Speed This Up?</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=492">Baaaaaa Means Nooooo</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=278">Bad Samaritan</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1405">Bieber Checklist</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1233">Bitches Ain\'t Shit but Hoes and Tricks - Gandhi</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1190">Bling-Bling</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=656">Canadians Are Eh\'holes</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1415">Christians Are Assholes</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1418">Cunt Junkie</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1323">Don\'t Curse</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1425">Dryhumpist</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1214">Free Hugs (World Champion Slut Hugger)</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=559">Fuck the Colorblind</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=692">Fucking Classy</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1324">God Gets Me Wet</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1426">God Hates Chimps Who Love Dolphins</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1414">God is Pro-Choice</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1015">Han Job (Han Solo Princess Leia)</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=290">He Loves the Cock</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=599">Hopeless Romantic Seeks Filthy Whore</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1271">How Do I Block You in Real Life?</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=610">Hung Like a Horse</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1407">I Already Hate the Next President</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=182">I Bring Nothing to the Table</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1286">I Could Use a Little Sexual Harassment</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1079">I Didn\'t Come Here to Impress None of You Moth...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1370">I Don\'t Like White People Either</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1092">I Fucking Love to Cuddle</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1263">I Hope I Don\'t Black Out, Because This is Awesome!</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1338">I Just Support Fish</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=597">I Know Violence Isn\'t the Answer - I Got It Wr...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1417">I Push My Own Head Down</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=868">I Put the Cute in Execute</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=575">I Shaved My Balls for This?</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=423">I Should Be in the Kitchen</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1422">I Still Play with Dolls</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=330">I Support Single Moms</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1032">I Wanna Put My (Cock) in Your (Pussy) and Smack...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=957">I\'d Rather Be Snorting Cocaine off a Hooker\'s Ass</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=434">I\'ll Be Using These to My Advantage</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1411">I\'m Not Racist. Some of My Facebook Friends Ar...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1406">I\'m Part of the 99% That Fucked Your Mom</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=612">I\'m the One You Gotta Blow to Get a Drink Arou...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1420">I\'m Voting for (Middle Finger)</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=202">I\'m What Willis Was Talkin Bout</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1409">I\'ve Got All the Personality I Need Right Here</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=714">I\'ve Had It Up to Here with Midgets</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=618">If I Had Balls They Would Be Bigger Than Yours</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1066">It\'s 1620 Somewhere</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1424">Jesus Returns</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=833">Kill Yourself - All the Cool Kids Are Doing It</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1413">Laughter is the Best Medicine</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1421">Marijuana is My Natural High</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1279">Marshmallow Roast</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1280">Me So Holy Me Love You Long Time</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=982">My Life is a Very Complicated Drinking Game</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1049">Natural Redhead</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1074">Not an Accurate Representation of White People</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1053">Not Tonight Ladies, I\'m Just Here to Get Drunk</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=457">Ob Gyn Kenobi</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1296">Ok, but Wash It First</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1408">On My Planet, You\'d Be Considered an Asshole. ...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1360">Prisoner of Thumb War</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1394">Relax, I\'m Hilarious</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=538">Reminder - Buy More Beer</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1419">Ron, Paul 2012 (Ron Jeremy, Paul Giamatti)</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1351">See You All at My Intervention</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1335">Sex with Your Girlfriend. 74  People Like This. </option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=974">Slavery Gets Shit Done</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1037">Sorry About What Happens Later</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1401">Stare at Me in Disgust</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=472">Stop Clubbing Baby Seals</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=826">Straight</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1376">Suicide Watch</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1085">Support Our Troops - Except Ron, That Guy\'s a Dick</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=306">Swallows</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=42">Talk Nerdy to Me</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1423">They Said It Couldn\'t Be Done - So I Didn\'t D...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1002">This Shirt is 100% Organic - 65% Baby Seal 25% ...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=676">Thousands of My Potential Children Died on Your...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=812">What the Fuck Did You Call Me? (Pot and Kettle)</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=603">White Flour</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=425">Who Needs Big Tits when You Have an Ass Like This?</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=64">WWJD for a Klondike Bar</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1038">Yes My T-Shirt Does Say Fuck on It. It Also Say...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=323">You Cant Have Manslaughter Without Laughter</option>' +
'<option value="-" style="BACKGROUND-COLOR: #ffae00; COLOR: #FFFFFF"><b>TORSOPANTS</b></option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1205">Ante, Christ</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1204">Atheist</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1245">Baseball </option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=476">Go Local Sports Team And/Or College</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1195">Hey You. Yeah, You. No, Not You... That Other Guy.</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1203">Is It Solipsistic in Here, or is It Just Me?</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1197">Moo (Chicken)</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1199">My Marxist Feminist Dialectic Brings All the Bo...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1249">Pancakes</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=28">This is My Clone</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=622">This Shirt is Only Blue when I\'m Thinking Abou...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1333">True Evolution</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1225">Tuba Hero</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1357">Two Horses in a Man Costume</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1269">Voted \"Most Likely to Travel Back in Time\" Cl...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1268">When Life Hands You: High Fructose Corn Syrup, ...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=716">Words on a Shirt</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1198">Worlds\' Goodest Teecher</option>' +
'<option value="-" style="background-color:#2831f0; color: #ffffff;"><b>BABY HELL T-SHIRTS</b></option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=499">All Daddy Wanted Was a Blowjob</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=515">All Mommy Wanted Was a Backrub</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=81">Are You My Daddy?</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1070">Baby - Not Midget (Do Not Toss)</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1387">Baby Care Instructions</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1096">Crapped My Pants... Took a Nap... Sucked Some T...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=435">Cuter Than Baby Jesus</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=201">Daddy Drinks Because I Cry</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=289">Daddy\'s Lil\' Squirt</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=71">Fuck the Milk</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=370">Hung Like a Five Year Old</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=436">I Ate My Twin</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=75">I Can Kick Your Baby\'s Ass</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=870">I Can\'t Even Walk Yet and I Already Hate the Y...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=82">I Enjoy a Good Spanking</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=72">I Shit My Pants</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=669">I Spent 9 Months in the Hole</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=365">I Tore Mommy a New One</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1399">I Will Not Become a Stripper</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1389">I\'m So Cute I Must Have Been Adopted</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=642">I\'m This Many (Middle Finger)</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1350">I\'ve Accomplished More Than Obama</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1359">Insert Titty Here</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=934">Kickin\' Ass & Takin\' Naps</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=557">Mommy Drinks Because I Cry</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=363">My Other Car Seat is in a Porsche</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=357">Now That I\'m Safe I\'m Pro Choice</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=213">Playground Pimp</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=884">Pooping in Progress</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1044">Recently Evicted</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1397">The Dog Humps Me when You\'re Not Looking</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=212">They Shake Me</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1246">Too Cute to Play with Your Ugly Ass Kid</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1081">Watch Your Fucking Language There\'s a Goddamn ...</option>' +
'<option value="http://www.tshirthell.com/store/product.php?productid=1410">Where\'s My Child Support, Bitch?</option>' +
'</select></div>';

//Original TSH Functionality
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
// EOF Original


// New Hottness

function selectReplacement(obj) {
  obj.className += ' replaced';
  //var div = document.createElement('<div style="height:300px; width:200px; overflow: scroll; background-color:#000;"></div>');
  var div = document.createElement('div');
  div.className = 'replaceContainer';
  div.id = obj.id+"-div";
  var ul = document.createElement('ul');
  ul.className = 'selectReplacement';
  ul.id = obj.id+"-new";
  var opts = obj.options;
  for (var i=0; i<opts.length; i++) {
    var selectedOpt;
    if (opts[i].selected) {
      selectedOpt = i;
      break;
    } else {
      selectedOpt = 0;
    }
  }
  for (var i=0; i<opts.length; i++) {
    var li = document.createElement('li');
	li.name = opts[i].value;
    var txt = document.createTextNode(opts[i].text);
    li.appendChild(txt);
    li.selIndex = opts[i].index;
    li.selectID = obj.id;
    li.onclick = function() {
      selectMe(this);
    }
	if(li.name == 'nolink'){
		li.className = 'liSeparator';
	}else{
		li.className = 'liReg';
	}
    if (i == selectedOpt) {
      li.className = 'selected';
      li.onclick = function() {
        this.parentNode.className += ' selectOpen';
		document.getElementById("select2-div").className = 'replaceContainerExpand';
        this.onclick = function() {
          selectMe(this);
        }
      }
    }
    if (window.attachEvent) {
      li.onmouseover = function() {
        this.className += ' hover';
      }
      li.onmouseout = function() {
        this.className =
          this.className.replace(new RegExp(" hover\\b"), '');
      }
    }
    ul.appendChild(li);

  }
  div.appendChild(ul);
  obj.parentNode.insertBefore(div,obj);
}
function selectMe(obj) {
  document.getElementById("select2-div").className = 'replaceContainer';
  var lis = obj.parentNode.getElementsByTagName('li');
  for (var i=0; i<lis.length; i++) {
    if (lis[i] != obj) {
      lis[i].className='';
      lis[i].onclick = function() {
		selectMe(this);
      }
    } else {
	  if(lis[i].name != 'nolink') {
	    eval("window.location='"+lis[i].name+"'");
	  }
      setVal(obj.selectID, obj.selIndex);
      obj.className='selected';
      obj.parentNode.className =
        obj.parentNode.className.replace(new RegExp(" selectOpen\\b"), '');
      obj.onclick = function() {
        obj.parentNode.className += ' selectOpen';
        this.onclick = function() {
         selectMe(this);
        }
      }
    }
  }
}
function setVal(objID, selIndex) {
  var obj = document.getElementById(objID);
  obj.selectedIndex = selIndex;
}
function setForm() {
  var s = document.getElementsByTagName('select');
  for (var i=0; i<s.length; i++) {
    selectReplacement(s[i]);
  }
}
function replaceSelectMenu() {
  document.write(texttemp);
  //selectReplacement(document.getElementById("select2"));
  //(document.all && !window.print) ? null : setForm();
}


// ]]>
