<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Free Web Templates</title>
	<atom:link href="http://www.freewebsitetemplatedownloads.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.freewebsitetemplatedownloads.co.uk</link>
	<description></description>
	<pubDate>Tue, 11 Nov 2008 17:29:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Super Silver CSS Template</title>
		<link>http://www.freewebsitetemplatedownloads.co.uk/website-templates/super-silver-css-template/</link>
		<comments>http://www.freewebsitetemplatedownloads.co.uk/website-templates/super-silver-css-template/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 17:20:43 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[Website Templates]]></category>

		<guid isPermaLink="false">http://www.freewebsitetemplatedownloads.co.uk/?p=99</guid>
		<description><![CDATA[A surreal and abstract template design with a range of editable headers and text columns.

Preview &#124; Download
]]></description>
			<content:encoded><![CDATA[<p>A surreal and abstract template design with a range of editable headers and text columns.</p>
<p><img class="alignnone size-full wp-image-100" title="supersilvertemplate" src="http://www.freewebsitetemplatedownloads.co.uk/wp-content/uploads/2008/11/supersilvertemplate.jpg" alt="" width="500" height="262" /></p>
<p><a title="preview" href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/supersilver/" target="_blank">Preview</a> | <a title="download" href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/supersilver/supersilver.zip" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freewebsitetemplatedownloads.co.uk/website-templates/super-silver-css-template/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Purple Haze CSS Template</title>
		<link>http://www.freewebsitetemplatedownloads.co.uk/website-templates/purple-haze-css-template/</link>
		<comments>http://www.freewebsitetemplatedownloads.co.uk/website-templates/purple-haze-css-template/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 12:01:18 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[Website Templates]]></category>

		<guid isPermaLink="false">http://www.freewebsitetemplatedownloads.co.uk/?p=84</guid>
		<description><![CDATA[An elegant and simple template with editable text headers.

Preview &#124; Download
]]></description>
			<content:encoded><![CDATA[<p>An elegant and simple template with editable text headers.</p>
<p><img class="alignnone size-full wp-image-85" title="purplehazescreenshot" src="http://www.freewebsitetemplatedownloads.co.uk/wp-content/uploads/2008/11/purplehazescreenshot.jpg" alt="" width="500" height="261" /></p>
<p><a href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/purplehaze/" target="_blank">Preview</a> | <a title="download" href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/purplehaze/purpletemplate.zip" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freewebsitetemplatedownloads.co.uk/website-templates/purple-haze-css-template/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Techlines CSS Template</title>
		<link>http://www.freewebsitetemplatedownloads.co.uk/website-templates/techlines-css-template/</link>
		<comments>http://www.freewebsitetemplatedownloads.co.uk/website-templates/techlines-css-template/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 09:20:22 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[Website Templates]]></category>

		<guid isPermaLink="false">http://www.freewebsitetemplatedownloads.co.uk/?p=69</guid>
		<description><![CDATA[A modern and futuristic style template with editable text regions.

Preview &#124; Download
]]></description>
			<content:encoded><![CDATA[<p>A modern and futuristic style template with editable text regions.</p>
<p><img class="alignnone size-full wp-image-71" title="techlinestemplate" src="http://www.freewebsitetemplatedownloads.co.uk/wp-content/uploads/2008/11/techlinestemplate.jpg" alt="" width="500" height="262" /></p>
<p><a href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/techlines" target="_blank">Preview</a> | <a href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/techlines/techlines.zip" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freewebsitetemplatedownloads.co.uk/website-templates/techlines-css-template/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Orange CSS Template</title>
		<link>http://www.freewebsitetemplatedownloads.co.uk/website-templates/orange-css-template/</link>
		<comments>http://www.freewebsitetemplatedownloads.co.uk/website-templates/orange-css-template/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 13:47:48 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[Website Templates]]></category>

		<guid isPermaLink="false">http://www.freewebsitetemplatedownloads.co.uk/?p=59</guid>
		<description><![CDATA[A bright and stylish template with editable text regions.

Preview &#124; Download
]]></description>
			<content:encoded><![CDATA[<p>A bright and stylish template with editable text regions.</p>
<p><img class="alignnone size-full wp-image-60" title="orangetemplate" src="http://www.freewebsitetemplatedownloads.co.uk/wp-content/uploads/2008/10/orangetemplate.jpg" alt="" width="500" height="262" /></p>
<p><a href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/orange" target="_blank">Preview</a> | <a href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/orange/orange.zip" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freewebsitetemplatedownloads.co.uk/website-templates/orange-css-template/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Marina CSS Template</title>
		<link>http://www.freewebsitetemplatedownloads.co.uk/website-templates/marina-css-template/</link>
		<comments>http://www.freewebsitetemplatedownloads.co.uk/website-templates/marina-css-template/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 13:03:52 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[Website Templates]]></category>

		<guid isPermaLink="false">http://www.freewebsitetemplatedownloads.co.uk/?p=47</guid>
		<description><![CDATA[A simple and effective template layout with editable headers and text.

Preview &#124; Download
]]></description>
			<content:encoded><![CDATA[<p>A simple and effective template layout with editable headers and text.</p>
<p><img class="alignnone size-full wp-image-49" title="marinatemplate" src="http://www.freewebsitetemplatedownloads.co.uk/wp-content/uploads/2008/10/marinatemplate.jpg" alt="" width="500" height="262" /></p>
<p><a title="preview" href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/marina/" target="_blank">Preview</a> | <a title="marina" href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/marina/marina.zip" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freewebsitetemplatedownloads.co.uk/website-templates/marina-css-template/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Blue CSS Template</title>
		<link>http://www.freewebsitetemplatedownloads.co.uk/website-templates/blue-css-template/</link>
		<comments>http://www.freewebsitetemplatedownloads.co.uk/website-templates/blue-css-template/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 12:47:31 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[Website Templates]]></category>

		<category><![CDATA[Add new tag]]></category>

		<guid isPermaLink="false">http://www.freewebsitetemplatedownloads.co.uk/?p=41</guid>
		<description><![CDATA[A clean and effective layout with editable headers and sub-headers.

Preview &#124; Download
]]></description>
			<content:encoded><![CDATA[<p>A clean and effective layout with editable headers and sub-headers.</p>
<p><img class="alignnone size-full wp-image-42" title="bluetemplate" src="http://www.freewebsitetemplatedownloads.co.uk/wp-content/uploads/2008/10/bluetemplate.jpg" alt="" width="500" height="262" /></p>
<p><a title="preview" href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/blue" target="_blank">Preview</a> | <a title="Download" href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/blue/blue.zip" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freewebsitetemplatedownloads.co.uk/website-templates/blue-css-template/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Soylent Green CSS Template</title>
		<link>http://www.freewebsitetemplatedownloads.co.uk/website-templates/soylent-green-css-template/</link>
		<comments>http://www.freewebsitetemplatedownloads.co.uk/website-templates/soylent-green-css-template/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 10:53:47 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[Website Templates]]></category>

		<guid isPermaLink="false">http://www.freewebsitetemplatedownloads.co.uk/?p=31</guid>
		<description><![CDATA[A modern-looking template with a rich green style which could be suitable for a range of applications.

Preview &#124; Download
]]></description>
			<content:encoded><![CDATA[<p>A modern-looking template with a rich green style which could be suitable for a range of applications.</p>
<p><img class="alignnone size-full wp-image-32" title="screenshot" src="http://www.freewebsitetemplatedownloads.co.uk/wp-content/uploads/2008/10/screenshot.jpg" alt="" width="500" height="262" /></p>
<p><a title="soylentgreen" href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/soylentgreen/" target="_blank">Preview</a> | <a title="download" href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/soylentgreen/soylentgreen.zip">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freewebsitetemplatedownloads.co.uk/website-templates/soylent-green-css-template/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Red CSS Template</title>
		<link>http://www.freewebsitetemplatedownloads.co.uk/website-templates/red-css-template/</link>
		<comments>http://www.freewebsitetemplatedownloads.co.uk/website-templates/red-css-template/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 11:33:22 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[Website Templates]]></category>

		<guid isPermaLink="false">http://www.freewebsitetemplatedownloads.co.uk/templates/?p=17</guid>
		<description><![CDATA[With Horizontal Navigation allowing up to 4 pages, Two Column CSS main content area for information. A simple editable header and footer are also included.

Preview &#124; Download
]]></description>
			<content:encoded><![CDATA[<p class="para">With Horizontal Navigation allowing up to 4 pages, Two Column CSS main content area for information. A simple editable header and footer are also included.</p>
<p class="para"><img class="alignnone size-full wp-image-36" title="redtemplate" src="http://www.freewebsitetemplatedownloads.co.uk/wp-content/uploads/2008/10/redtemplate.jpg" alt="" width="500" height="262" /></p>
<p><a title="preview" href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/Red/" target="_blank">Preview</a> | <a title="download" href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/Red/Red.zip" target="_blank">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freewebsitetemplatedownloads.co.uk/website-templates/red-css-template/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Limey CSS Template</title>
		<link>http://www.freewebsitetemplatedownloads.co.uk/website-templates/limey-css-template/</link>
		<comments>http://www.freewebsitetemplatedownloads.co.uk/website-templates/limey-css-template/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 11:17:54 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[Website Templates]]></category>

		<guid isPermaLink="false">http://www.freewebsitetemplatedownloads.co.uk/templates/?p=15</guid>
		<description><![CDATA[The Limey template is simple and easy to use. With navigation in the header and footer as well as a two coloumn content area. Speacial features include scrollable speech bubble.

Preview &#124; Download
]]></description>
			<content:encoded><![CDATA[<p class="para">The Limey template is simple and easy to use. With navigation in the header and footer as well as a two coloumn content area. Speacial features include scrollable speech bubble.</p>
<p class="para"><img class="alignnone size-full wp-image-38" title="limeytemplate" src="http://www.freewebsitetemplatedownloads.co.uk/wp-content/uploads/2008/10/limeytemplate.jpg" alt="" width="500" height="262" /><br />
<a title="preview" href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/Limey/">Preview</a> | <a title="download" href="http://www.freewebsitetemplatedownloads.co.uk/free-templates/limey/limey.zip">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freewebsitetemplatedownloads.co.uk/website-templates/limey-css-template/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flash Embedded with Div Classes</title>
		<link>http://www.freewebsitetemplatedownloads.co.uk/javascript-scripts/flash-embedded-with-div-classes/</link>
		<comments>http://www.freewebsitetemplatedownloads.co.uk/javascript-scripts/flash-embedded-with-div-classes/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 16:54:15 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[JavaScript Scripts]]></category>

		<guid isPermaLink="false">http://www.freewebsitetemplatedownloads.co.uk/templates/?p=7</guid>
		<description><![CDATA[Embedding flash scripts on your website is much more search engine friendly if the the amount of script in the HTML can be cut down.

First create a file and call it flash.js. 
Copy the code from below and paste it into the flash file.




var UFO = {
req: ["movie", "width", "height", "majorversion", "build"],
opt: ["play", "loop", "menu", [...]]]></description>
			<content:encoded><![CDATA[<p>Embedding flash scripts on your website is much more search engine friendly if the the amount of script in the HTML can be cut down.</p>
<ul>
<li>First create a file and call it <em>flash.js. </em></li>
<li>Copy the code from below and paste it into the flash file.</li>
</ul>
<table style="border:solid 1px #cccccc; background-color:#333333" border="0" cellpadding="10" width="100%" align="center">
<tbody>
<tr>
<td>var UFO = {<br />
req: ["movie", "width", "height", "majorversion", "build"],<br />
opt: ["play", "loop", "menu", "quality", "scale", "salign", "wmode", "bgcolor", "base", "flashvars", "devicefont", "allowscriptaccess", "seamlesstabbing", "allowfullscreen", "allownetworking"],<br />
optAtt: ["id", "name", "align"],<br />
optExc: ["swliveconnect"],<br />
ximovie: &#8220;SEO.swf&#8221;,<br />
xiwidth: &#8220;215&#8243;,<br />
xiheight: &#8220;138&#8243;,<br />
ua: navigator.userAgent.toLowerCase(),<br />
pluginType: &#8220;&#8221;,<br />
fv: [0,0],<br />
foList: [],</p>
<p>create: function(FO, id) {<br />
if (!UFO.uaHas(&#8221;w3cdom&#8221;) || UFO.uaHas(&#8221;ieMac&#8221;)) return;<br />
UFO.getFlashVersion();<br />
UFO.foList[id] = UFO.updateFO(FO);<br />
UFO.createCSS(&#8221;#&#8221; + id, &#8220;visibility:hidden;&#8221;);<br />
UFO.domLoad(id);<br />
}, updateFO: function(FO) {<br />
if (typeof FO.xi != &#8220;undefined&#8221; &amp;&amp; FO.xi == &#8220;true&#8221;) {<br />
if (typeof FO.ximovie == &#8220;undefined&#8221;) FO.ximovie = UFO.ximovie;<br />
if (typeof FO.xiwidth == &#8220;undefined&#8221;) FO.xiwidth = UFO.xiwidth;<br />
if (typeof FO.xiheight == &#8220;undefined&#8221;) FO.xiheight = UFO.xiheight;<br />
}<br />
FO.mainCalled = false;<br />
return FO;<br />
},</p>
<p>domLoad: function(id) {<br />
var _t = setInterval(function() {<br />
if ((document.getElementsByTagName(&#8221;body&#8221;)[0] != null || document.body != null) &amp;&amp; document.getElementById(id) != null) {<br />
UFO.main(id);<br />
clearInterval(_t);<br />
}<br />
}, 250);<br />
if (typeof document.addEventListener != &#8220;undefined&#8221;) {<br />
document.addEventListener(&#8221;DOMContentLoaded&#8221;, function() { UFO.main(id); clearInterval(_t); } , null); // Gecko, Opera 9+<br />
}<br />
},</p>
<p>main: function(id) {<br />
var _fo = UFO.foList[id];<br />
if (_fo.mainCalled) return;<br />
UFO.foList[id].mainCalled = true;<br />
document.getElementById(id).style.visibility = &#8220;hidden&#8221;;<br />
if (UFO.hasRequired(id)) {<br />
if (UFO.hasFlashVersion(parseInt(_fo.majorversion, 10), parseInt(_fo.build, 10))) {<br />
if (typeof _fo.setcontainercss != &#8220;undefined&#8221; &amp;&amp; _fo.setcontainercss == &#8220;true&#8221;) UFO.setContainerCSS(id);<br />
UFO.writeSWF(id);<br />
}<br />
else if (_fo.xi == &#8220;true&#8221; &amp;&amp; UFO.hasFlashVersion(6, 65)) {<br />
UFO.createDialog(id);<br />
}<br />
}<br />
document.getElementById(id).style.visibility = &#8220;visible&#8221;;<br />
},</p>
<p>createCSS: function(selector, declaration) {<br />
var _h = document.getElementsByTagName(&#8221;head&#8221;)[0];<br />
var _s = UFO.createElement(&#8221;style&#8221;);<br />
if (!UFO.uaHas(&#8221;ieWin&#8221;)) _s.appendChild(document.createTextNode(selector + &#8221; {&#8221; + declaration + &#8220;}&#8221;)); // bugs in IE/Win<br />
_s.setAttribute(&#8221;type&#8221;, &#8220;text/css&#8221;);<br />
_s.setAttribute(&#8221;media&#8221;, &#8220;screen&#8221;);<br />
_h.appendChild(_s);<br />
if (UFO.uaHas(&#8221;ieWin&#8221;) &amp;&amp; document.styleSheets &amp;&amp; document.styleSheets.length &gt; 0) {<br />
var _ls = document.styleSheets[document.styleSheets.length - 1];<br />
if (typeof _ls.addRule == &#8220;object&#8221;) _ls.addRule(selector, declaration);<br />
}<br />
},</p>
<p>setContainerCSS: function(id) {<br />
var _fo = UFO.foList[id];<br />
var _w = /%/.test(_fo.width) ? &#8220;&#8221; : &#8220;px&#8221;;<br />
var _h = /%/.test(_fo.height) ? &#8220;&#8221; : &#8220;px&#8221;;<br />
UFO.createCSS(&#8221;#&#8221; + id, &#8220;width:&#8221; + _fo.width + _w +&#8221;; height:&#8221; + _fo.height + _h +&#8221;;&#8221;);<br />
if (_fo.width == &#8220;100%&#8221;) {<br />
UFO.createCSS(&#8221;body&#8221;, &#8220;margin-left:0; margin-right:0; padding-left:0; padding-right:0;&#8221;);<br />
}<br />
if (_fo.height == &#8220;100%&#8221;) {<br />
UFO.createCSS(&#8221;html&#8221;, &#8220;height:100%; overflow:hidden;&#8221;);<br />
UFO.createCSS(&#8221;body&#8221;, &#8220;margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0; height:100%;&#8221;);<br />
}<br />
},</p>
<p>createElement: function(el) {<br />
return (UFO.uaHas(&#8221;xml&#8221;) &amp;&amp; typeof document.createElementNS != &#8220;undefined&#8221;) ? document.createElementNS(&#8221;http://www.w3.org/1999/xhtml&#8221;, el) : document.createElement(el);<br />
},</p>
<p>createObjParam: function(el, aName, aValue) {<br />
var _p = UFO.createElement(&#8221;param&#8221;);<br />
_p.setAttribute(&#8221;name&#8221;, aName);<br />
_p.setAttribute(&#8221;value&#8221;, aValue);<br />
el.appendChild(_p);<br />
},</p>
<p>uaHas: function(ft) {<br />
var _u = UFO.ua;<br />
switch(ft) {<br />
case &#8220;w3cdom&#8221;:<br />
return (typeof document.getElementById != &#8220;undefined&#8221; &amp;&amp; typeof document.getElementsByTagName != &#8220;undefined&#8221; &amp;&amp; (typeof document.createElement != &#8220;undefined&#8221; || typeof document.createElementNS != &#8220;undefined&#8221;));<br />
case &#8220;xml&#8221;:<br />
var _m = document.getElementsByTagName(&#8221;meta&#8221;);<br />
var _l = _m.length;<br />
for (var i = 0; i &lt; _l; i++) {<br />
if (/content-type/i.test(_m[i].getAttribute(&#8221;http-equiv&#8221;)) &amp;&amp; /xml/i.test(_m[i].getAttribute(&#8221;content&#8221;))) return true;<br />
}<br />
return false;<br />
case &#8220;ieMac&#8221;:<br />
return /msie/.test(_u) &amp;&amp; !/opera/.test(_u) &amp;&amp; /mac/.test(_u);<br />
case &#8220;ieWin&#8221;:<br />
return /msie/.test(_u) &amp;&amp; !/opera/.test(_u) &amp;&amp; /win/.test(_u);<br />
case &#8220;gecko&#8221;:<br />
return /gecko/.test(_u) &amp;&amp; !/applewebkit/.test(_u);<br />
case &#8220;opera&#8221;:<br />
return /opera/.test(_u);<br />
case &#8220;safari&#8221;:<br />
return /applewebkit/.test(_u);<br />
default:<br />
return false;<br />
}<br />
},</p>
<p>getFlashVersion: function() {<br />
if (UFO.fv[0] != 0) return;<br />
if (navigator.plugins &amp;&amp; typeof navigator.plugins["Shockwave Flash"] == &#8220;object&#8221;) {<br />
UFO.pluginType = &#8220;npapi&#8221;;<br />
var _d = navigator.plugins["Shockwave Flash"].description;<br />
if (typeof _d != &#8220;undefined&#8221;) {<br />
_d = _d.replace(/^.*\s+(\S+\s+\S+$)/, &#8220;$1&#8243;);<br />
var _m = parseInt(_d.replace(/^(.*)\..*$/, &#8220;$1&#8243;), 10);<br />
var _r = /r/.test(_d) ? parseInt(_d.replace(/^.*r(.*)$/, &#8220;$1&#8243;), 10) : 0;<br />
UFO.fv = [_m, _r];<br />
}<br />
}<br />
else if (window.ActiveXObject) {<br />
UFO.pluginType = &#8220;ax&#8221;;<br />
try { // avoid fp 6 crashes<br />
var _a = new ActiveXObject(&#8221;ShockwaveFlash.ShockwaveFlash.7&#8243;);<br />
}<br />
catch(e) {<br />
try {<br />
var _a = new ActiveXObject(&#8221;ShockwaveFlash.ShockwaveFlash.6&#8243;);<br />
UFO.fv = [6, 0];<br />
_a.AllowScriptAccess = &#8220;always&#8221;; // throws if fp &lt; 6.47<br />
}<br />
catch(e) {<br />
if (UFO.fv[0] == 6) return;<br />
}<br />
try {<br />
var _a = new ActiveXObject(&#8221;ShockwaveFlash.ShockwaveFlash&#8221;);<br />
}<br />
catch(e) {}<br />
}<br />
if (typeof _a == &#8220;object&#8221;) {<br />
var _d = _a.GetVariable(&#8221;$version&#8221;); // bugs in fp 6.21/6.23<br />
if (typeof _d != &#8220;undefined&#8221;) {<br />
_d = _d.replace(/^\S+\s+(.*)$/, &#8220;$1&#8243;).split(&#8221;,&#8221;);<br />
UFO.fv = [parseInt(_d[0], 10), parseInt(_d[2], 10)];<br />
}<br />
}<br />
}<br />
},</p>
<p>hasRequired: function(id) {<br />
var _l = UFO.req.length;<br />
for (var i = 0; i &lt; _l; i++) {<br />
if (typeof UFO.foList[id][UFO.req[i]] == &#8220;undefined&#8221;) return false;<br />
}<br />
return true;<br />
},</p>
<p>hasFlashVersion: function(major, release) {<br />
return (UFO.fv[0] &gt; major || (UFO.fv[0] == major &amp;&amp; UFO.fv[1] &gt;= release)) ? true : false;<br />
},</p>
<p>writeSWF: function(id) {<br />
var _fo = UFO.foList[id];<br />
var _e = document.getElementById(id);<br />
if (UFO.pluginType == &#8220;npapi&#8221;) {<br />
if (UFO.uaHas(&#8221;gecko&#8221;) || UFO.uaHas(&#8221;xml&#8221;)) {<br />
while(_e.hasChildNodes()) {<br />
_e.removeChild(_e.firstChild);<br />
}<br />
var _obj = UFO.createElement(&#8221;object&#8221;);<br />
_obj.setAttribute(&#8221;type&#8221;, &#8220;application/x-shockwave-flash&#8221;);<br />
_obj.setAttribute(&#8221;data&#8221;, _fo.movie);<br />
_obj.setAttribute(&#8221;width&#8221;, _fo.width);<br />
_obj.setAttribute(&#8221;height&#8221;, _fo.height);<br />
var _l = UFO.optAtt.length;<br />
for (var i = 0; i &lt; _l; i++) {<br />
if (typeof _fo[UFO.optAtt[i]] != &#8220;undefined&#8221;) _obj.setAttribute(UFO.optAtt[i], _fo[UFO.optAtt[i]]);<br />
}<br />
var _o = UFO.opt.concat(UFO.optExc);<br />
var _l = _o.length;<br />
for (var i = 0; i &lt; _l; i++) {<br />
if (typeof _fo[_o[i]] != &#8220;undefined&#8221;) UFO.createObjParam(_obj, _o[i], _fo[_o[i]]);<br />
}<br />
_e.appendChild(_obj);<br />
}<br />
else {<br />
var _emb = &#8220;&#8221;;<br />
var _o = UFO.opt.concat(UFO.optAtt).concat(UFO.optExc);<br />
var _l = _o.length;<br />
for (var i = 0; i &lt; _l; i++) {<br />
if (typeof _fo[_o[i]] != &#8220;undefined&#8221;) _emb += &#8216; &#8216; + _o[i] + &#8216;=&#8221;&#8216; + _fo[_o[i]] + &#8216;&#8221;&#8216;;<br />
}<br />
_e.innerHTML = &#8216;&lt;embed type=&#8221;application/x-shockwave-flash&#8221; src=&#8221;&#8216; + _fo.movie + &#8216;&#8221; width=&#8221;&#8216; + _fo.width + &#8216;&#8221; height=&#8221;&#8216; + _fo.height + &#8216;&#8221; pluginspage=&#8221;http://www.macromedia.com/go/getflashplayer&#8221;&#8216; + _emb + &#8216;&gt;&lt;/embed&gt;&#8217;;<br />
}<br />
}<br />
else if (UFO.pluginType == &#8220;ax&#8221;) {<br />
var _objAtt = &#8220;&#8221;;<br />
var _l = UFO.optAtt.length;<br />
for (var i = 0; i &lt; _l; i++) {<br />
if (typeof _fo[UFO.optAtt[i]] != &#8220;undefined&#8221;) _objAtt += &#8216; &#8216; + UFO.optAtt[i] + &#8216;=&#8221;&#8216; + _fo[UFO.optAtt[i]] + &#8216;&#8221;&#8216;;<br />
}<br />
var _objPar = &#8220;&#8221;;<br />
var _l = UFO.opt.length;<br />
for (var i = 0; i &lt; _l; i++) {<br />
if (typeof _fo[UFO.opt[i]] != &#8220;undefined&#8221;) _objPar += &#8216;&lt;param name=&#8221;&#8216; + UFO.opt[i] + &#8216;&#8221; value=&#8221;&#8216; + _fo[UFO.opt[i]] + &#8216;&#8221; /&gt;&#8217;;<br />
}<br />
var _p = window.location.protocol == &#8220;https:&#8221; ? &#8220;https:&#8221; : &#8220;http:&#8221;;<br />
_e.innerHTML = &#8216;&lt;object classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243;&#8216; + _objAtt + &#8216; width=&#8221;&#8216; + _fo.width + &#8216;&#8221; height=&#8221;&#8216; + _fo.height + &#8216;&#8221; codebase=&#8221;&#8216; + _p + &#8216;//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=&#8217; + _fo.majorversion + &#8216;,0,&#8217; + _fo.build + &#8216;,0&#8243;&gt;&lt;param name=&#8221;movie&#8221; value=&#8221;&#8216; + _fo.movie + &#8216;&#8221; /&gt;&#8217; + _objPar + &#8216;&lt;/object&gt;&#8217;;<br />
}<br />
},</p>
<p>createDialog: function(id) {<br />
var _fo = UFO.foList[id];<br />
UFO.createCSS(&#8221;html&#8221;, &#8220;height:100%; overflow:hidden;&#8221;);<br />
UFO.createCSS(&#8221;body&#8221;, &#8220;height:100%; overflow:hidden;&#8221;);<br />
UFO.createCSS(&#8221;#xi-con&#8221;, &#8220;position:absolute; left:0; top:0; z-index:1000; width:100%; height:100%; background-color:#fff; filter:alpha(opacity:75); opacity:0.75;&#8221;);<br />
UFO.createCSS(&#8221;#xi-dia&#8221;, &#8220;position:absolute; left:50%; top:50%; margin-left: -&#8221; + Math.round(parseInt(_fo.xiwidth, 10) / 2) + &#8220;px; margin-top: -&#8221; + Math.round(parseInt(_fo.xiheight, 10) / 2) + &#8220;px; width:&#8221; + _fo.xiwidth + &#8220;px; height:&#8221; + _fo.xiheight + &#8220;px;&#8221;);<br />
var _b = document.getElementsByTagName(&#8221;body&#8221;)[0];<br />
var _c = UFO.createElement(&#8221;div&#8221;);<br />
_c.setAttribute(&#8221;id&#8221;, &#8220;xi-con&#8221;);<br />
var _d = UFO.createElement(&#8221;div&#8221;);<br />
_d.setAttribute(&#8221;id&#8221;, &#8220;xi-dia&#8221;);<br />
_c.appendChild(_d);<br />
_b.appendChild(_c);<br />
var _mmu = window.location;<br />
if (UFO.uaHas(&#8221;xml&#8221;) &amp;&amp; UFO.uaHas(&#8221;safari&#8221;)) {<br />
var _mmd = document.getElementsByTagName(&#8221;title&#8221;)[0].firstChild.nodeValue = document.getElementsByTagName(&#8221;title&#8221;)[0].firstChild.nodeValue.slice(0, 47) + &#8221; - Flash Player Installation&#8221;;<br />
}<br />
else {<br />
var _mmd = document.title = document.title.slice(0, 47) + &#8221; - Flash Player Installation&#8221;;<br />
}<br />
var _mmp = UFO.pluginType == &#8220;ax&#8221; ? &#8220;ActiveX&#8221; : &#8220;PlugIn&#8221;;<br />
var _uc = typeof _fo.xiurlcancel != &#8220;undefined&#8221; ? &#8220;&amp;xiUrlCancel=&#8221; + _fo.xiurlcancel : &#8220;&#8221;;<br />
var _uf = typeof _fo.xiurlfailed != &#8220;undefined&#8221; ? &#8220;&amp;xiUrlFailed=&#8221; + _fo.xiurlfailed : &#8220;&#8221;;<br />
UFO.foList["xi-dia"] = { movie:_fo.ximovie, width:_fo.xiwidth, height:_fo.xiheight, majorversion:&#8221;6&#8243;, build:&#8221;65&#8243;, flashvars:&#8221;MMredirectURL=&#8221; + _mmu + &#8220;&amp;MMplayerType=&#8221; + _mmp + &#8220;&amp;MMdoctitle=&#8221; + _mmd + _uc + _uf };<br />
UFO.writeSWF(&#8221;xi-dia&#8221;);<br />
},</p>
<p>expressInstallCallback: function() {<br />
var _b = document.getElementsByTagName(&#8221;body&#8221;)[0];<br />
var _c = document.getElementById(&#8221;xi-con&#8221;);<br />
_b.removeChild(_c);<br />
UFO.createCSS(&#8221;body&#8221;, &#8220;height:auto; overflow:auto;&#8221;);<br />
UFO.createCSS(&#8221;html&#8221;, &#8220;height:auto; overflow:auto;&#8221;);<br />
},</p>
<p>cleanupIELeaks: function() {<br />
var _o = document.getElementsByTagName(&#8221;object&#8221;);<br />
var _l = _o.length<br />
for (var i = 0; i &lt; _l; i++) {<br />
_o[i].style.display = &#8220;none&#8221;;<br />
for (var x in _o[i]) {<br />
if (typeof _o[i][x] == &#8220;function&#8221;) {<br />
_o[i][x] = null;<br />
}<br />
}<br />
}<br />
}</p>
<p>};</p>
<p>if (typeof window.attachEvent != &#8220;undefined&#8221; &amp;&amp; UFO.uaHas(&#8221;ieWin&#8221;)) {<br />
window.attachEvent(&#8221;onunload&#8221;, UFO.cleanupIELeaks);<br />
}</td>
</tr>
</tbody>
</table>
<ul>
<li>Assuming you already have a flash.swf file to hand, you can fill in the details of the code below. This includes locating the file; <em>&#8220;example.swf&#8221;, </em>inserting the file&#8217;s height &amp; width, and giving the instance a name; <em>&#8216;example1&#8242;</em>.</li>
<li>Make sure that wehn you locate the flash file, it&#8217;s path is relative to where the script file is. For example: <em>../example.swf</em> <strong>or</strong> <em>/flash/example.swf</em> <strong>or</strong> <em>http://www.example.com/flash/example.swf</em></li>
<li>You also need to add the following code to the top of the same .js file.</li>
</ul>
<table style="border:solid 1px #cccccc; background-color:#333333" border="0" cellpadding="10" width="100%" align="center">
<tbody>
<tr>
<td height="74">var FO = { movie:&#8221;example.swf&#8221;, width:&#8221;xxx&#8221;, height:&#8221;xxx&#8221;,</p>
<p>majorversion:&#8221;6&#8243;, build:&#8221;40&#8243; };</p>
<p>UFO.create(FO, &#8220;example1&#8243;);</td>
</tr>
</tbody>
</table>
<ul>
<li>Once you have set up the JavaScript file, you are ready to add the flash file to your website.</li>
<li>Begin adding the following script to the &lt;HEAD&gt; section of the HTML. Doing this will alow you to import the behaviours specified in the JavaScript file <em>flash.js</em>.</li>
<li>This script <strong>MUST</strong> go above any other script that may be imported within the header for it to function correctly.</li>
</ul>
<table style="border:solid 1px #cccccc; background-color:#333333" border="0" cellpadding="10" width="100%" align="center">
<tbody>
<tr>
<td height="38">&lt;script type=&#8221;text/javascript&#8221; src=&#8221;flash.js&#8221;&gt;&lt;/script&gt;</td>
</tr>
</tbody>
</table>
<ul>
<li>Now find where you want to add your flash and insert the following &lt;div&gt; code. <em>example1</em> is the instance name we gave to the script earlier.</li>
</ul>
<table style="border:solid 1px #cccccc; background-color:#333333" border="0" cellpadding="10" width="100%" align="center">
<tbody>
<tr>
<td height="38">&lt;div id=&#8221;example1&#8243;&gt;&lt;/div&gt;</td>
</tr>
</tbody>
</table>
<p>For more <a href="http://www.crearedesign.co.uk">Web Design</a> resources visit <a href="http://www.freewebsitetemplatedownloads.co.uk">Free Website Templates</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freewebsitetemplatedownloads.co.uk/javascript-scripts/flash-embedded-with-div-classes/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
