var garamond = { src: '/swf/georgia.swf' };
var helveticaneue = { src: '/swf/helveticaneue.swf' };
//Next, activate sIFR:
sIFR.activate(garamond);
sIFR.activate(helveticaneue);
// sifr

$(document).ready(function(){
	sIFR.replace(garamond, {
	selector: '#menu li',	
	wmode:'transparent',
	forceSingleLine:true,
	tuneWidth:2,
	css: '.sIFR-root { font-size:18px; color:#453e34; } a {text-decoration:none;color:#453e34} a:link {color:#453e34;} a:hover {color:#000000;}'
	});
	
	sIFR.replace(garamond, {
	selector: '#content h2',	
	wmode:'transparent',
	forceSingleLine:true,
	css: '.sIFR-root { font-size:24px; color:#917D5F; } a {text-decoration:none;color:#453e34} a:link {color:#453e34;} a:hover {color:#000000;}'
	});
	
	sIFR.replace(garamond, {
	selector: '.frontpagelistings h4',	
	wmode:'transparent',
	forceSingleLine:true,
	css: '.sIFR-root { font-size:20px; color:#517891; } a {text-decoration:none;color:#517891} a:link {color:#517891;} a:hover {color:#343E45;}'
	});
	
	sIFR.replace(helveticaneue, {
	selector: '.frontpageaddress',	
	wmode:'transparent',
	css: '.sIFR-root { font-size:14px; color:#453e34; } a {text-decoration:none;color:#453e34} a:link {color:#453e34;} a:hover {color:#517891; text-decoration:underline;}'
	});
	
	
	sIFR.replace(garamond, {
	selector: 'h4.price',	
	wmode:'transparent',
	forceSingleLine:true,
	css: '.sIFR-root { font-size:24px; color:#517891; } a {text-decoration:none;color:#517891} a:link {color:#517891;} a:hover {color:#343E45;}'
	});
	
	sIFR.replace(helveticaneue, {
	selector: '.listingaddress',	
	wmode:'transparent',
	css: '.sIFR-root { font-size:16px; color:#453e34; } a {text-decoration:none;color:#453e34} a:link {color:#453e34;} a:hover {color:#517891; text-decoration:underline;}'
	});
		
	$('#menubar').children('li').hover(
	function (){
		$(this).addClass('activemenu');
	},
	function (){
		$(this).removeClass('activemenu');
	}
	);
	
	$('.listing_image_flash').fadeTo(1000,0.0);
	
	$('.listing_image').hover(
	function(){
	$(this).find('.listing_image_flash').fadeTo(50, 0.5,function(){$(this).fadeTo(500, 0.0)});
	}, 
	function(){ return false;}
	);
	
	
	Shadowbox.init({players:["img","html","iframe"]});

	

});



