/*
 $(document).ready(function(){

	if(typeof sIFR == "function")
	{
		// This is the preferred "named argument" syntax
		sIFR.replaceElement(named({sSelector:"h1", sFlashSrc:"futura.swf", sColor:"#ffffff", sLinkColor:"#000000", sHoverColor:"#CCCCCC", nPaddingTop:0, nPaddingBottom:0, sWmode: 'transparent'}));
	}

	if(typeof sIFR == "function")
	{
		// This is the preferred "named argument" syntax
		sIFR.replaceElement(named({sSelector:"h3", sFlashSrc:"futura.swf", sColor:"#ffffff", sLinkColor:"#000000", sHoverColor:"#CCCCCC", nPaddingTop:0, nPaddingBottom:0, sWmode: 'transparent'}));
	}

});
*/


function checkout_validator(f)
{
	//if f.agree.checked=
	//alert(f.agree.checked);
	if (f.agree.checked || f.agree.checked=='true')
	{
		return true;
	}
	else
	{
		alert('Please agree to the terms and conditions.');
		return false;
	}
}


$(document).ready(function(){
	$('#flash-home').flash({
		src: '/assets/public/flash/fireplace-home-v1.swf',
		width: 520,
		height: 520,
		wmode: "opaque"
	},
	{
		version: 8
	});
});


// lightbox
$(function() {
        $('.box-pics-detail a').lightBox();
    });



////////// popup
/*
var profiles =
{
	windowCenter:
	{
		width:700,
		height:400,
		center:1,
		status:0,
		resizable:1,
		scrollbars:1
	}
};


$(function()
{
	$(".popupwindow").popupwindow(profiles);
});
*/