﻿//// function declares fonts for used with sIFR text
//var declareFonts = function() {
//    window.swf.newFont('totallyCustom',{
//				face: '/fonts/avenir-heavy.swf',                                                                                                       
//				textcolor: '#FF6600', linkcolor: '#000000', hovercolor: '#000000', offsetTop: 30, textalign: 'left',                                     
//				adjFontSize: '50px', adjLineHeight: '50px', adjLetterSpacing: 'auto', adjWordSpacing: 'auto'                                        
//	        });
//    // actual enfamil fonts
//    window.swf.newFont('nutrh1', { face: '/fonts/avenir-book.swf', textcolor: '#849648' });
//    window.swf.newFont('prodh1', { face: '/fonts/avenir-book.swf', textcolor: '#005691' });
//    window.swf.newFont('cert1', { face: '/fonts/avenir-book.swf', textcolor: '#90448b' });
//    window.swf.newFont('cal1', { face: '/fonts/avenir-book.swf', textcolor: '#96847b' });
//    window.swf.newFont('regist1', { face: '/fonts/avenir-book.swf', textcolor: '#333333' });
//    window.swf.newFont('supp1', { face: '/fonts/avenir-book.swf', textcolor: '#6a6a22' });
//    window.swf.newFont('feed1', { face: '/fonts/avenir-book.swf', textcolor: '#494431' });
//    window.swf.newFont('pop1', { face: '/fonts/avenir-book.swf', textcolor: '#533042' });
//
//}
//
//
//// site behaviour initialization sequence
//window.onload = function() {
//    // flash/sifr support
//    window.swf = new swfHandler();
//    declareFonts();
//    window.swf.setAll(9);
//}