﻿
// Bit of a fudge this but in IE object tags are now displaying a message "Click to Activate" 
// all down to MS changing how IE handles these tags
// So now using a script to write out the tag
// Script obtained from http://www.leveltendesign.com/blog/web-development/by-chrisr/click-to-activate/


function embedObject() {
	document.write('<object id=\"FlashBanner\" data=\"http://www.kyria.co.uk/flash/flash_banner.swf\" type=\"application/x-shockwave-flash\">' +
	'				<param name=\"movie\" value=\"http://www.kyria.co.uk/flash/flash_banner.swf\" />' +
	'				<img id=\"StaticBanner\" src=\"http://www.kyria.co.uk/images/logos/no_flash.jpg\" alt=\"Kyria logo\" width=\"800\" height=\"96\" /> ' +
	'			</object>');

}

// execute!
embedObject();

