//----------------------------------------------------------------------------------
// Author: Richard Chong
// Company: dmwcreative
// Created: 02/05/07
// Name: Internet Explorer Flash (Click here to activate) Fix
// Description: This script fixes the "Click here to activate" message on IE 
//----------------------------------------------------------------------------------


	// JavaScript Document
	var swf_path = "images/members_1a.swf";
	var swf_width = "430";
	var swf_height = "280";
	var embedswf = "";
	var swf_id = swf_path.substring(0, (swf_path.length-4));
	embedswf += '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"';
	embedswf += 'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"';
	embedswf += 'width="'+swf_width+'" height="'+swf_height+'" id="'+swf_id+'" align="middle">';
	embedswf += '<param name="allowScriptAccess" value="sameDomain" />';
	embedswf += '<param name="movie" value="'+swf_path+'" />';
	embedswf += '<param name="quality" value="high" />';
	embedswf += '<param name="wmode" value="transparent" />';
	embedswf += '<param name="bgcolor" value="#ffffff" />';
	embedswf += '<embed src="'+swf_path+'"';
	embedswf += 'quality="high"';
	embedswf += 'wmode="transparent"';
	embedswf += 'bgcolor="#ffffff"';
	embedswf += 'width="'+swf_width+'"';
	embedswf += 'height="'+swf_height+'"';
	embedswf += 'name="'+swf_id+'"';
	embedswf += 'align="middle"';
	embedswf += 'allowscriptaccess="sameDomain"';
	embedswf += 'type="application/x-shockwave-flash"';
	embedswf += 'pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	embedswf += '</object>';
	//Now output the Flash embedding
	document.write(embedswf);