// Created by iWeb 3.0.1 local-build-20100830

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id12" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="316" height="253" style="height: 253px; left: 539px; position: absolute; top: 106px; width: 316px; z-index: 1; "><param name="src" value="Media/Differently%20Abled%20Toy%20Drive%20V3-desktop.m4v" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="92" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id12" type="video/quicktime" width="316" height="253" style="height: 253px; left: 539px; position: absolute; top: 106px; width: 316px; z-index: 1; "><param name="src" value="TOY_DRIVE_2010_files/Differently%20Abled%20Toy%20Drive%20V3.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Differently%20Abled%20Toy%20Drive%20V3-desktop.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id12" type="video/quicktime" width="316" height="253" data="Media/Differently%20Abled%20Toy%20Drive%20V3-desktop.m4v" style="height: 253px; left: 539px; position: absolute; top: 106px; width: 316px; z-index: 1; "><param name="src" value="Media/Differently%20Abled%20Toy%20Drive%20V3-desktop.m4v"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="92"/><param name="loop" value="false"/></object>');}}
function createMediaStream_id14()
{return IWCreatePhotocast("http://www.tlcmobility.org/TLC_Mobility_Foundation/TOY_DRIVE_2010_files/rss.xml",true);}
function initializeMediaStream_id14()
{createMediaStream_id14().load('http://www.tlcmobility.org/TLC_Mobility_Foundation',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id14',{pageIndex:0}));});}
function layoutMediaGrid_id14(range)
{createMediaStream_id14().load('http://www.tlcmobility.org/TLC_Mobility_Foundation',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id14',new IWPhotoGridLayout(3,new IWSize(204,204),new IWSize(204,0),new IWSize(216,219),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,0.900000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id14(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id14(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,397),url:'TOY_DRIVE_2010_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'TOY_DRIVE_2010_files/stroke_1.png'},{rect:new IWRect(1,-1,850,2),url:'TOY_DRIVE_2010_files/stroke_2.png'},{rect:new IWRect(851,-1,2,2),url:'TOY_DRIVE_2010_files/stroke_3.png'},{rect:new IWRect(851,1,2,397),url:'TOY_DRIVE_2010_files/stroke_4.png'},{rect:new IWRect(851,398,2,3),url:'TOY_DRIVE_2010_files/stroke_5.png'},{rect:new IWRect(1,398,850,3),url:'TOY_DRIVE_2010_files/stroke_6.png'},{rect:new IWRect(-1,398,2,3),url:'TOY_DRIVE_2010_files/stroke_7.png'}],new IWSize(852,399)),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,482),url:'TOY_DRIVE_2010_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'TOY_DRIVE_2010_files/stroke_9.png'},{rect:new IWRect(1,-1,784,2),url:'TOY_DRIVE_2010_files/stroke_10.png'},{rect:new IWRect(785,-1,2,2),url:'TOY_DRIVE_2010_files/stroke_11.png'},{rect:new IWRect(785,1,2,482),url:'TOY_DRIVE_2010_files/stroke_12.png'},{rect:new IWRect(785,483,2,2),url:'TOY_DRIVE_2010_files/stroke_13.png'},{rect:new IWRect(1,483,784,2),url:'TOY_DRIVE_2010_files/stroke_14.png'},{rect:new IWRect(-1,483,2,2),url:'TOY_DRIVE_2010_files/stroke_15.png'}],new IWSize(786,484))});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('TOY_DRIVE_2010_files/TOY_DRIVE_2010Moz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');detectBrowser();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');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');NotificationCenter.addObserver(null,relayoutMediaGrid_id14,'RangeChanged','id14')
adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');fixAllIEPNGs('Media/transparent.gif');fixupAllIEPNGBGs();Widget.onload();IMpreload('TOY_DRIVE_2010_files','shapeimage_3','0');IMpreload('TOY_DRIVE_2010_files','shapeimage_3','1');IMpreload('TOY_DRIVE_2010_files','shapeimage_8','0');IMpreload('TOY_DRIVE_2010_files','shapeimage_10','0');IMpreload('TOY_DRIVE_2010_files','shapeimage_11','0');IMpreload('TOY_DRIVE_2010_files','shapeimage_11','1');applyEffects()
initializeMediaStream_id14()}
function onPageUnload()
{Widget.onunload();}
