// Created by iWeb 2.0.4 local-build-20091007

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id20" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="285" height="176" style="height: 176px; left: 10px; position: absolute; top: 91px; width: 285px; z-index: 1; "><param name="src" value="Media/svadba_movie.m4v" /><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="id20" type="video/quicktime" width="285" height="176" style="height: 176px; left: 10px; position: absolute; top: 91px; width: 285px; z-index: 1; "><param name="src" value="main_files/svadba_movie.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/svadba_movie.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id20" type="video/quicktime" width="285" height="176" data="Media/svadba_movie.m4v" style="height: 176px; left: 10px; position: absolute; top: 91px; width: 285px; z-index: 1; "><param name="src" value="Media/svadba_movie.m4v"/><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,103),url:'main_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'main_files/stroke_9.png'},{rect:new IWRect(1,-1,111,2),url:'main_files/stroke_10.png'},{rect:new IWRect(112,-1,2,2),url:'main_files/stroke_11.png'},{rect:new IWRect(112,1,2,103),url:'main_files/stroke_12.png'},{rect:new IWRect(112,104,2,2),url:'main_files/stroke_13.png'},{rect:new IWRect(1,104,111,2),url:'main_files/stroke_14.png'},{rect:new IWRect(-1,104,2,2),url:'main_files/stroke_15.png'}],new IWSize(113,105)),stroke_3:new IWStrokeParts([{rect:new IWRect(-1,1,2,104),url:'main_files/stroke_24.png'},{rect:new IWRect(-1,-1,2,2),url:'main_files/stroke_25.png'},{rect:new IWRect(1,-1,111,2),url:'main_files/stroke_26.png'},{rect:new IWRect(112,-1,2,2),url:'main_files/stroke_27.png'},{rect:new IWRect(112,1,2,104),url:'main_files/stroke_28.png'},{rect:new IWRect(112,105,2,2),url:'main_files/stroke_29.png'},{rect:new IWRect(1,105,111,2),url:'main_files/stroke_30.png'},{rect:new IWRect(-1,105,2,2),url:'main_files/stroke_31.png'}],new IWSize(113,106)),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,99),url:'main_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'main_files/stroke_1.png'},{rect:new IWRect(1,-1,111,2),url:'main_files/stroke_2.png'},{rect:new IWRect(112,-1,2,2),url:'main_files/stroke_3.png'},{rect:new IWRect(112,1,2,99),url:'main_files/stroke_4.png'},{rect:new IWRect(112,100,2,2),url:'main_files/stroke_5.png'},{rect:new IWRect(1,100,111,2),url:'main_files/stroke_6.png'},{rect:new IWRect(-1,100,2,2),url:'main_files/stroke_7.png'}],new IWSize(113,101)),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,91),url:'main_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'main_files/stroke_17.png'},{rect:new IWRect(1,-1,111,2),url:'main_files/stroke_18.png'},{rect:new IWRect(112,-1,2,2),url:'main_files/stroke_19.png'},{rect:new IWRect(112,1,2,91),url:'main_files/stroke_20.png'},{rect:new IWRect(112,92,2,2),url:'main_files/stroke_21.png'},{rect:new IWRect(1,92,111,2),url:'main_files/stroke_22.png'},{rect:new IWRect(-1,92,2,2),url:'main_files/stroke_23.png'}],new IWSize(113,93))});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{loadMozillaCSS('main_files/mainMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');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');detectBrowser();adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');adjustLineHeightIfTooBig('id18');adjustFontSizeIfTooBig('id18');adjustLineHeightIfTooBig('id19');adjustFontSizeIfTooBig('id19');Widget.onload();fixAllIEPNGs('Media/transparent.gif');applyEffects()}
function onPageUnload()
{Widget.onunload();}
