<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FeedUrls.aspx.cs" Inherits="FeedUrls" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <link href="WestWind.css" rel="stylesheet" type="text/css" />
    <style>
    .linkbutton
    {
        COLOR: black;
        text-decoration: none ;
        display:block;
        width:450px;
        text-align:left;
        padding-top:2px;
        padding-bottom: 2px;
        padding-left: 4px;   }
    .linkbutton:hover { color:white;text-decoration:none; font-weight:normal;background:darkblue;}
    .linkbutton:visited {text-decoration:none;}            
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:DataList runat="server" ID="lstFeeds">
    <ItemTemplate>
        <a href='javascript:Close("<%# Eval("FeedUrl") %>");' class="linkbutton"><%# Eval("FeedTitle") %></a>
    </ItemTemplate>
    </asp:DataList>    
        <div style="text-align: right; background: url('images/bluegradbg.png'); color: cornsilk; font-weight: bold;padding: 1px;width:97%;">
            <a href="javascript:Close();"><img src="images/closebox.gif" border="0" /></a>
        </div>
    </div>
    </div>

<input type='hidden' id="txtFeedSelection" />
<script type="text/javascript">
function Close(Url)
{
    // *** Callback on the parent window and return the URL back
    if (Url)
        window.parent.eval("RecentIFrameCallback('" + Url + "');");
    else
        window.parent.eval("RecentIFrameCallback();");
}
</script>
    </form>
    
</body>
</html>
