// Created by iWeb 3.0.4 local-build-20111001

function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.thewizardofwow.com/public_html/Gallery_2/Gallery_2_files/rss.xml",false,1,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.thewizardofwow.com/public_html/Gallery_2',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget2'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.thewizardofwow.com/public_html/Gallery_2',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(3,new IWSize(262,196),new IWSize(262,30),new IWSize(296,241),27,27,0,new IWSize(81,61)),new IWPhotoFrame([IWCreateImage('Gallery_2_files/organic_ul.png'),IWCreateImage('Gallery_2_files/organic_top.png'),IWCreateImage('Gallery_2_files/organic_ur.png'),IWCreateImage('Gallery_2_files/organic_right.png'),IWCreateImage('Gallery_2_files/organic_lr.png'),IWCreateImage('Gallery_2_files/organic_bottom.png'),IWCreateImage('Gallery_2_files/organic_ll.png'),IWCreateImage('Gallery_2_files/organic_left.png')],null,0,0.666667,0.000000,18.000000,0.000000,16.000000,76.000000,57.000000,45.000000,68.000000,30.000000,80.000000,144.000000,80.000000,null,null,null,0.500000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget2',null,'widget3',{showTitle:true,showMetric:true})});}
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({reflection_1:new IWReflection({opacity:0.50,offset:1.00}),reflection_2:new IWReflection({opacity:0.50,offset:1.00}),stroke_0:new IWEmptyStroke(),reflection_0:new IWReflection({opacity:0.50,offset:1.00}),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,24),url:'Gallery_2_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Gallery_2_files/stroke_1.png'},{rect:new IWRect(1,-1,910,2),url:'Gallery_2_files/stroke_2.png'},{rect:new IWRect(911,-1,2,2),url:'Gallery_2_files/stroke_3.png'},{rect:new IWRect(911,1,2,24),url:'Gallery_2_files/stroke_4.png'},{rect:new IWRect(911,25,2,2),url:'Gallery_2_files/stroke_5.png'},{rect:new IWRect(1,25,910,2),url:'Gallery_2_files/stroke_6.png'},{rect:new IWRect(-1,25,2,2),url:'Gallery_2_files/stroke_7.png'}],new IWSize(912,26))});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('Gallery_2_files/Gallery_2Moz.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('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');fixAllIEPNGs('../Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();IMpreload('Gallery_2_files','shapeimage_1','0');IMpreload('Gallery_2_files','shapeimage_1','1');IMpreload('Gallery_2_files','shapeimage_1','2');IMpreload('Gallery_2_files','shapeimage_1','3');IMpreload('Gallery_2_files','shapeimage_1','4');IMpreload('Gallery_2_files','shapeimage_1','5');fixupIECSS3Opacity('id10');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

