// Created by iWeb 3.0.3 local-build-20110423

function createMediaStream_id6()
{return IWCreatePhotocast("http://www.darkreignstudio.com/DARKREIGN/BASICS_files/rss.xml",true);}
function initializeMediaStream_id6()
{createMediaStream_id6().load('http://www.darkreignstudio.com/DARKREIGN',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget2'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id6',{pageIndex:0}));});}
function layoutMediaGrid_id6(range)
{createMediaStream_id6().load('http://www.darkreignstudio.com/DARKREIGN',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id6',new IWPhotoGridLayout(6,new IWSize(69,69),new IWSize(69,0),new IWSize(104,84),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(255, 255, 255)',reflectionHeight:0,reflectionOffset:2,captionHeight:0,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget2','widget3','widget4')});}
function relayoutMediaGrid_id6(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id6(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id6(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_1:new IWEmptyStroke(),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,837),url:'BASICS_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'BASICS_files/stroke_9.png'},{rect:new IWRect(1,-1,1206,2),url:'BASICS_files/stroke_10.png'},{rect:new IWRect(1207,-1,2,2),url:'BASICS_files/stroke_11.png'},{rect:new IWRect(1207,1,2,837),url:'BASICS_files/stroke_12.png'},{rect:new IWRect(1207,838,2,2),url:'BASICS_files/stroke_13.png'},{rect:new IWRect(1,838,1206,2),url:'BASICS_files/stroke_14.png'},{rect:new IWRect(-1,838,2,2),url:'BASICS_files/stroke_15.png'}],new IWSize(1208,839)),shadow_0:new IWShadow({blurRadius:35,offset:new IWPoint(10.8929,-1.5309),color:'#000000',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,527),url:'BASICS_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'BASICS_files/stroke_1.png'},{rect:new IWRect(1,-1,1193,2),url:'BASICS_files/stroke_2.png'},{rect:new IWRect(1194,-1,2,2),url:'BASICS_files/stroke_3.png'},{rect:new IWRect(1194,1,2,527),url:'BASICS_files/stroke_4.png'},{rect:new IWRect(1194,528,2,2),url:'BASICS_files/stroke_5.png'},{rect:new IWRect(1,528,1193,2),url:'BASICS_files/stroke_6.png'},{rect:new IWRect(-1,528,2,2),url:'BASICS_files/stroke_7.png'}],new IWSize(1195,529))});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('BASICS_files/BASICSMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');detectBrowser();adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');NotificationCenter.addObserver(null,relayoutMediaGrid_id6,'RangeChanged','id6')
adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');Widget.onload();fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id2');fixupIECSS3Opacity('id8');applyEffects()
initializeMediaStream_id6()}
function onPageUnload()
{Widget.onunload();}

