function getCSSRule(ruleName, deleteFlag) {               // Return requested style obejct
	ruleName=ruleName.toLowerCase();                       // Convert test string to lower case.
	if (document.styleSheets) {                            // If browser can play with stylesheets
      for (var i=0; i<document.styleSheets.length; i++) { // For each stylesheet
		var styleSheet=document.styleSheets[i];          // Get the current Stylesheet
		var ii=0;                                        // Initialize subCounter.
		var cssRule=false;                               // Initialize cssRule. 
		do {                                             // For each rule in stylesheet
		  if (styleSheet.cssRules) {                    // Browser uses cssRules?
			cssRule = styleSheet.cssRules[ii];         // Yes --Mozilla Style
		  } else {                                      // Browser usses rules?
			cssRule = styleSheet.rules[ii];            // Yes IE style. 
		  }                                             // End IE check.
		  if (cssRule)  {                               // If we found a rule...
			if (cssRule.selectorText.toLowerCase()==ruleName) { //  match ruleName?
			  return cssRule;                      // return the style object.
			}                                          // End found rule name
		  }                                             // end found cssRule
		  ii++;                                         // Increment sub-counter
		} while (cssRule)                                // end While loop
      }                                                   // end For loop
	}                                                      // end styleSheet ability check
	return false;
  }
  
  function addCSSRule(ruleName) {                           // Create a new css rule
	if (document.styleSheets) {                            // Can browser do styleSheets?                      // if rule doesn't exist...
	  if (document.styleSheets[0].addRule) {           		// Browser is IE?
		document.styleSheets[0].addRule(ruleName, null,0);      // Yes, add IE style
	  } else {                                         			// Browser is IE?
		document.styleSheets[0].insertRule(ruleName+' { }', 0); // Yes, add Moz style.
	  }                                                			// End browser check                                               // End already exist check.
	}                                                      		// End browser ability check.
	return getCSSRule(ruleName);                           		// return rule we just created.
  } 
  var BL_quote_content = addCSSRule('.BL_quote_content');
  BL_quote_content.style.fontFamily = 'Bookman Old Style';
  BL_quote_content.style.fontSize = '1.4em';
  BL_quote_content.style.fontStyle = 'italic';
  BL_quote_content.style.color = '#900';
  BL_quote_content.style.fontWeight = 'bold';
   
  var BL_quote_header = addCSSRule('.BL_quote_header');
  BL_quote_header.style.fontWeight = 'bold';
  BL_quote_header.style.fontSize = '1.2em';

  var BL_quote_author = addCSSRule('.BL_quote_author');
  BL_quote_author.style.fontSize = '1em';
  BL_quote_author.style.lineHeight = '2em';
  BL_quote_author.style.textAlign = 'right';
  var br=document;
  br.writeln("<p><a target=\'_blank\' class=\"BL_quote_header\" href=http://www.better-life.4utoc.com/Quotes/>Quote of the Day</a></p>");
  br.writeln("<dl>");
  br.writeln("<dt class=\"BL_quote_content\">After thirty, a body has a mind of its own.</dt>");

  br.writeln("<dd class=\"BL_quote_author\"><a target=\'_blank\' href=http://www.better-life.4utoc.com/Quotes/search_by_author.php?AuthID=299>by: Bette Midler</a></dd>");
  br.writeln("</dl>");
  br.writeln("<span class=\"BL_quote_footer\">Find more quotes <a target=\'_blank\' href=http://www.better-life.4utoc.com/Quotes/>at Quotes Central</a></span>");
  
