/* Fix IE 6 Border Around Embedded Elements
   Creation: 24/08/06
   Author: Andrew Mason
   Contact: monitor@oakbase.co.uk
*/

/* The function write the same code that 'would' be embedded but cause the ugly border in IE. Dynamicly 
writing the code using javascript bypasses IE's detection and solves the problem */
function addFlash()
{
	document.write('<object type="application/x-shockwave-flash" data="flash/homepage_fader.swf" width="423" height="250">\n');
	document.write('<param name="movie" value="flash/homepage_fader.swf" />\n');
	document.write('<param name="wmode" value="transparent" />\n');
	//document.write('<img src="uploads/houses_1_strip.jpg" alt="House" width="423" height="250" border="0" />\n');
	document.write('</object>\n');
	document.write('<span class="overlay_top"></span>\n');
}