// images[0] = ["",""];
var images = new Array();
images[0] = ["http://andrew.mcgivery.com/portfolio/templates/hellokitty2/hellokitty2.png","template"];
images[1] = ["http://andrew.mcgivery.com/portfolio/templates/bluebreak.png","template"];
images[2] = ["http://andrew.mcgivery.com/portfolio/templates/contained madness.png","template"];
images[3] = ["http://andrew.mcgivery.com/portfolio/templates/gelledarrows.png","template"];
images[4] = ["http://andrew.mcgivery.com/portfolio/templates/hannah.png","template"];
images[5] = ["http://andrew.mcgivery.com/portfolio/templates/hellokitty.png","template"];
images[6] = ["http://andrew.mcgivery.com/portfolio/templates/hookup.png","template"];
images[7] = ["http://andrew.mcgivery.com/portfolio/templates/interface.png","template"];
images[8] = ["http://andrew.mcgivery.com/portfolio/templates/mn.png","template"];
images[9] = ["http://andrew.mcgivery.com/portfolio/templates/project07.png","template"];
images[10] = ["http://andrew.mcgivery.com/portfolio/templates/proservices.png","template"];
images[11] = ["http://andrew.mcgivery.com/portfolio/templates/randompen.png","template"];
images[12] = ["http://andrew.mcgivery.com/portfolio/templates/rockyourworld.png","template"];
images[13] = ["http://andrew.mcgivery.com/portfolio/templates/shattered reality.png","template"];
images[14] = ["http://andrew.mcgivery.com/portfolio/templates/sleek1.png","template"];
images[15] = ["http://andrew.mcgivery.com/portfolio/templates/sleek2.png","template"];
images[16] = ["http://andrew.mcgivery.com/portfolio/templates/sleekexecute.png","template"];
images[17] = ["http://andrew.mcgivery.com/portfolio/templates/springsleek.png","template"];
images[18] = ["http://andrew.mcgivery.com/portfolio/templates/tmd.png","template"];
images[19] = ["http://andrew.mcgivery.com/portfolio/templates/vectordomination.png","template"];
images[20] = ["http://andrew.mcgivery.com/portfolio/templates/visionary arts.png","template"];
images[21] = ["http://andrew.mcgivery.com/portfolio/templates/wRsleek.png","template"];
images[22] = ["http://andrew.mcgivery.com/portfolio/lps/thepit.png","lps"];
images[23] = ["http://andrew.mcgivery.com/portfolio/lps/thelovers.png","lps"];
images[24] = ["http://andrew.mcgivery.com/portfolio/banners/darkenedarrow.png","banner"];
images[25] = ["http://andrew.mcgivery.com/portfolio/banners/darkenedarrowlong.png","banner"];
images[26] = ["http://andrew.mcgivery.com/portfolio/banners/gelledarrows.png","banner"];
images[27] = ["http://andrew.mcgivery.com/portfolio/banners/lostvector.png","banner"];
images[28] = ["http://andrew.mcgivery.com/portfolio/banners/sam.png","banner"];
images[29] = ["http://andrew.mcgivery.com/portfolio/banners/sam2.png","banner"];
images[30] = ["http://andrew.mcgivery.com/portfolio/banners/sz.png","banner"];
images[31] = ["http://andrew.mcgivery.com/portfolio/banners/sz2.png","banner"];
images[32] = ["http://andrew.mcgivery.com/portfolio/sigs/love.png","sig"];
images[33] = ["http://andrew.mcgivery.com/portfolio/sigs/sig6.gif","sig"];
images[34] = ["http://andrew.mcgivery.com/portfolio/sigs/sz.png","sig"];
images[35] = ["http://andrew.mcgivery.com/portfolio/sigs/stpatricksday.png","sig"];
images[36] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie.png","avatar"];
images[37] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie2.png","avatar"];
images[38] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie3.png","avatar"];
images[39] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie4.png","avatar"];
images[40] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie5.png","avatar"];
images[41] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie6.png","avatar"];
images[42] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie7.png","avatar"];
images[43] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie8.png","avatar"];
images[44] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie9.png","avatar"];
images[45] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie10.png","avatar"];
images[46] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie11.png","avatar"];
images[47] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie12.png","avatar"];
images[48] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie13.png","avatar"];
images[49] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie14.png","avatar"];
images[50] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie15.png","avatar"];
images[51] = ["http://andrew.mcgivery.com/portfolio/avatars/cuttie16.png","avatar"];
images[52] = ["http://andrew.mcgivery.com/portfolio/avatars/darkenedarrow","avatar"];
images[53] = ["http://andrew.mcgivery.com/portfolio/avatars/heart.png","avatar"];
images[54] = ["http://andrew.mcgivery.com/portfolio/lps/distorted taoism.png","lps"];
images[55] = ["http://andrew.mcgivery.com/portfolio/lps/invertedunknown.png","lps"];
images[56] = ["http://andrew.mcgivery.com/portfolio/small%20images/news.png","mi"];
images[57] = ["http://andrew.mcgivery.com/portfolio/lps/onceadream.gif","lps"];
images[58] = ["http://andrew.mcgivery.com/portfolio/lps/space.png","lps"];
images[59] = ["http://andrew.mcgivery.com/portfolio/lps/sync.png","lps"];
images[60] = ["http://andrew.mcgivery.com/portfolio/lps/april.png","lps"];
images[61] = ["http://andrew.mcgivery.com/portfolio/lps/crystal light.png","lps"];
images[62] = ["http://andrew.mcgivery.com/portfolio/lps/earthspinninglove.png","lps"];
images[63] = ["http://andrew.mcgivery.com/portfolio/lps/prodat schlem.png","lps"];
images[64] = ["http://andrew.mcgivery.com/portfolio/lps/themask.png","lps"];
images[65] = ["http://andrew.mcgivery.com/portfolio/lps/szbg.png","lps"];
images[66] = ["http://andrew.mcgivery.com/portfolio/avatars/fredy.png","avatar"];
images[67] = ["http://andrew.mcgivery.com/portfolio/sigs/artblock.png","sig"];
images[68] = ["http://andrew.mcgivery.com/portfolio/lps/sambox.png","lps"];
images[69] = ["http://andrew.mcgivery.com/portfolio/banners/synchorizon.png","banner"];
images[70] = ["http://andrew.mcgivery.com/portfolio/lps/volvobox.png","lps"];
images[71] = ["http://andrew.mcgivery.com/portfolio/lps/gms.png","lps"];
images[72] = ["http://andrew.mcgivery.com/portfolio/lps/ilovesam.png","lps"];
images[73] = ["http://andrew.mcgivery.com/portfolio/sigs/richard.png","sig"];
images[74] = ["http://andrew.mcgivery.com/portfolio/templates/vision2art.png","template"];
images[75] = ["http://andrew.mcgivery.com/portfolio/small%20images/button.png","mi"];
images[76] = ["http://andrew.mcgivery.com/portfolio/banners/construction.png","banner"];
images[77] = ["http://andrew.mcgivery.com/portfolio/templates/contentzone.png","template"];
images[78] = ["http://andrew.mcgivery.com/portfolio/small%20images/menubuttons.png","mi"];
images[79] = ["http://andrew.mcgivery.com/portfolio/lps/daniel.png","lps"];
images[80] = ["http://andrew.mcgivery.com/portfolio/templates/idesign.png","template"];
images[81] = ["http://andrew.mcgivery.com/portfolio/lps/forestlp.png","lps"];
images[82] = ["http://andrew.mcgivery.com/portfolio/lps/world.gif","lps"];
images[83] = ["http://andrew.mcgivery.com/portfolio/templates/projectband.png","template"];
images[84] = ["http://andrew.mcgivery.com/portfolio/lps/albumart.png","lps"];
images[85] = ["http://andrew.mcgivery.com/portfolio/small%20images/folderset1/preview.png","mi"];
images[86] = ["http://andrew.mcgivery.com/portfolio/sigs/szad.gif","sig"];
images[87] = ["http://andrew.mcgivery.com/portfolio/sigs/ieffects.png","sig"];
images[88] = ["http://andrew.mcgivery.com/portfolio/banners/blackredwhite.png","banner"];
images[89] = ["http://andrew.mcgivery.com/portfolio/lps/itangle.png","lps"];
images[90] = ["http://andrew.mcgivery.com/portfolio/templates/skins4you.png","template"];
images[91] = ["http://andrew.mcgivery.com/portfolio/templates/ss15.png","template"];
images[92] = ["http://andrew.mcgivery.com/portfolio/lps/robot.png","lps"];
images[93] = ["http://andrew.mcgivery.com/portfolio/templates/portfolio2.png","template"];
images[94] = ["http://andrew.mcgivery.com/portfolio/small%20images/vistamenu.png","mi"];
images[95] = ["http://andrew.mcgivery.com/portfolio/templates/vistaattempt.png","template"];
images[96] = ["http://andrew.mcgivery.com/portfolio/small%20images/vistaboxes.png","mi"];
images[97] = ["http://andrew.mcgivery.com/portfolio/templates/vistacrap.png","template"];
images[98] = ["http://andrew.mcgivery.com/portfolio/small%20images/greenmenu.png","mi"];
images[99] = ["http://andrew.mcgivery.com/portfolio/small%20images/earthicon.png","mi"];
images[100] = ["http://andrew.mcgivery.com/portfolio/banners/artattack.png","banner"];
images[101] = ["http://andrew.mcgivery.com/portfolio/sigs/fredy.png","sig"];
images[102] = ["http://andrew.mcgivery.com/portfolio/lps/thingsleftunsaid.png","lps"];
images[103] = ["http://andrew.mcgivery.com/portfolio/templates/vistaagain.png","template"];
images[104] = ["http://andrew.mcgivery.com/portfolio/small%20images/wmp skin.png","mi"];
images[105] = ["http://andrew.mcgivery.com/portfolio/templates/abusiness.png","template"];
images[106] = ["http://andrew.mcgivery.com/portfolio/templates/portfolio3.png","template"];
images[107] = ["http://andrew.mcgivery.com/portfolio/sigs/cookies.gif","sig"];
images[108] = ["http://andrew.mcgivery.com/portfolio/sigs/szrevival.png","sig"];
images[109] = ["http://andrew.mcgivery.com/portfolio/lps/vector.png","lps"];
images[110] = ["http://andrew.mcgivery.com/portfolio/lps/nothingineverything.png","lps"];
images[111] = ["http://andrew.mcgivery.com/portfolio/lps/lll.png","lps"];
images[112] = ["http://andrew.mcgivery.com/portfolio/lps/emily.png","lps"];
images[113] = ["http://andrew.mcgivery.com/portfolio/small%20images/btx.png","mi"];
images[114] = ["http://andrew.mcgivery.com/portfolio/small%20images/play.png","mi"];
images[115] = ["http://andrew.mcgivery.com/portfolio/templates/wp.png","template"];
images[116] = ["http://andrew.mcgivery.com/portfolio/templates/ss2.png","template"];
images[117] = ["http://andrew.mcgivery.com/portfolio/templates/artwindow.png","template"];
images[118] = ["http://andrew.mcgivery.com/portfolio/templates/mn2.png","template"];
images[119] = ["http://andrew.mcgivery.com/portfolio/templates/ss3.png","template"];
images[120] = ["http://andrew.mcgivery.com/portfolio/templates/pm2.png","template"];
images[121] = ["http://andrew.mcgivery.com/portfolio/templates/pinkpro.png","template"];
images[122] = ["http://andrew.mcgivery.com/portfolio/templates/pm3.png","template"];
images[123] = ["http://andrew.mcgivery.com/portfolio/templates/pm4.png","template"];
images[124] = ["http://andrew.mcgivery.com/portfolio/small%20images/ssd2.png","mi"];
images[125] = ["http://andrew.mcgivery.com/portfolio/lps/malayna.png","lps"];
images[126] = ["http://andrew.mcgivery.com/portfolio/lps/richpink.png","lps"];

