window.addEvent('domready', function() {
    var so = new SWFObject("_flash/nov_800x300.swf", "sotester", "800", "300", "9");
    /*
    so.addVariable("FLASH_CONTACT_US", document.getElementById('FLASH_CONTACT_US').getAttribute('title'));
    
    so.addVariable("FLASH_ADD_TO_CART_MINI", document.getElementById('FLASH_ADD_TO_CART_MINI').getAttribute('title'));
    so.addVariable("FLASH_BUY_NOW_MINI", document.getElementById('FLASH_BUY_NOW_MINI').getAttribute('title'));
    so.addVariable("FLASH_MORE_INFO_MINI", document.getElementById('FLASH_MORE_INFO_MINI').getAttribute('title'));
    
    so.addVariable("FLASH_ADD_TO_CART_DUO", document.getElementById('FLASH_ADD_TO_CART_DUO').getAttribute('title'));
    so.addVariable("FLASH_BUY_NOW_DUO", document.getElementById('FLASH_BUY_NOW_DUO').getAttribute('title'));
    so.addVariable("FLASH_MORE_INFO_DUO", document.getElementById('FLASH_MORE_INFO_DUO').getAttribute('title'));
    
    so.addVariable("FLASH_ADD_TO_CART_TRIO", document.getElementById('FLASH_ADD_TO_CART_TRIO').getAttribute('title'));
    so.addVariable("FLASH_BUY_NOW_TRIO", document.getElementById('FLASH_BUY_NOW_TRIO').getAttribute('title'));
    so.addVariable("FLASH_MORE_INFO_TRIO", document.getElementById('FLASH_MORE_INFO_TRIO').getAttribute('title'));
    */
    
    so.addParam("wmode","transparent");
    so.write("flash-header");
});

function openMOOdalBox(url) {
	MOOdalBox.open( // case matters
	url+"", // the link URL
	"", // the caption (link's title) - can be blank
	"wizard" // width and height of the box - can be left blank
	);
}

function addFeatureToCart(url) {
	var img = new Image();
    img.src = url;
	updateCartAmount();
}