<!--


// topNav script
function writeTopNav(){
	var strReturn = new String();
	strReturn += ('<ul id="topNav"><li><a href="/tankgirl/forum/index.html">Forum</a></li><li><a href="/tankgirl/idiocy/index.html">Idiocy</a></li><li><a href="/tankgirl/flick/index.html">Flick</a></li><li><a href="/tankgirl/leer/index.html">Leer</a></li><li><a href="/tankgirl/strips/index.html">Strips</a></li><li><a href="/tankgirl/news/index.html">News</a></li></ul>');
	
document.writeln(strReturn);
}
// END opNav script





// Right Navigation scripts --------------------------------------------

// News Navigation script
function writeNewsNav(){
	var strReturn = new String();
	strReturn += ('<ul id="rightNav"><li style="font-weight: bold; font-size: 14px; padding-bottom: 10px;">News Navigation:</li><li><a href="index.html">Intro</a></li><li><a href="news.html">News</a></li><li><a href="whatsNew.html">What&#8217;s New</a></li><li><a href="whatsNewArchive.html">Not So New</a></li><li><a href="creators.html">The Creators</a></li><!--<li><a href="resurrection.html">Resurrection</a></li><li><a href="dejavu.html">Deja Vu</a></li>--></ul>');
	
document.writeln(strReturn);
}
// END News Navigation script


// Contact Us Navigation script
function writeContactNav(){
	var strReturn = new String();
	strReturn += ('<ul id="rightNav"><li style="font-weight: bold; font-size: 14px; padding-bottom: 10px;">Contact Navigation:</li><li><a href="index.html">Contact Us</a></li><li><a href="mailBag.html">Mail Bag</a></li><li><a href="../forum/index.html">Forum</a></li><li><a href="feedBack.html">Feedback</a></li><li><a href="tellYerMate.html">Tell Yer Mate</a></li></ul>');
	
document.writeln(strReturn);
}
// END Contact Us Navigation script


// Strips Navigation script
function writeStripsNav(){
	var strReturn = new String();
	strReturn += ('<ul id="rightNav"><li style="font-weight: bold; font-size: 14px; padding-bottom: 10px;">Strips Navigation:</li><li><a href="index.html">Intro</a></li><li><a href="aboutTanky.html">About Tank Girl</a></li><li><a href="entourage.html">Entourage</a></li><li><a href="covers.html">Covers</a></li><li><a href="underCovers.html">Under The Covers</a></li><li><a href="tallTankTales.html">Tall Tank Tales</a></li><li><a href="quotables.html">Quotables</a></li></ul>');
	
document.writeln(strReturn);
}
// END Strips Navigation script


// Strips: COVERS Navigation script
function writeStripsCoversNav(){
	var strReturn = new String();
	strReturn += ('<ul id="rightNav"><li style="font-weight: bold; font-size: 14px; padding-bottom: 10px;">Strips Navigation:</li><li><a href="index.html">Intro</a></li><li><a href="aboutTanky.html">About Tank Girl</a></li><li><a href="entourage.html">Entourage</a></li><li><a href="covers.html">Covers</a></li><li class="subCover"><a href="coversTG.html">&#8226; Tank Girl</a></li><li class="subCover"><a href="coversTGmag.html">&#8226; Tank Girl Mag</a></li><li class="subCover"><a href="coversDL.html">&#8226; DeadLine Mag</a></li><li class="subCover"><a href="coversTGnew.html">&#8226; Oddysey &#38; Appocalypse</a></li><li class="subCover"><a href="coversCombing.html">&#8226; Combing The Barbarian</a></li><li class="subCover"><a href="coversGifting.html">&#8226; The Gifting</a></li><li class="subCover"><a href="coversMisc.html">&#8226; Miscellaneous</a></li><li><a href="underCovers.html">Under The Covers</a></li><li><a href="tallTankTales.html">Tall Tank Tales</a></li><li><a href="quotables.html">Quotables</a></li></ul>');
	
document.writeln(strReturn);
}
// END Strips: COVERS Navigation script


