
browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )));

if ( browser)	{

active1 = new Image(100,30);
active1.src = "images/but001.gif";
inactive1 = new Image(100,30);
inactive1.src = "images/but01.gif";

active2 = new Image(100,30);
active2.src = "images/but002.gif";
inactive2 = new Image(100,30);
inactive2.src = "images/but02.gif";

active3 = new Image(100,30);
active3.src = "images/but003.gif";
inactive3 = new Image(100,30);
inactive3.src = "images/but03.gif";

active4 = new Image(100,30);
active4.src = "images/but004.gif";
inactive4 = new Image(100,30);
inactive4.src = "images/but04.gif";

active5 = new Image(100,30);
active5.src = "images/but005.gif";
inactive5 = new Image(100,30);
inactive5.src = "images/but05.gif";

active6 = new Image(100,30);
active6.src = "images/but006.gif";
inactive6 = new Image(100,30);
inactive6.src = "images/but06.gif";

active7 = new Image(100,30);
active7.src = "images/but007.gif";
inactive7 = new Image(100,30);
inactive7.src = "images/but07.gif";

}

var ShockMode = 0;
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
	if (navigator.plugins && navigator.plugins["Shockwave Flash"])
		ShockMode = 1;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || 
navigator.userAgent.indexOf("Windows 2000")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
	document.write('<script type="text/vbscript" language=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('ShockMode = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');
	document.write('</script\> \n');
}

function makeAnim() {

if ( ShockMode && (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0))) {
	var output = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=anim1 WIDTH=176 HEIGHT=90><PARAM NAME=movie VALUE="flash/anim1.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=menu VALUE=false><PARAM NAME=bgcolor VALUE=#000000><EMBED SRC="flash/anim1.swf" WIDTH=176 HEIGHT=90 QUALITY=high MENU=false BGCOLOR=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>';
            return output;
} else {
	var output = '<a href="index.asp"><img src="images/title1.gif" width=176 height=90 alt="[Ipswich Borough Homes]" border="0"></a><br>';
            return output;
}

}

