/*
	Instances of flash on the site to be placed in this 
	file. When the div is detected it will insert the 
	flash in.
	
 -	Dependances 
		jQuery core
		jQuery SWFObject Plugin
 - 	Would really love to have a flash version check with 
	alternative content, but it seems that this version 
	(jQuery) of the SWFObject doesnt seems to support it.

*/

$(document).ready(function() {
	
	// Flash banner for the about us page
	var flash_div = "#harlys_angels";
	if($(flash_div).length > 0 ){
		$(flash_div).flash( isc_shop_path + '/static/workv1.swf', {
			width: 760, 
			height: 400, 
			flashvars: {
				path: isc_shop_path + '/static'
			}
		});
	}
	
	// Flash banner for the home page
	flash_div = "#home_page_flash";
	if($(flash_div).length > 0 ){
		$(flash_div).flash( isc_shop_path + '/images/harleyStub.swf', {width: 766, height: 302});
	}

	// Flash banner for the home page
	flash_div = "#proud";
	if($(flash_div).length > 0 ){
		$(flash_div).flash( isc_shop_path + '/static/proud.swf', {
			width: 164, 
			height: 161,
			paremeters: {
				wmode: 'transparent', 
				id: flash_div 
			}, 
			flashvars: {
				path: isc_shop_path + '/static'
			}
		});
	}
});