if (typeof BrowserDetect == "function") {
	if (BrowserDetect.OS == 'Mac') {
		var link = document.createElement('link');
		link.rel = 'stylesheet';
		link.type = 'text/css';
		link.href = 'stylesheets/mac.css';
		document.getElementsByTagName('head')[0].appendChild(link);
	}
}

$(function(){


	$('#header .search .text').bind('focus', function(){
		if ($(this).val() == 'SEARCH') $(this).val('');
	});
	$('#header .search .text').bind('blur', function(){
		if ($(this).val() == '') $(this).val('SEARCH');
	});

});
