var myfont = {src: '/layoutimages/font.swf'};

sIFR.prefetch(myfont);
sIFR.activate();

sIFR.replace(myfont, {
	selector	: '#home_text h1',
	css			: {
		'.sIFR-root': {
			'background-color'	: '#FFFFFF',
			'color'				: '#43300b',
			'font-weight'		: 'normal',
			'font-size'			: '36px',
			'leading'			: '-7',
			'kerning'			: 'true'
		}
	}
});

sIFR.replace(myfont, {
	selector	: '#main_column h1',
	css			: {
		'.sIFR-root': {
			'background-color'	: '#FFFFFF',
			'color'				: '#43300b',
			'font-weight'		: 'normal',
			'font-size'			: '36px',
			'leading'			: '-4',
			'kerning'			: 'true'
		}
	}
});

sIFR.replace(myfont, {
	selector	: 'h3',
	css			: {
		'.sIFR-root': {
			'background-color'	: '#FFFFFF',
			'color'				: '#43300b',
			'font-weight'		: 'normal',
			'leading'			: '-4',
			'kerning'			: 'true'
		}
	}
});

// JS form empty/colorchange on enter
function input_switch(obj, text, state){
	if (state == 'enter'){
		if (obj.value == text){
			obj.value = '';
		}
		obj.style.color = '#333';
	}
	if (state == 'exit'){
		if (obj.value == '' || obj.value == text){
			obj.value = text;
			obj.style.color = '#999';
		}
	}
}
