// Created by iWeb 3.0.4 local-build-20120130

function createMediaStream_id2()
{return IWCreatePhotocast("http://indianhair.net/public_html/Straight_Hair_files/rss.xml",false);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://indianhair.net/public_html',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://indianhair.net/public_html',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(211,211),new IWSize(211,54),new IWSize(211,280),27,27,0,new IWSize(10,10)),new IWPhotoFrame([IWCreateImage('Straight_Hair_files/Headlines_01.png'),IWCreateImage('Straight_Hair_files/Headlines_02.png'),IWCreateImage('Straight_Hair_files/Headlines_03.png'),IWCreateImage('Straight_Hair_files/Headlines_06.png'),IWCreateImage('Straight_Hair_files/Headlines_09.png'),IWCreateImage('Straight_Hair_files/Headlines_08.png'),IWCreateImage('Straight_Hair_files/Headlines_07.png'),IWCreateImage('Straight_Hair_files/Headlines_04.png')],null,0,1.000000,-3.000000,-3.000000,-3.000000,-3.000000,2.000000,2.000000,2.000000,2.000000,4.000000,4.000000,4.000000,4.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,265),url:'Straight_Hair_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Straight_Hair_files/stroke_1.png'},{rect:new IWRect(1,-1,153,2),url:'Straight_Hair_files/stroke_2.png'},{rect:new IWRect(154,-1,2,2),url:'Straight_Hair_files/stroke_3.png'},{rect:new IWRect(154,1,2,265),url:'Straight_Hair_files/stroke_4.png'},{rect:new IWRect(154,266,2,2),url:'Straight_Hair_files/stroke_5.png'},{rect:new IWRect(1,266,153,2),url:'Straight_Hair_files/stroke_6.png'},{rect:new IWRect(-1,266,2,2),url:'Straight_Hair_files/stroke_7.png'}],new IWSize(155,267))});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('Straight_Hair_files/Straight_HairMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');detectBrowser();adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');adjustLineHeightIfTooBig('id18');adjustFontSizeIfTooBig('id18');adjustLineHeightIfTooBig('id19');adjustFontSizeIfTooBig('id19');adjustLineHeightIfTooBig('id20');adjustFontSizeIfTooBig('id20');adjustLineHeightIfTooBig('id21');adjustFontSizeIfTooBig('id21');adjustLineHeightIfTooBig('id22');adjustFontSizeIfTooBig('id22');adjustLineHeightIfTooBig('id23');adjustFontSizeIfTooBig('id23');adjustLineHeightIfTooBig('id24');adjustFontSizeIfTooBig('id24');adjustLineHeightIfTooBig('id25');adjustFontSizeIfTooBig('id25');adjustLineHeightIfTooBig('id26');adjustFontSizeIfTooBig('id26');adjustLineHeightIfTooBig('id27');adjustFontSizeIfTooBig('id27');adjustLineHeightIfTooBig('id28');adjustFontSizeIfTooBig('id28');adjustLineHeightIfTooBig('id29');adjustFontSizeIfTooBig('id29');adjustLineHeightIfTooBig('id30');adjustFontSizeIfTooBig('id30');adjustLineHeightIfTooBig('id31');adjustFontSizeIfTooBig('id31');adjustLineHeightIfTooBig('id32');adjustFontSizeIfTooBig('id32');adjustLineHeightIfTooBig('id33');adjustFontSizeIfTooBig('id33');adjustLineHeightIfTooBig('id34');adjustFontSizeIfTooBig('id34');adjustLineHeightIfTooBig('id35');adjustFontSizeIfTooBig('id35');adjustLineHeightIfTooBig('id36');adjustFontSizeIfTooBig('id36');adjustLineHeightIfTooBig('id37');adjustFontSizeIfTooBig('id37');adjustLineHeightIfTooBig('id38');adjustFontSizeIfTooBig('id38');adjustLineHeightIfTooBig('id39');adjustFontSizeIfTooBig('id39');adjustLineHeightIfTooBig('id40');adjustFontSizeIfTooBig('id40');adjustLineHeightIfTooBig('id41');adjustFontSizeIfTooBig('id41');adjustLineHeightIfTooBig('id42');adjustFontSizeIfTooBig('id42');adjustLineHeightIfTooBig('id43');adjustFontSizeIfTooBig('id43');adjustLineHeightIfTooBig('id44');adjustFontSizeIfTooBig('id44');adjustLineHeightIfTooBig('id45');adjustFontSizeIfTooBig('id45');adjustLineHeightIfTooBig('id46');adjustFontSizeIfTooBig('id46');fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();IMpreload('Straight_Hair_files','shapeimage_5','0');IMpreload('Straight_Hair_files','shapeimage_5','1');IMpreload('Straight_Hair_files','shapeimage_5','2');IMpreload('Straight_Hair_files','shapeimage_5','3');IMpreload('Straight_Hair_files','shapeimage_5','4');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

