// Created by iWeb 3.0.1 local-build-20100105

function createMediaStream_id9()
{return IWCreatePhotocast("http://www.darkreignstudio.com/DARKREIGN/TEXTILE_files/rss.xml",false);}
function initializeMediaStream_id9()
{createMediaStream_id9().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','id9',{pageIndex:0}));});}
function layoutMediaGrid_id9(range)
{createMediaStream_id9().load('http://www.darkreignstudio.com/DARKREIGN',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id9',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_id9(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id9(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:38,offset:new IWPoint(18.3848,18.3848),color:'#000000',opacity:0.660000}),stroke_1:new IWEmptyStroke(),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,527),url:'TEXTILE_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'TEXTILE_files/stroke_1.png'},{rect:new IWRect(1,-1,1196,2),url:'TEXTILE_files/stroke_2.png'},{rect:new IWRect(1197,-1,2,2),url:'TEXTILE_files/stroke_3.png'},{rect:new IWRect(1197,1,2,527),url:'TEXTILE_files/stroke_4.png'},{rect:new IWRect(1197,528,2,2),url:'TEXTILE_files/stroke_5.png'},{rect:new IWRect(1,528,1196,2),url:'TEXTILE_files/stroke_6.png'},{rect:new IWRect(-1,528,2,2),url:'TEXTILE_files/stroke_7.png'}],new IWSize(1198,529)),stroke_3:new IWStrokeParts([{rect:new IWRect(-2,2,4,167),url:'TEXTILE_files/stroke_8.png'},{rect:new IWRect(-2,-2,4,4),url:'TEXTILE_files/stroke_9.png'},{rect:new IWRect(2,-2,132,4),url:'TEXTILE_files/stroke_10.png'},{rect:new IWRect(134,-2,4,4),url:'TEXTILE_files/stroke_11.png'},{rect:new IWRect(134,2,4,167),url:'TEXTILE_files/stroke_12.png'},{rect:new IWRect(134,169,4,4),url:'TEXTILE_files/stroke_13.png'},{rect:new IWRect(2,169,132,4),url:'TEXTILE_files/stroke_14.png'},{rect:new IWRect(-2,169,4,4),url:'TEXTILE_files/stroke_15.png'}],new IWSize(136,171)),stroke_4:new IWStrokeParts([{rect:new IWRect(-1,1,2,837),url:'TEXTILE_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'TEXTILE_files/stroke_17.png'},{rect:new IWRect(1,-1,1208,2),url:'TEXTILE_files/stroke_18.png'},{rect:new IWRect(1209,-1,2,2),url:'TEXTILE_files/stroke_19.png'},{rect:new IWRect(1209,1,2,837),url:'TEXTILE_files/stroke_20.png'},{rect:new IWRect(1209,838,2,2),url:'TEXTILE_files/stroke_21.png'},{rect:new IWRect(1,838,1208,2),url:'TEXTILE_files/stroke_22.png'},{rect:new IWRect(-1,838,2,2),url:'TEXTILE_files/stroke_23.png'}],new IWSize(1210,839)),stroke_2:new IWEmptyStroke()});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('TEXTILE_files/TEXTILEMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');detectBrowser();adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');NotificationCenter.addObserver(null,relayoutMediaGrid_id9,'RangeChanged','id9')
Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id2');applyEffects()
initializeMediaStream_id9()}
function onPageUnload()
{Widget.onunload();}