// LEER Navigation script
function writeLeerNav(){
	var strReturn = new String();
	strReturn += ('<ul id="rightNav"><li style="font-weight: bold; font-size: 14px; padding-bottom: 10px;">Leer Navigation:</li><li><a href="/tankgirl/leer/index.html">Intro</a></li><li><a href="/tankgirl/leer/galleries/index.html">Galleries</a></li><li><a href="/tankgirl/leer/peepOfTheWeek">Peep of the Week</a></li><li><a href="/tankgirl/leer/stuff.html">Stuff</a></li><li><li><a href="/tankgirl/leer/beTankGirl/index.html">Be Tank Girl</a></li></ul>');
	
document.writeln(strReturn);
}
// END LEER Navigation script


// LEER Gallery Navigation script
function writeLeerGalleryNav(){
	var strReturn = new String();
	strReturn += ('<ul id="rightNav"><li style="font-weight: bold; font-size: 14px; padding-bottom: 10px;">Leer Navigation:</li><li><a href="/tankgirl/leer/index.html">Intro</a></li><li><a href="/tankgirl/leer/galleries/index.html">Galleries</a></li><li class="subGallery"><a href="tankGirl.html">&#8226; Tank Girl</a></li><li class="subGallery"><a href="tankGirl2.html">&#8226; Tank Girl 2</a></li><li class="subGallery"><a href="tankGirl3.html">&#8226; Tank Girl 3</a></li><li class="subGallery"><a href="odyssey.html">&#8226; The Odyssey</a></li><li class="subGallery"><a href="apocalypse.html">&#8226; The Apocalypse</a></li><li class="subGallery"><a href="tankGirlMagazine.html">&#8226; Tank Girl Magazine</a></li><li class="subGallery"><a href="miscellaneous.html">&#8226; Miscellaneous</a></li><li class="subGallery"><a href="fanArt.html">&#8226; Fan Art</a></li><li><a href="/tankgirl/leer/peepOfTheWeek">Peep of the Week</a></li><li><a href="/tankgirl/leer/stuff.html">Stuff</a></li><li><a href="/tankgirl/leer/beTankGirl/index.html">Be Tank Girl</a></li></ul>');
	
document.writeln(strReturn);
}
// END LEER Gallery Navigation script


// FLICK Navigation script
function writeFlickNav(){
	var strReturn = new String();
	strReturn += ('<ul id="rightNav"><li style="font-weight: bold; font-size: 14px; padding-bottom: 10px;">Flick Navigation:</li><li><a href="/tankgirl/flick/index.html">Intro</a></li><li><a href="/tankgirl/flick/movie.html">Movie</a></li><li><a href="/tankgirl/flick/soundtrack.html">Soundtrack</a></li><li><a href="/tankgirl/flick/motg.html">Making of Tank Girl</a></li><li><a href="/tankgirl/flick/tradingCards/index.html">Trading Cards</a></li><li><a href="/tankgirl/flick/props.html">Movie Props</a></li><li><a href="/tankgirl/flick/tank.html">My Ride</a></li><li><a href="/tankgirl/flick/rpgGame.html">Roll Playing Game</a></li><li><a href="/tankgirl/flick/novel.html">Novel</a></li><li><a href="/tankgirl/flick/whereNow.html">Where Are They Now?</a></li></ul>');
	
document.writeln(strReturn);
}
// END FLICK Navigation script


// IDIOCY Navigation script
function writeIdiocyNav(){
	var strReturn = new String();
	strReturn += ('<ul id="rightNav"><li style="font-weight: bold; font-size: 14px; padding-bottom: 10px;">Idiocy Navigation:</li><li><a href="index.html">Intro</a></li><li><a href="frivolity.html">Frivolity</a></li><li><a href="tankedGalleries.html">Tanked Galleries</a></li><li><a href="links.html">Links</a></li><li><a href="downloads.html">Downloads</a></li><li><a href="ecards.html">E-Cards</a></li></ul>');
	
document.writeln(strReturn);
}
// END IDIOCY Navigation script


// SHOP Navigation script
function writeShopNav(){
	var strReturn = new String();
	strReturn += ('<ul id="rightNav"><li style="font-weight: bold; font-size: 14px; padding-bottom: 10px;">Shop Navigation:</li><li><a href="index.html">Intro</a></li><li><a href="buyComics.html">Comics</a></li><li><a href="buyMovie.html">Movie</a></li><li><a href="buyClothing.html">Clothing</a></li><li><a href="buySoundTrack.html">Soundtrack</a></li><li><a href="buyNovel.html">Novel</a></li><li><a href="buyRpg.html">Game</a></li><li><a href="buyNovelties.html">Novelties</a></li><li><a href="buyMusic.html">Music</a></li></ul>');
	
document.writeln(strReturn);
}
// END SHOP Navigation script








