// Created by iWeb 3.0.1 local-build-20090817

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.musicvideomagic.co.nz/www.musicvideomagic.co.nz/MVM_Music_Video_Entertainment_files/rss.xml",false);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.musicvideomagic.co.nz/www.musicvideomagic.co.nz',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.musicvideomagic.co.nz/www.musicvideomagic.co.nz',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(255,255),new IWSize(255,0),new IWSize(329,270),27,27,0,new IWSize(10,11)),new IWPhotoFrame([IWCreateImage('MVM_Music_Video_Entertainment_files/Silkscreen_shape_01.png'),IWCreateImage('MVM_Music_Video_Entertainment_files/Silkscreen_shape_02.png'),IWCreateImage('MVM_Music_Video_Entertainment_files/Silkscreen_shape_03.png'),IWCreateImage('MVM_Music_Video_Entertainment_files/Silkscreen_shape_06.png'),IWCreateImage('MVM_Music_Video_Entertainment_files/Silkscreen_shape_09.png'),IWCreateImage('MVM_Music_Video_Entertainment_files/Silkscreen_shape_08.png'),IWCreateImage('MVM_Music_Video_Entertainment_files/Silkscreen_shape_07.png'),IWCreateImage('MVM_Music_Video_Entertainment_files/Silkscreen_shape_04.png')],null,2,0.500000,0.000000,0.000000,0.000000,0.000000,9.000000,11.000000,9.000000,9.000000,258.000000,354.000000,258.000000,354.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,null,'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();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-3,2,6,157),url:'MVM_Music_Video_Entertainment_files/stroke.png'},{rect:new IWRect(-3,-4,6,6),url:'MVM_Music_Video_Entertainment_files/stroke_1.png'},{rect:new IWRect(3,-3,285,5),url:'MVM_Music_Video_Entertainment_files/stroke_2.png'},{rect:new IWRect(288,-2,5,4),url:'MVM_Music_Video_Entertainment_files/stroke_3.png'},{rect:new IWRect(288,2,4,157),url:'MVM_Music_Video_Entertainment_files/stroke_4.png'},{rect:new IWRect(288,159,4,6),url:'MVM_Music_Video_Entertainment_files/stroke_5.png'},{rect:new IWRect(3,159,285,5),url:'MVM_Music_Video_Entertainment_files/stroke_6.png'},{rect:new IWRect(-3,159,6,6),url:'MVM_Music_Video_Entertainment_files/stroke_7.png'}],new IWSize(290,163)),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(-6.4656,8.8992),color:'#663300',opacity:0.750000})});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('MVM_Music_Video_Entertainment_files/MVM_Music_Video_EntertainmentMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');detectBrowser();Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

