
<!--
var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}
if ( MM_FlashCanPlay ) {
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="980" height="405" id="gallery" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="http://www.ward404.com/gallery.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#121212" /><param name="FlashVars" value="'+a+'" /><embed src="http://www.ward404.com/gallery.swf" FlashVars="'+a+'" quality="high" bgcolor="#121212" width="980" height="405" name="gallery" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>')
} else{
function changepic (curpic, picarray) {
	if (curpic > picarray.length-1) curpic = 0;
	if (curpic < 0) curpic = picarray.length-1;
	document.getElementById('flashImageArea').innerHTML = "<img src='http://www.ward404.com/" + picarray[curpic] + "' />";
	document.getElementById('flashImageArea').innerHTML += "<div style='clear: both;'><div id='numberbox' style='margin-top: 7px; border: 0px solid #ffffff;'></div>";
	document.getElementById('flashImageArea').innerHTML += "<div class='projectTitle' style='margin-top: 7px; color: #D0D0D0; display: inline;'" + title + "</div>&nbsp;&nbsp;<div class='projectDesc' style='margin-top: 7px; color: #AFAEAE; display: inline;'" + desc + "</div>";
	if (url != 0){
		document.getElementById('flashImageArea').innerHTML += "<a href='" + url + "' class='urlLink' target='_blank'>Click here to view</a>";
	}
	
	if (picarray.length > 1) {
		
		document.getElementById('flashImageArea').innerHTML += "<a href='#' class='end' onclick='changepic(" + (curpic-1) + ", pics);'><</a> ";
		for (i=0;i<picarray.length;i++) { if (i == curpic) { 
		document.getElementById('flashImageArea').innerHTML += "<a href='#' class='cur' onclick='changepic(" + i + ", pics);'>" + (i+1) + "</a> ";
			} else {
				document.getElementById('flashImageArea').innerHTML += "<a href='#' onclick='changepic(" + i + ", pics);'>" + (i+1) + "</a> ";
			}
		}
		document.getElementById('flashImageArea').innerHTML += "<a href='#' class='end' onclick='changepic(" + (curpic+1) + ", pics);'>></a> ";
		document.getElementById('flashImageArea').innerHTML += "</div>";
	}
}

changepic(0, pics);
}
//-->
