// Created by iWeb 3.0.1 local-build-20090930

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.nomecc.org/nomecc.org/Tobacco_Ed_files/rss.xml",true);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.nomecc.org/nomecc.org',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.nomecc.org/nomecc.org',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(203,203),new IWSize(203,28),new IWSize(244,246),27,27,0,new IWSize(0,0)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id8" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="208" height="16"><param name="src" value="Media/Mandy%20Patinkin%20Smoke-Free%20Audio%20PSA%2010%20sec%20%28Hard%202%29.mp3" /><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="id8" type="video/quicktime" width="208" height="16"><param name="src" value="Media/Mandy%20Patinkin%20Smoke-Free%20Audio%20PSA%2010%20sec%20%28Hard%202%29.mp3"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id8" type="video/quicktime" width="208" height="16" data="Media/Mandy%20Patinkin%20Smoke-Free%20Audio%20PSA%2010%20sec%20%28Hard%202%29.mp3"><param name="src" value="Media/Mandy%20Patinkin%20Smoke-Free%20Audio%20PSA%2010%20sec%20%28Hard%202%29.mp3"/><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="id9" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="489" height="291" style="height: 291px; left: 31px; position: absolute; top: 1292px; width: 489px; z-index: 1; "><param name="src" value="Media/Mandy%20Patinkin%20Video%20PSA%20-%20Large%201.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="id9" type="video/quicktime" width="489" height="291" style="height: 291px; left: 31px; position: absolute; top: 1292px; width: 489px; z-index: 1; "><param name="src" value="Tobacco_Ed_files/Mandy%20Patinkin%20Video%20PSA%20-%20Large%201.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Mandy%20Patinkin%20Video%20PSA%20-%20Large%201.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id9" type="video/quicktime" width="489" height="291" data="Media/Mandy%20Patinkin%20Video%20PSA%20-%20Large%201.m4v" style="height: 291px; left: 31px; position: absolute; top: 1292px; width: 489px; z-index: 1; "><param name="src" value="Media/Mandy%20Patinkin%20Video%20PSA%20-%20Large%201.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>');}}
function writeMovie3()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id10" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="489" height="291" style="height: 291px; left: 31px; position: absolute; top: 979px; width: 489px; z-index: 1; "><param name="src" value="Media/Mandy%20SMOKE-FREE%20w-kids%20-%20Large.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="id10" type="video/quicktime" width="489" height="291" style="height: 291px; left: 31px; position: absolute; top: 979px; width: 489px; z-index: 1; "><param name="src" value="Tobacco_Ed_files/Mandy%20SMOKE-FREE%20w-kids%20-%20Large.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Mandy%20SMOKE-FREE%20w-kids%20-%20Large.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id10" type="video/quicktime" width="489" height="291" data="Media/Mandy%20SMOKE-FREE%20w-kids%20-%20Large.m4v" style="height: 291px; left: 31px; position: absolute; top: 979px; width: 489px; z-index: 1; "><param name="src" value="Media/Mandy%20SMOKE-FREE%20w-kids%20-%20Large.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 hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Tobacco_Ed_files/Tobacco_EdMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');initializeMediaStream_id3()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}
