	function fDiamond(xCenter, yCenter, iRadius, sColor)
	{

		try
		{

			var iLoop=0;
			var iTop=yCenter- iRadius;
			var iLeft=xCenter;
			var ixTemp=0;
			var iyTemp=0;
			var izInd=100;
			var iWidth=0;
			var sHtml=""; 

			for (iLoop= 0; iLoop<= iRadius; iLoop++)
			{
				
				ixTemp= iTop + iLoop;
				iyTemp= iLeft - iLoop;
				izInd= 100; 
				iWidth= iLoop * 2;

				sHtml+= "<span style=\" Z-INDEX: " + izInd.toString(10) + "; position: absolute; BACKGROUND-COLOR: " + sColor + "; font-size: 1pt; HEIGHT: 1px; Top: " + ixTemp.toString(10) + "px; Left: " + iyTemp.toString(10) + "px; WIDTH: " + iWidth.toString(10) + "px; \" ></span>";

			}

			iTop=yCenter+ iRadius;

			for (iLoop= iRadius; iLoop>= 0; iLoop--)
			{
				
				ixTemp= iTop - iLoop;
				iyTemp= iLeft - iLoop;
				izInd= 100;
				iWidth= iLoop * 2;
				
				sHtml+= "<span style=\" Z-INDEX: " + izInd.toString(10) + "; position: absolute; BACKGROUND-COLOR: " + sColor + "; font-size: 1pt; HEIGHT: 1px; Top: " + ixTemp.toString(10) + "px; Left: " + iyTemp.toString(10) + "px; WIDTH: " + iWidth.toString(10) + "px; \" ></span>";

			}

			document.writeln (sHtml);


		}
		catch (er)
		{
			alert(er);
		}

	}


	function fDiamondButton(xCenter, yCenter, iRadius, sColor, sText, sTextColor, sFunction, zInd)
	{

		try
		{

			var iLoop=0;
			var iTop=yCenter- iRadius;
			var iLeft=xCenter;
			var ixTemp=0;
			var iyTemp=0;
			var izInd=zInd;
			var iWidth=0;
			var sHtml=""; 

			for (iLoop= 0; iLoop<= iRadius; iLoop++)
			{
				
				ixTemp= iTop + iLoop;
				iyTemp= iLeft - iLoop;
				izInd= 100; 
				iWidth= iLoop * 2;

				sHtml+= "<span style=\" Z-INDEX: " + izInd.toString(10) + "; position: absolute; BACKGROUND-COLOR: " + sColor + "; font-size: 1pt; HEIGHT: 1px; Top: " + ixTemp.toString(10) + "px; Left: " + iyTemp.toString(10) + "px; WIDTH: " + iWidth.toString(10) + "px; cursor:pointer; \"  onClick=\""  + sFunction + "\" ></span>";

			}

			iTop=yCenter+ iRadius;

			for (iLoop= iRadius; iLoop>= 0; iLoop--)
			{
				
				ixTemp= iTop - iLoop;
				iyTemp= iLeft - iLoop;
				izInd= 100;
				iWidth= iLoop * 2;
				
				sHtml+= "<span style=\" Z-INDEX: " + izInd.toString(10) + "; position: absolute; BACKGROUND-COLOR: " + sColor + "; font-size: 1pt; HEIGHT: 1px; Top: " + ixTemp.toString(10) + "px; Left: " + iyTemp.toString(10) + "px; WIDTH: " + iWidth.toString(10) + "px; cursor:pointer; \"  onClick=\""  + sFunction + "\" ></span>";

			}


			sHtml+= "<span style=\" position: absolute; top: " + (yCenter - 7).toString(10)  + "px; left: " + (xCenter - (iRadius / 1.5))  +"px; width: " + (iRadius * 1.2) + "px; color: " + sTextColor + "; Z-INDEX: 120; FONT-FAMILY: Verdana, Helvetica, sans-serif; FONT-WEIGHT: bold; FONT-SIZE: 14px; text-align: center; cursor:pointer; \"  onClick=\""  + sFunction + "\" >" + sText + "</span>";

			document.writeln (sHtml);


		}
		catch (er)
		{
			alert(er);
		}

	}



	function fSquare(xCenter, yCenter, iwidth, sColor)
	{

		try
		{

			var iTop=yCenter- iwidth;
			var iLeft=xCenter- iwidth;
			var izInd=100;
			var sHtml=""; 

			sHtml+= "<span style=\" Z-INDEX: " + izInd.toString(10) + "; position: absolute; BACKGROUND-COLOR: " + sColor + "; font-size: 1pt; HEIGHT: " + iwidth.toString(10) + "px; Top: " + iTop.toString(10) + "px; Left: " + iLeft.toString(10) + "px; WIDTH: " + iwidth.toString(10) + "px; \" ></span>";

			document.writeln (sHtml);


		}
		catch (er)
		{
			alert(er);
		}


		
	}

	function fRectangle(xCenter, yCenter, iHeight, iwidth, sColor)
	{

		try
		{

			var iTop=yCenter- (iHeight / 2);
			var iLeft=xCenter- (iwidth / 2);
			var izInd=100;
			var sHtml=""; 

			sHtml+= "<span style=\" Z-INDEX: " + izInd.toString(10) + "; position: absolute; BACKGROUND-COLOR: " + sColor + "; font-size: 1pt; HEIGHT: " + iHeight.toString(10) + "px; Top: " + iTop.toString(10) + "px; Left: " + iLeft.toString(10) + "px; WIDTH: " + iwidth.toString(10) + "px; \" ></span>";

			document.writeln (sHtml);


		}
		catch (er)
		{
			alert(er);
		}


		
	}

	function fRectangleButton(xCenter, yCenter, iHeight, iwidth, sColor, sText, sTextColor, sFunction)
	{

		try
		{

			var iTop=yCenter- (iHeight / 2);
			var iLeft=xCenter- (iwidth / 2);
			var izInd=100;
			var sHtml=""; 

			sHtml+= "<span style=\" Z-INDEX: " + izInd.toString(10) + "; position: absolute; BACKGROUND-COLOR: " + sColor + "; font-size: 1pt; HEIGHT: " + iHeight.toString(10) + "px; Top: " + iTop.toString(10) + "px; Left: " + iLeft.toString(10) + "px; cursor:pointer; WIDTH: " + iwidth.toString(10) + "px; \" ></span>";
			sHtml+= "<span style=\" position: absolute; text-align: center; top: " + (yCenter - 7).toString(10)  + "px; left: " + (iLeft + 2).toString(10)   +"px; width: " + (iwidth - 2).toString(10) + "px; color: " + sTextColor + "; Z-INDEX: 120; FONT-FAMILY: Verdana, Helvetica, sans-serif; FONT-WEIGHT: bold; FONT-SIZE: 12px; cursor:pointer; \"  onClick=\""  + sFunction + "\" >" + sText + "</span>";

			document.writeln (sHtml);


		}
		catch (er)
		{
			alert(er);
		}


		
	}


	function fRectangleNiceEdge(xCenter, yCenter, iHeight, iwidth, sColor)
	{

		try
		{

			var iTop=yCenter-  (iHeight / 2)  + 5 ;
			var iLeft=xCenter- (iwidth / 2) ;
			var izInd=100;
			var sHtml=""; 

			var iLoop = 0;
			var iRoundedTop= yCenter - (iHeight / 2);
			var iRoundedLeft = xCenter - (iwidth / 2) ;

			for (iLoop= 0; iLoop< 5; iLoop++)
			{

				sHtml+= "<span style=\" Z-INDEX: " + izInd.toString(10) + "; position: absolute; BACKGROUND-COLOR: " + sColor + "; font-size: 1pt; HEIGHT: 1px; Top: " + (iRoundedTop + iLoop).toString(10) + "px; Left: " + (iRoundedLeft + (5 - iLoop) ).toString(10) + "px; WIDTH: " + (iwidth - ((5 - iLoop) * 2) ).toString(10) + "px; \" ></span>";

			}


			sHtml+= "<span style=\" Z-INDEX: " + izInd.toString(10) + "; position: absolute; BACKGROUND-COLOR: " + sColor + "; font-size: 1pt; HEIGHT: " + iHeight.toString(10) + "px; Top: " + iTop.toString(10) + "px; Left: " + iLeft.toString(10) + "px; WIDTH: " + iwidth.toString(10) + "px; \" ></span>";


			var iRoundedTop= yCenter + (iHeight / 2) + 5;
			var iRoundedLeft = xCenter - (iwidth / 2) ;

			for (iLoop= 0; iLoop<= 5; iLoop++)
			{

				sHtml+= "<span style=\" Z-INDEX: " + izInd.toString(10) + "; position: absolute; BACKGROUND-COLOR: " + sColor + "; font-size: 1pt; HEIGHT: 1px; Top: " + (iRoundedTop + iLoop).toString(10) + "px; Left: " + (iRoundedLeft + iLoop ).toString(10) + "px; WIDTH: " + (iwidth - (iLoop * 2) ).toString(10) + "px; \" ></span>";

			}

			document.writeln (sHtml);


		}
		catch (er)
		{
			alert(er);
		}


		
	}


	function fProducts()
	{
		try
		{
			 window.open('http://www.complianceabc.com/products.asp', '_self');
		}
		catch (er)
		{
		}
	}

		function fService()
	{
		try
		{
			 window.open('Service.asp', '_self');
		}
		catch (er)
		{
		}
	}

		function fAbout()
	{
		try
		{
			 window.open('about.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fContact()
	{
		try
		{
			 window.open('contact.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fHome()
	{
		try
		{
			 window.open('default.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fAnalysis()
	{
		try
		{
			 window.open('analysis.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fSoftware()
	{
		try
		{
			 window.open('customsoftware.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fScopeCreep()
	{
		try
		{
			 window.open('scopecreep.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fExpert()
	{
		try
		{
			 window.open('expertwitness.asp', '_self');
		}
		catch (er)
		{
		}
	}


	function fOverview()
	{
		try
		{
			 window.open('qvOverview.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fTechnical()
	{
		try
		{
			 window.open('qvTechnical.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fSuccess()
	{
		try
		{
			 window.open('qvSuccessStories.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fOverviewBC()
	{
		try
		{
			 window.open('http://www.complianceabc.com/bcOverview.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fTechnicalBC()
	{
		try
		{
			 window.open('http://www.complianceabc.com/bcTechnical.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fStripesDemo()
	{
		try
		{
			 window.open('http://www.myphotoid.net/bcStripesDemo.aspx', '_self');
		}
		catch (er)
		{
		}
	}

	function fFriend()
	{
		try
		{
			 window.open('tellafriend.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fClient()
	{
		try
		{
			 window.open('customerlist.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fPhotoID()
	{
		try
		{
			 window.open('http://www.myphotoid.net/', '_self');
		}
		catch (er)
		{
		}
	}

	function fSiteMap()
	{
		try
		{
			 window.open('sitemap.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fDownloadQV()
	{
		try
		{
			 window.open('qvDownload.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function fDownloadBC()
	{
		try
		{
			 window.open('http://www.complianceabc.com/bcDownload.asp', '_self');
		}
		catch (er)
		{
		}
	}

	function feMail()
	{
		try
		{
			var username = "info";
			var hostname = "complianceabc.com";
			var linktext = "Info</";
			var sMSG = "<A href=" + "\"";
				sMSG+= "m" + "a" + "i" + "l" + "t" + "o" + ":" + username + "@" + hostname ;
				sMSG+= "?subject=Please send some information&body=";
				sMSG+= "Hi Tom, ";
				sMSG+= " &#10; ";
				sMSG+= "Would you please send some information regarding your products and services?  I can be reached at: Sincerely," + "\"";
				sMSG+= " >" + linktext + "A" + ">";
			document.write(sMSG);
			 
		}
		catch (er)
		{
		}
	}
