var WebPage={id:"WebPage",title:"Web Page",UpdateDialog:"updatedialog/60553713.js",noOpenSection:true,createSectionMenuItems:function(items,s){items.addDivider();items.add("Open in New Window",N.openWindow,s.url)},updateSection:function(s){if(s.constructor==Number)s=page.nodes[s];Module.showDialog(WebPage,"UpdateDialog",{section:s})},onTitleClick:function(s){var sp=s.permissions||{};if(sp.edit){WebPage.updateSection(s)}else{N.openWindow(s.url)}},renderContent:function(w,s){if(!s.url){if(s.permissions.edit){w("<div class='section-padding bc-highlight'>");CommandBar.renderButton(w,{onclick:"WebPage.updateSection("+s.nodeId+")"},-216,"Add Web Page");w("</div>")}}else{var qs=document.location.search;if(qs&&qs.indexOf("noframes")>=0){w("<div class=section-padding>Frames not rendered</div>")}else{w("<iframe",Att.src(s.url)," allowtransparency='true' marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' width='100%'",(s.height?" height='"+s.height+"'":""),"></iframe>")}}}};if(window.Module)Module.add(WebPage);