
// Gold Guides (no longer used)
var GoldGuides = new Array(

		{src:'http://www.almostgaming.com/images/tall.jpg', href:'http://fwgold.secretgg.hop.clickbank.net/?tid=SGGHH3'}

);

// Leveling Guides

var LevelingGuides = new Array(
{src:'http://www.almostgaming.com/images/zygor1.jpg', href:'http://fwgold.wowzygor.hop.clickbank.net/?tid=NEWR2'}
 //{src:'http://www.almostgaming.com/images/ls-new.jpg', href:'http://fwgold.secretgg.hop.clickbank.net/?type=leveling&tid=LSNEW'}
);

// Dynamic Ad Sense Gold Banner Text
function showGoldBanner() {

	var sggBanners = new Array(
		//{src:'http://www.almostgaming.com/images/newgoblin.jpg', href:'http://fwgold.secretgg.hop.clickbank.net/?tid=SGGNEWGOB'},
		{src:'http://www.almostgaming.com/images/hh3.jpg', href:'http://fwgold.secretgg.hop.clickbank.net/?tid=SGGHH3'}
	);

	var wsgBanners = new Array(
		{src:'http://www.almostgaming.com/images/wscata.jpg', href:'http://fwgold.wowschool.hop.clickbank.net/?tid=WS1'},
		{src:'http://www.almostgaming.com/images/wsdwarf.jpg', href:'http://fwgold.wowschool.hop.clickbank.net/?tid=WSDWARF'}
	);

	var twentyKBanners = new Array(
		{src:'http://www.almostgaming.com/images/20k1.gif', href:'http://fwgold.hercules23.hop.clickbank.net/?tid=20K1'},
		{src:'http://www.almostgaming.com/images/20k2.jpg', href:'http://fwgold.hercules23.hop.clickbank.net/?tid=20K2'}
	);

	gold_guide = "sgg";
	if (vq_sgg > 5) gold_guide = "sgg";
	else if (vq_ws > 5) gold_guide = "wsg";
	else if (vq_sgg > 0) gold_guide = "sgg";
	else if (vq_ws > 0) gold_guide = "wsg";
	else if (vq_ws < 5 && vq_sgg < 5) gold_guide = "20k";

	if (gold_guide == '20k') {
		showVertBanner(twentyKBanners);
	} else if (gold_guide == 'wsg') {
		showVertBanner(wsgBanners);
	} else {
		showVertBanner(sggBanners);
	}

}

function showVertBanner(banners) {
 if (banners.length > 0) {
 	var i = Math.floor(Math.random() * banners.length);
 	document.write('<a href="'+banners[i].href+'"><img src="'+banners[i].src+'" border="0"></a>' + '\n');
 	banners.splice(i, 1); // remove i
 }
}