// Lower Navigation script
function writeLowerNav(){
	var strReturn = new String();
	strReturn += ('<ul id="signs"><li><a href="/tankgirl/news/whatsNew.html">What&#8217;s New</a></li><li><a href="/tankgirl/wtf/index.html">WTF</a></li><li><a href="/tankgirl/contact/index.html">Contact</a></li><li><a href="/tankgirl/siteMap/index.html">Site Map</a></li><li><a href="/tankgirl/shop/index.html">Tank Girl Shop</a></li></ul>');
	
document.writeln(strReturn);
}
// END Lower Navigation script






// Rotating Tanky Head image script
// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = '1'
theImages[1] = '2'
theImages[2] = '3'
theImages[3] = '4'
theImages[4] = '5'
theImages[5] = '6'
theImages[6] = '7'
theImages[7] = '8'
theImages[8] = '9'
theImages[9] = '10'
theImages[10] = '11'
theImages[11] = '12'
theImages[12] = '13'
theImages[13] = '14'
theImages[14] = '15'
theImages[15] = '16'
theImages[16] = '17'
theImages[17] = '18'
theImages[18] = '19'
theImages[19] = '20'
theImages[20] = '21'
theImages[21] = '22'
theImages[22] = '23'
theImages[23] = '24'
theImages[24] = '25'
theImages[25] = '26'
theImages[26] = '27'

// do not edit anything below this line
var whichtheImages=Math.floor(Math.random()*(theImages.length))

// functions for folder level three
function showTankyHead3(){
document.write('<a href="/tankgirl/leer/peepOfTheWeek.html" title="Tanky&#8217;s Peep of the Week"><img src="../../images/header/faces/head'+theImages[whichtheImages]+'.gif" alt="TankGirl - the girl U want"></a>');
}

// functions for folder level two
function showTankyHead2(){
document.write('<a href="/tankgirl/leer/peepOfTheWeek.html" title="Tanky&#8217;s Peep of the Week"><img src="../images/header/faces/head'+theImages[whichtheImages]+'.gif" alt="TankGirl - the girl U want"></a>');
}

// functions for folder level one
function showTankyHead(){
document.write('<a href="/tankgirl/leer/peepOfTheWeek.html" title="Tanky&#8217;s Peep of the Week"><img src="images/header/faces/head'+theImages[whichtheImages]+'.gif" alt="TankGirl - the girl U want"></a>');
}
//END Rotating Tanky Head image script






// Rotating Quote Script
var Quote=new Array() // do not change this!

// Set up the Quotes to be shown, below.
// To add more Quotes, continue with the
// pattern, adding to the array.  Remember
// to increment the Quote[x] index!