function dW(id){
	document.write(id);
}
function getID(id){
	return document.getElementById(id);
}
function getTag(id){
	return document.getElementsByTagName(id);
}

function showTen(){
	var cunt="";
	for(i=images.length-1;i>images.length-11;i--){
		cunt+='<a href="'+images[i][0]+'" target="_blank"><img src="'+images[i][0]+'" width=100 height=100 border="0"></a>';
	}
	getID('recent').innerHTML +=cunt;
}

function showAll(){
	var cunt="<b>All Images</b><br><i>(Click thumbnails to view full size image)</i><br>";
	for(i=0;i<images.length;i++){
		cunt+= '<a href="'+images[i][0]+'" target="_blank"><img src="'+images[i][0]+'" width=100 		height=100 border="0"></a>';
	}
	getID('content').innerHTML +=cunt;
}

function viewCat(y){
var cunt = '<center><table class=boxborder cellspacing="1"><td width=700 class=boxbg>';
cunt +='<b>View Catagory(id:'+y+')</b><br><i>(Click thumbnails to view full size image)</i><br>';
for(i=0;i<images.length;i++){
if(images[i][1]==y){
cunt+= '<a href="'+images[i][0]+'" target="_blank"><img src="'+images[i][0]+'" width=100 height=100 border="0"></a>';
}
}
cunt += '</td></table>';
getID('content').innerHTML =cunt;
}

function showStats(){
	var cunt;
	cunt='Total Works: '+images.length;
	var avatars = 0;
	var sigs = 0;
	var templates = 0;
	var banners = 0;
	var lps = 0;
	var mis = 0;
	for(i=0;i<images.length;i++){
		switch(images[i][1]) {
		case 'sig' : sigs+=1; break;
		case 'template' : templates+=1; break;
		case 'banner' : banners+=1; break;
		case 'lps' : lps+=1; break;
		case 'avatar' : avatars+=1; break;
		case 'mi' : mis+=1; break;
		}
	}
	cunt+= '<br>Avatars: '+avatars;
	cunt+= '<br>Signatures: '+sigs;
	cunt+= '<br>Templates: '+templates;
	cunt+= '<br>Banners: '+banners;
	cunt+= '<br>Large Peices: '+lps;
	cunt+= '<br>Misc: '+mis;
	getID('stats').innerHTML = cunt;
}
showStats();