
//*****************************************************************************
// Java Script to add a copyright notice to a page with settable parameters.
// Function: Copyright()
//
// Receives: UseColor - 1 = Use the color field else use default color for page.
// 			 ColorVal - When UseColor = 1 then this is the color to use for text.
//			 bigSize - The number of times to increase the text size.
//			 hrLine - 1 = Display a hr line.
//
// Adding this file to the html document:
// 		   <script language="JavaScript" src="../images/copyright.js">
//  	   </script>
//
// Calling the function:
// 		<script language="JavaScript">
// 		<!-- Hide from old browsers.
// 		// Add copyright notice to page.
//		Copyright(1, "#ff0090", 2, 1);
//		-->
//		<script>
//		<!-- This line is to display the copyright notice on old browsers. -->
//		<!--//--><center><b>Copyright © Microsystem Technologies</b></center>
//		</script>   
//*****************************************************************************

  // Add copyright notice function.
  function Copyright(UseColor, ColorVal, bigSize, hrLine)
  {  
	  curdate = new Date();
	  	  	  
	  // Size the text based on input.
	  for(i = 0; i < bigSize; i++)
	  	   	  document.write("<big>");	  
	  	  
	  // If color is used then add the font color information.
	  if(UseColor) document.write("<b><font FACE='Trebuchet MS Italic, Times New Roman' color=" + ColorVal + ">");
	  
	  // Add horz line if enabled.
	  if(hrLine)
	  {
	  		if(UseColor) document.write("<hr size='4' width='100%' noshade='noshade' color=" + ColorVal + ">");
			else document.write("<hr size='4' width='100%' noshade='noshade' color=>");
	  }
	  	  
	// Add the copyright notice.
	document.write("<center>Copyright <FONT FACE='arial'><B>©</B></FONT> ");
	if(curdate.getFullYear() != 2007)
		document.write(" 2007 - " + curdate.getFullYear());
	else
		document.write(" " + curdate.getFullYear());
	document.write(" BelieveInJesus.net");
	  
	  // Add all ending tags.	  
	  if(UseColor) document.write("</center></font></b>");
	  for(i = 0; i < bigSize; i++)
	  	   	  document.write("</big>");	  
}
  
   

