//------------------- sIFR Config -------------------//
var officeSans = { src: 'http://www.thecompliancegroup.net/blog/wp-content/themes/tcg/media/officeSans.swf' };
var gothamBook = { src: 'http://www.thecompliancegroup.net/blog/wp-content/themes/tcg/media/gothamBook.swf' };

sIFR.useStyleCheck = true;
sIFR.activate(officeSans, gothamBook);

sIFR.replace(gothamBook, {
  selector: '.contentLarge h3',
  css: '.sIFR-root { color: #7d96b0; font-size: 12; letter-spacing: 2; text-transform: uppercase; }',
  transparent: true
});

sIFR.replace(gothamBook, {
  selector: '#sidebar h3',
  css: '.sIFR-root { color: #6b8e23; font-size: 12; letter-spacing: 2; text-transform: uppercase; }',
  transparent: true
});

sIFR.replace(gothamBook, {
  selector: '#aWeber h3',
  css: '.sIFR-root { color: #ffffff; font-size: 12; letter-spacing: 2; text-transform: uppercase; }',
  transparent: true
});

sIFR.replace(officeSans, {
  selector: '.contentLarge h4',
  css: [
		'.sIFR-root { color: #6b8e23; font-size: 24; }'
		,'a { color: #6b8e23; text-decoration: none; }'
		,'a:hover { color: #082354; text-decoration: underline; }'
		,'a:link { color: #6b8e23; }'
		],
  transparent: true
});

sIFR.replace(officeSans, {
  selector: '#sidebar h4',
  css: '.sIFR-root { color: #082354; font-size: 20; }',
  transparent: true
});

sIFR.replace(officeSans, {
  selector: '#aWeber h4',
  css: '.sIFR-root { color: #ffffff; font-size: 20; }',
  transparent: true
});

//------------------- for clearing and replacing text in form input fields and textareas -------------------//
function clearText(thefield) {
  if (thefield.defaultValue==thefield.value) { thefield.value = "" }
} 
function replaceText(thefield) {
  if (thefield.value=="") { thefield.value = thefield.defaultValue }
}