// Created by iWeb 3.0.4 local-build-20120120

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id14" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="455" height="271" style="height: 271px; left: 224px; position: absolute; top: 898px; width: 455px; z-index: 1; "><param name="src" value="Media/TimeTherapyPromo2-1.mov" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id14" type="video/quicktime" width="455" height="271" style="height: 271px; left: 224px; position: absolute; top: 898px; width: 455px; z-index: 1; "><param name="src" value="lifehut_files/TimeTherapyPromo2-1.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/TimeTherapyPromo2-1.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id14" type="video/quicktime" width="455" height="271" data="Media/TimeTherapyPromo2-1.mov" style="height: 271px; left: 224px; position: absolute; top: 898px; width: 455px; z-index: 1; "><param name="src" value="Media/TimeTherapyPromo2-1.mov"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
function writeMovie2()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id21" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="455" height="271" style="height: 271px; left: 224px; position: absolute; top: 1181px; width: 455px; z-index: 1; "><param name="src" value="Media/TimeTherapyPromo1-1.mov" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id21" type="video/quicktime" width="455" height="271" style="height: 271px; left: 224px; position: absolute; top: 1181px; width: 455px; z-index: 1; "><param name="src" value="lifehut_files/TimeTherapyPromo1-1.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/TimeTherapyPromo1-1.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id21" type="video/quicktime" width="455" height="271" data="Media/TimeTherapyPromo1-1.mov" style="height: 271px; left: 224px; position: absolute; top: 1181px; width: 455px; z-index: 1; "><param name="src" value="Media/TimeTherapyPromo1-1.mov"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,140),url:'lifehut_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'lifehut_files/stroke_9.png'},{rect:new IWRect(1,-1,173,2),url:'lifehut_files/stroke_10.png'},{rect:new IWRect(174,-1,3,2),url:'lifehut_files/stroke_11.png'},{rect:new IWRect(174,1,3,140),url:'lifehut_files/stroke_12.png'},{rect:new IWRect(174,141,3,2),url:'lifehut_files/stroke_13.png'},{rect:new IWRect(1,141,173,2),url:'lifehut_files/stroke_14.png'},{rect:new IWRect(-1,141,2,2),url:'lifehut_files/stroke_15.png'}],new IWSize(175,142)),shadow_4:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_7:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_3:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,277),url:'lifehut_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'lifehut_files/stroke_1.png'},{rect:new IWRect(1,-1,192,2),url:'lifehut_files/stroke_2.png'},{rect:new IWRect(193,-1,2,2),url:'lifehut_files/stroke_3.png'},{rect:new IWRect(193,1,2,277),url:'lifehut_files/stroke_4.png'},{rect:new IWRect(193,278,2,2),url:'lifehut_files/stroke_5.png'},{rect:new IWRect(1,278,192,2),url:'lifehut_files/stroke_6.png'},{rect:new IWRect(-1,278,2,2),url:'lifehut_files/stroke_7.png'}],new IWSize(194,279)),shadow_2:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_1:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_5:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_6:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000})});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{loadMozillaCSS('lifehut_files/lifehutMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');detectBrowser();adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');adjustLineHeightIfTooBig('id18');adjustFontSizeIfTooBig('id18');adjustLineHeightIfTooBig('id19');adjustFontSizeIfTooBig('id19');adjustLineHeightIfTooBig('id20');adjustFontSizeIfTooBig('id20');adjustLineHeightIfTooBig('id22');adjustFontSizeIfTooBig('id22');adjustLineHeightIfTooBig('id23');adjustFontSizeIfTooBig('id23');adjustLineHeightIfTooBig('id24');adjustFontSizeIfTooBig('id24');adjustLineHeightIfTooBig('id25');adjustFontSizeIfTooBig('id25');adjustLineHeightIfTooBig('id26');adjustFontSizeIfTooBig('id26');adjustLineHeightIfTooBig('id27');adjustFontSizeIfTooBig('id27');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id3');applyEffects()}
function onPageUnload()
{Widget.onunload();}

