
	if (document.images) {
		var enabled = 1;
		var images = new Array ("services","rates","affiliates","testimonials","applynow","agentcenter","aboutus","home","sitemap","contactus");
		var ImageObjects = new Array();
		for (i = 0; i < images.length; i++) {
			name = images[i];
			ImageObjects[name] = new ImageObject(name);
		}
	}
	function ImageObject(name) {
		this.on = new Image;
		this.on.src = "http://www.nabancard.com/images/nav_" + name + "_on.gif";
		this.off = new Image;
		this.off.src = "http://www.nabancard.com/images/nav_" + name +"_off.gif";
	}
	function rollover(imageName) {
			if (enabled) {
				document[imageName].src = ImageObjects[imageName].on.src;
			}
	}
	function rollout(imageName) {
			if (enabled) {
				document[imageName].src = ImageObjects[imageName].off.src;
			}
	}

	var FlashInstalled = 0;
	for (i=0; i<navigator.plugins.length; i++){
    		if (navigator.plugins[i].name.indexOf("Flash") >= 0) {
        		FlashInstalled = 1;
    		}
	}

	function FlashWrite(url,width,height)
	{
		document.write('<TD><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
		document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" ');
		document.write('  WIDTH=' + width + ' HEIGHT=' + height + '>');
		document.write(' <PARAM NAME=movie VALUE="' + url + '"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF>  ');
		document.write(' <EMBED src="' + url + '" quality=high bgcolor=#FFFFFF  ');
		document.write(' swLiveConnect=FALSE WIDTH=' + width + ' HEIGHT=' + height);
		document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
		document.write(' </EMBED></OBJECT></TD>');
	}