// Created by iWeb 2.0.4 local-build-20100723
//
//  iWeb - iWebHitCounter.js
//  Copyright (c) 2007 Apple Inc. All rights reserved.
//

function iWebWriteCounter()
{try
{writeCounter();}
catch(e)
{}}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id9" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="110" height="16" style="height: 0px; left: 295px; position: absolute; top: 260px; width: 110px; z-index: 1; "><param name="src" value="../Media/NMBC.mp3" /><param name="endtime" value="00:00:36:17.5" /><param name="controller" value="false" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id9" type="video/quicktime" width="110" height="16" style="height: 0px; left: 295px; position: absolute; top: 260px; width: 110px; z-index: 1; "><param name="src" value="../Media/NMBC.mp3"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id9" type="video/quicktime" width="110" height="16" data="../Media/NMBC.mp3" endtime="00:00:36:17.5" style="height: 0px; left: 295px; position: absolute; top: 260px; width: 110px; z-index: 1; "><param name="src" value="../Media/NMBC.mp3"/><param name="endtime" value="00:00:36:17.5"/><param name="controller" value="false"/><param name="autoplay" value="true"/><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="id10" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="125" height="16" style="height: 0px; left: 486px; position: absolute; top: 277px; width: 125px; z-index: 1; "><param name="src" value="../Media/Heaven.mov" /><param name="controller" value="false" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="true" /></object>');}
else if(isiPhone)
{document.write('<object id="id10" type="video/quicktime" width="125" height="16" style="height: 0px; left: 486px; position: absolute; top: 277px; width: 125px; z-index: 1; "><param name="src" value="../Media/Heaven.mov"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id10" type="video/quicktime" width="125" height="16" data="../Media/Heaven.mov" style="height: 0px; left: 486px; position: absolute; top: 277px; width: 125px; z-index: 1; "><param name="src" value="../Media/Heaven.mov"/><param name="controller" value="false"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="true"/></object>');}}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,109),url:'Welcome_Page_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Welcome_Page_files/stroke_1.png'},{rect:new IWRect(2,-2,146,4),url:'Welcome_Page_files/stroke_2.png'},{rect:new IWRect(148,-2,4,4),url:'Welcome_Page_files/stroke_3.png'},{rect:new IWRect(148,2,4,109),url:'Welcome_Page_files/stroke_4.png'},{rect:new IWRect(148,111,4,4),url:'Welcome_Page_files/stroke_5.png'},{rect:new IWRect(2,111,146,4),url:'Welcome_Page_files/stroke_6.png'},{rect:new IWRect(-2,111,4,4),url:'Welcome_Page_files/stroke_7.png'}],new IWSize(150,113)),shadow_0:new IWShadow({blurRadius:1,offset:new IWPoint(0.0000,0.0000),color:'#000000',opacity:0.750000})});registry.applyEffects();}
function hostedOnDM()
{return true;}
function photocastSubscribe()
{photocastHelper("http://web.me.com/tebratten/New_Mickle_Baptist_Church/Welcome_Page/rss.xml");}
function onPageLoad()
{loadMozillaCSS('Welcome_Page_files/Welcome_PageMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');detectBrowser();iWebInitSearch();adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');fixAllIEPNGs('../Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();iWebWriteCounter();applyEffects()}
function onPageUnload()
{Widget.onunload();}