Quote[0] = "&#8220;I don&#8217;t go nowhere without my tank! Otherwise I wouldn&#8217;t be tank girl, now would I? No, I&#8217;d be no-tank girl.&#8221;";
Quote[1] = "&#8220;We&#8217;re anarchists, you motherfuckers!&#8221;";
Quote[2] = "&#8220;Jeez! I feel like I&#8217;ve eaten a toilet bowl.&#8221;";
Quote[3] = "&#8220;Jet Girl! Cook up the afterbirth an&#8217; we&#8217;ll have some soup!&#8221;";
Quote[4] = "&#8220;An&#8217; for the last time-- I ain&#8217;t havin&#8217; no messiah! Say it again an&#8217; you&#8217;ll be breathin&#8217; through one fist-sized nostril!&#8221;";
Quote[5] = "&#8220;That&#8217;s five bucks you owe me! I told you he never drowned!&#8221;";
Quote[6] = "&#8220;But I&#8217;m not lettin&#8217; these rats get away with it! Okay, everybody shuddup an&#8217; lissen!&#8221;";
Quote[7] = "&#8220;Oh! Shit for brains! Bring me some more coffee, you big pussy, and take that stupid hat off!&#8221;";
Quote[8] = "&#8220;I&#8217;ve got to follow my instincts, O&#8217; Hell. And believe you me, this stincts to high heaven.&#8221;";
Quote[9] = "&#8220;Who cares? We got big guns ain&#8217;t we?&#8221;";
Quote[10] = "&#8220;Suck on these you arrogant bastard!&#8221;";
Quote[11] = "&#8220;We&#8217;re losing them Ranger! I&#8217;ll slow them down with my tomahawk!&#8221;";
Quote[12] = "&#8220;You&#8217;ll never become a finely tuned killing machine if you don&#8217;t put your heart into it. Asshole!&#8221;";
Quote[13] = "&#8220;Luckily, I&#8217;d remembered to bring the Trojans... Hey O&#8217;Madagain, thought you were supposed to have stamina.&#8221;";
Quote[14] = "&#8220;Too late anyway, Pruneface. World War Three&#8217;s already started!&#8221;";
Quote[15] = "&#8220;This is goodbye, baby! You were a good shag. See you in Hell.&#8221;";
Quote[16] = "&#8220;Lock the rest 'o these sneaky baskets in here till we figure out what we're gonna do with them!&#8221;";
Quote[17] = "&#8220;Jeez, these are some of the greediest, rottenest folk alive!&#8221;";
Quote[18] = "&#8220;What good's one Sub, one Tank an' one Jet gonna do? They're throwing nukes down there!&#8221;";
Quote[19] = "&#8220;Suck lead, ya ugly bastard!&#8221;";
Quote[20] = "&#8220;It was only the once. I was drunk!&#8221;";
Quote[21] = "&#8220;You can do whatever you want with your waxy stick, I&#8217;m finding myself a dune where I can catch some rays and trip out on the sunset.&#8221;";
Quote[22] = "&#8220;We don&#8217;t have to kill and run anymore. We can stay here and live off the land. We&#8217;ll raise children and wait for the current world system to collapse.&#8221;";


// ======================================
// Do not change anything below this line
// ======================================
var Q = Quote.length;
var whichQuote=Math.round(Math.random()*(Q-1));

function displayQuote(){
document.write('<span id="quoteTag">Echoing through the hills...</span><p class="text">' + Quote[whichQuote] + '</p><span class="name">- Tank Girl</span>');
}
// END Rotating Quotes






// Show/hide script
// showMe
function showMe(what) {
  what = document.getElementById(what);
  what.style.display='inline';
}

// hideMe
function hideMe(what) {
  what = document.getElementById(what);
  what.style.display='none';
}

// used to show/hide layers/spans
function showHide(show,hide){
  var showArray = show.split(",")
  var s = showArray.length
  for(i = 0; i < s; i++) {
  	var imShowing = showArray[i];
	showMe(imShowing);
  }
  var hideArray = hide.split(",")
  var h = hideArray.length
  for(i = 0; i < h; i++) {
  	var imHiding = hideArray[i];
	hideMe(imHiding);
  }
}
// END Show/hide script







// copyright script
function writeCopyright(){
	var strReturn = new String();
	strReturn += ('Copyright &nbsp;&#169;2000 - 2012 Tank Girl - the girl U want &#38; Booga. All rights reserved.');
	
document.writeln(strReturn);
}
// END copyright script



/* RE-TWEET ----------------------- */
/*
 * Easy Retweet Button
 * http://ejohn.org/blog/retweet/
 *   by John Resig (ejohn.org)
 *
 * Licensed under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 */

(function(){

window.RetweetJS = {
	// Your Bit.ly Username
	//bitly_user: "retweetjs",
	bitly_user: "skatetheplanet",

	// Your Bit.ly API Key
	// Found here: http://bit.ly/account
	//bitly_key: "R_6287c92ecaf9efc6f39e4f33bdbf80b1",
	bitly_key: "R_6963f783d5996ddf8146e2262df8f7a0",

	// The text to replace the links with
	link_text: (/windows/i.test( navigator.userAgent) ? "&#9658;" : "&#9851;") +
		"&#160;Retweet",

	// What # to show (Use "clicks" for # of clicks or "none" for nothing)
	count_type: "none",

	// Tweet Prefix text
	// "RT @jeresig " would result in: "RT @jeresig Link Title http://bit.ly/asdf"
	prefix: "via @skatetheplanet ",

	// Style information
	styling: "a.retweet { font: bold 12px Helvetica,Arial; color: #000; text-decoration: none; border: 0px; }" +
		"a.retweet span { color: #000; background: #CBB38D; margin-left: 2px; border: 1px solid #000; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 3px; }" +
		"a.vert { display: block; text-align: center; font-size: 16px; float: left; margin: 4px; }" +
		"a.retweet strong.vert { display: block; margin-bottom: 4px; background: #F5F5F5; border: 1px solid #EEE; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 3px; }" +
		"a.retweet span.vert { display: block; font-size: 11px; margin-left: 0px; }"
};

//////////////// No Need to Configure Below Here ////////////////

var loadCount = 1;

// Asynchronously load the Bit.ly JavaScript API
// If it hasn't been loaded already
if ( typeof BitlyClient === "undefined" ) {
	var head = document.getElementsByTagName("head")[0] ||
		document.documentElement;
	var script = document.createElement("script");
	script.src = "http://bit.ly/javascript-api.js?version=latest&login=" +
		RetweetJS.bitly_user + "&apiKey=" + RetweetJS.bitly_key;
	script.charSet = "utf-8";
	head.appendChild( script );

	var check = setInterval(function(){
		if ( typeof BitlyCB !== "undefined" ) {
			clearInterval( check );
			head.removeChild( script );
			loaded();
		}
	}, 10);

	loadCount = 0;
}

if ( document.addEventListener ) {
	document.addEventListener("DOMContentLoaded", loaded, false);

} else if ( window.attachEvent ) {
	window.attachEvent("onload", loaded);
}

function loaded(){
	// Need to wait for doc ready and js ready
	if ( ++loadCount < 2 ) {
		return;
	}

	var elems = [], urlElem = {}, hashURL = {};

	BitlyCB.shortenResponse = function(data) {
		for ( var url in data.results ) {
			var hash = data.results[url].userHash;
			hashURL[hash] = url;

			var elems = urlElem[ url ];

			for ( var i = 0; i < elems.length; i++ ) {
				elems[i].href += hash;
			}

			if ( RetweetJS.count_type === "clicks" ) {
				BitlyClient.stats(hash, 'BitlyCB.statsResponse');
			}
		}
	};

	BitlyCB.statsResponse = function(data) {
		var clicks = data.results.clicks, hash = data.results.userHash;
		var url = hashURL[ hash ], elems = urlElem[ url ];

		if ( clicks > 0 ) {
			for ( var i = 0; i < elems.length; i++ ) {
				var strong = document.createElement("strong");
				strong.appendChild( document.createTextNode( clicks + " " ) );
				elems[i].insertBefore(strong, elems[i].firstChild);

				if ( /(^|\s)vert(\s|$)/.test( elems[i].className ) ) {
					elems[i].firstChild.className = elems[i].lastChild.className = "vert";
				}
			}
		}

		hashURL[ hash ] = urlElem[ url ] = null;
	};

	if ( document.getElementsByClassName ) {
		elems = document.getElementsByClassName("retweet");
	} else {
		var tmp = document.getElementsByTagName("a");
		for ( var i = 0; i < tmp.length; i++ ) {
			if ( /(^|\s)retweet(\s|$)/.test( tmp[i].className ) ) {
				elems.push( tmp[i] );
			}
		}
	}

	if ( elems.length && RetweetJS.styling ) {
		var style = document.createElement("style");
		style.type = "text/css";

		try {
			style.appendChild( document.createTextNode( RetweetJS.styling ) );
		} catch (e) {
			if ( style.styleSheet ) {
				style.styleSheet.cssText = RetweetJS.styling;
			}
		}

		document.body.appendChild( style );
	}

	for ( var i = 0; i < elems.length; i++ ) {
		var elem = elems[i];

		if ( /(^|\s)self(\s|$)/.test( elem.className ) ) {
			elem.href = window.location;
			elem.title = document.title;
		}

		var origText = elem.title || elem.textContent || elem.innerText,
			href = elem.href;

		elem.innerHTML = "<span>" + RetweetJS.link_text + "</span>";
		elem.title = "";
		elem.href = "http://twitter.com/home?status=" +
			encodeURIComponent(RetweetJS.prefix + origText + " http://bit.ly/");

		if ( urlElem[ href ] ) {
			urlElem[ href ].push( elem );
		} else {
			urlElem[ href ] = [ elem ];
			BitlyClient.shorten(href, 'BitlyCB.shortenResponse');
		}
	}

}

})();


// 
