<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:thr='http://purl.org/syndication/thread/1.0' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/&quot;D0QBQ3w6cSp7ImA9WhRXGUo.&quot;'><id>tag:blogger.com,1999:blog-418782259706625102</id><updated>2011-12-27T00:42:32.219-08:00</updated><category term='JQUERY'/><category term='asp.net'/><category term='MSSQL'/><category term='store procedure in phpmyadmin'/><category term='Computer Networks'/><category term='Dynamic Menu In ASP.NET'/><category term='Database'/><category term='some programming definations'/><category term='model view controller'/><title>computer software and hardware</title><subtitle type='html'>Computer software development using different programming languages and relevant hardware component is my desire and my blogging aim too.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thingsaroundnepal.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://thingsaroundnepal.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>around me</name><uri>http://www.blogger.com/profile/02363222648151122254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;DEYEQnw7eip7ImA9WhRQGU8.&quot;'><id>tag:blogger.com,1999:blog-418782259706625102.post-7997879333387203222</id><published>2011-12-14T07:54:00.000-08:00</published><updated>2011-12-14T21:15:03.202-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-12-14T21:15:03.202-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic Menu In ASP.NET'/><title>Dynamic Menu In ASP.NET Using MSSQL, and XML</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Creating a dynamic menu which gets the menu items and sub menu item during the execution time of the asp.net project requires to construct a table say Menu where we insert the information of the menu items to be rendered in the asp page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-QGjGf3_0a2k/Tul9y_ZDwHI/AAAAAAAAAD8/7eOlRw-uOiE/s1600/Dynamic+menu+table+design.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="Design Table for Dynamic Menu" border="0" height="251" src="http://2.bp.blogspot.com/-QGjGf3_0a2k/Tul9y_ZDwHI/AAAAAAAAAD8/7eOlRw-uOiE/s320/Dynamic+menu+table+design.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Design Table for Dynamic Menu&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
First drag a menu control from the toolbox of the Visual Studio to the form where you want to see your dynamic menu. Then Create a table having a &lt;span style="font-weight: bold;"&gt;MenuId&lt;/span&gt; as primary key, &lt;span style="font-weight: bold;"&gt;MenuName&lt;/span&gt; where we insert the name of the menu to be displayed in the view page,&lt;span style="font-weight: bold;"&gt;UnderMenu&lt;/span&gt; where we insert sub menu which are to be shown on mouse hover. For example, on the mouse hover of &lt;span style="font-style: italic;"&gt;Tutorials&lt;/span&gt; Main Menu we need to show different topics such as &lt;span style="font-style: italic;"&gt;HTML,Ruby On Rails, C#, ASP.NET, JAVA, MSSQL&lt;/span&gt; etc. OR any thing else according to your choice.So now insert the data in the above table according to requirement.&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-hRJN_Aop7xo/Tul-kuTKtKI/AAAAAAAAAEE/c6Orq-KdUQI/s1600/Insert+data+into+table.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="Dynamic Menu" border="0" height="179" src="http://1.bp.blogspot.com/-hRJN_Aop7xo/Tul-kuTKtKI/AAAAAAAAAEE/c6Orq-KdUQI/s320/Insert+data+into+table.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Insert Data Into Table &lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;similarly go on adding menus in parent child relationship.&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;i&gt;&lt;span style="color: #444444;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;span style="color: #444444;"&gt;Here you can see that the parent menu are given under menu id '0' and its child are given its parents menu id as under menu id. Here you can see that MenuId of Company is 2, and its under menu is 0 which indicates that menu Company is parent menu. Then the other two menu Board of Directors and Organization Structure are filled with UnderMenu of 2, Which says that these two menu are child of Company menu.&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: #444444;"&gt; &lt;/span&gt;&lt;/i&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;Now  Its time to do some coding to create&amp;nbsp; xml consisting dynamically of all the values in the table given above.&amp;nbsp; The &lt;span style="font-weight: bold;"&gt;PostUrl &lt;/span&gt;field  in the above table give the url to follow on click of the menu such the you dont need to hard code Response.Redirect manually to redirect a click to different url.&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;So now the C# code goes here&lt;span style="font-weight: bold;"&gt;, &lt;/span&gt;&lt;span style="font-style: italic;"&gt;Its a bit complicated in viewing but try to understand it&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;.&lt;/span&gt;       &lt;br /&gt;
&lt;span style="color: #009900;"&gt;     &lt;span style="color: #000066;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000066; font-size: 85%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: blue;"&gt;
&lt;span style="font-size: 85%;"&gt;XmlDataSource xd = new XmlDataSource();&lt;br /&gt;        string xmlstr;&lt;br /&gt;        xmlstr = "";&lt;br /&gt;        xmlstr += "&lt;topmenu isenabled="true" isselectable="false" text="" tooltipmsg=""&gt;";&lt;/topmenu&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-style: italic;"&gt;Here you will have to make some connections  to your database table, open it and call it con.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #000099;"&gt;  &lt;span style="color: blue;"&gt;string sql = "select * from Menu where MenuId order by MenuId";&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: blue;"&gt;
        SqlCommand cmd = new SqlCommand(sql, con);&lt;/div&gt;
&lt;div style="color: blue;"&gt;
        SqlDataReader reader = cmd.ExecuteReader();&lt;/div&gt;
&lt;div style="color: blue;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="color: blue;"&gt;
   while (reader.Read())&lt;/div&gt;
&lt;div style="color: blue;"&gt;
        {&lt;/div&gt;
&lt;div style="color: blue;"&gt;
            string menuName = reader["MenuName"].ToString();&lt;/div&gt;
&lt;div style="color: blue;"&gt;
            string MenuId = reader["MenuId"].ToString();&lt;/div&gt;
&lt;div style="color: blue;"&gt;
            string underMenu = reader["UnderMenu"].ToString();&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-style: italic;"&gt;Checks if it is the parent menu. If its parent menu goes to find own child menu in the table&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #000099;"&gt;        &lt;span style="color: blue;"&gt;if (underMenu == "0")    &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: blue;"&gt;
            {&lt;/div&gt;
&lt;div style="color: blue;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;                xmlstr += " ";&lt;/div&gt;
&lt;span style="color: #000099;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string innerSql = "select * from Menu;&lt;/span&gt;&lt;i style="color: #444444;"&gt;&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;i style="color: #444444;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;i style="color: #444444;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; make another connection to your database and call it innercon&lt;/i&gt;&lt;br /&gt;
&lt;menu isselectable="true" text="&amp;quot; + menuName + &amp;quot;" tooltipmsg="&amp;quot; + menuName + &amp;quot;" url="#"&gt;&lt;span style="color: #000099;"&gt;&lt;/span&gt;&lt;/menu&gt;&lt;menu isselectable="true" style="color: blue;" text="&amp;quot; + menuName + &amp;quot;" tooltipmsg="&amp;quot; + menuName + &amp;quot;" url="#"&gt;SqlCommand innerCmd = new SqlCommand(innerSql, innercon);&lt;br /&gt;                SqlDataReader innerReader = innerCmd.ExecuteReader();&lt;br /&gt;                while (innerReader.Read())&lt;br /&gt;                {&lt;br /&gt;                    string innerMenuName = innerReader["MenuName"].ToString();&lt;br /&gt;                    string postUrl = innerReader["PostUrl"].ToString();&lt;br /&gt;                }&lt;/menu&gt;&lt;div style="color: blue;"&gt;
                innerReader.Close();&lt;/div&gt;
&lt;div style="color: blue;"&gt;
                innercon.Close();&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-style: italic;"&gt;Dont forget to close inner connections &lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #000099;"&gt;          &lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: blue;"&gt;
        }&lt;/div&gt;
&lt;div style="color: blue;"&gt;
        xmlstr += "";&lt;/div&gt;
&lt;div style="color: blue;"&gt;
        xd.CacheExpirationPolicy = DataSourceCacheExpiry.Absolute;&lt;/div&gt;
&lt;div style="color: blue;"&gt;
        xd.CacheDuration = 1;&lt;/div&gt;
&lt;div style="color: blue;"&gt;
        xd.EnableCaching = false;&lt;/div&gt;
&lt;div style="color: blue;"&gt;
        xd.Data = xmlstr;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="color: #444444;"&gt;
&lt;i&gt;MainMenu is the ID of the menu dragged from toolbox to the form in aspx. You can get or change your ID easily from the view.&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style="color: #000099;"&gt;        &lt;span style="color: blue;"&gt;MainMenu.DataSource = xd;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: blue;"&gt;
        MainMenu.DataBind();&lt;/div&gt;
&lt;div style="color: blue;"&gt;
    }&lt;/div&gt;
&lt;span style="color: #000099;"&gt;}&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style="color: #444444; font-size: 85%;"&gt;&lt;span style="font-style: italic;"&gt;Now the only thing left is the DataBinding portion of the program&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #444444; font-weight: bold;"&gt;. &lt;/span&gt;&lt;span style="color: #444444;"&gt;But if you like to have some designs in your menu you can add which will not affect the entire process how the menu is shown&lt;/span&gt;&lt;span style="color: #444444; font-weight: bold;"&gt;.&lt;/span&gt;&lt;span style="color: #444444; font-style: italic;"&gt;In aspx page add the databinding functionality.&lt;/span&gt;&lt;/i&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #000099; font-size: 85%;"&gt;&lt;asp:menu id="MainMenu" orientation="Horizontal"&gt;&lt;databindings&gt;&amp;nbsp;&lt;/databindings&gt;&lt;/asp:menu&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #000099; font-size: 85%;"&gt;&lt;asp:menu id="MainMenu" orientation="Horizontal"&gt;&lt;databindings&gt;&amp;lt;asp:Menu ID="MainMenu" Orientation="Horizontal" BackColor="#000000"&amp;gt;&lt;/databindings&gt;&lt;/asp:menu&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: blue;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style="color: #000099; font-size: 85%;"&gt;&lt;asp:menu id="MainMenu" orientation="Horizontal"&gt;&lt;databindings&gt;&lt;span style="color: blue;"&gt;&amp;lt;DataBindings&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:MenuItemBinding DataMember="TopMenu" TextField="text" ValueField="text" SelectableField="isSelectable" ToolTipField="toolTipMsg" EnabledField="isEnabled" /&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:MenuItemBinding DataMember="Menu" TextField="text" ValueField="text"&amp;nbsp; NavigateUrlField="url" SelectableField="isSelectable" ToolTipField="toolTipMsg"/&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:MenuItemBinding DataMember="SubMenu" TextField="text" ValueField="text" NavigateUrlField="url" SelectableField="isSelectable" /&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;lt;/DataBindings&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;           &lt;/span&gt;&lt;asp:menuitembinding datamember="TopMenu" enabledfield="isEnabled" selectablefield="isSelectable" textfield="text" tooltipfield="toolTipMsg" valuefield="text"&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;            &lt;/span&gt;&lt;asp:menuitembinding datamember="Menu" navigateurlfield="url" selectablefield="isSelectable" textfield="text" tooltipfield="toolTipMsg" valuefield="text"&gt;&lt;span style="color: blue;"&gt;&amp;lt;/MainMenu&amp;gt;&lt;/span&gt;&lt;br /&gt;             &lt;asp:menuitembinding datamember="SubMenu" navigateurlfield="url" selectablefield="isSelectable" textfield="text" valuefield="text"&gt;&lt;br /&gt;              &lt;/asp:menuitembinding&gt;&lt;br /&gt;&lt;br /&gt;    &lt;/asp:menuitembinding&gt;&lt;/asp:menuitembinding&gt;&lt;/databindings&gt;&lt;/asp:menu&gt;&lt;/span&gt;&lt;i&gt;&lt;span style="color: #444444;"&gt;The above mentioned MainMenu is ID of the menu dragged and dropped into the aspx page&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: #444444; font-style: italic;"&gt;default color taken by the menu may have been white so try to add colors to the menu &lt;/span&gt;&lt;span style="color: #444444;"&gt;styles&lt;/span&gt;&lt;/i&gt;&lt;span style="color: #444444;"&gt;.&lt;/span&gt;&lt;span style="color: red; font-size: 78%;"&gt;&lt;span style="font-style: italic;"&gt;Menu Style will be covered later on this blog.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/418782259706625102-7997879333387203222?l=thingsaroundnepal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thingsaroundnepal.blogspot.com/feeds/7997879333387203222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/12/dynamic-menu-in-aspnet-using-mssql-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/7997879333387203222?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/7997879333387203222?v=2'/><link rel='alternate' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/12/dynamic-menu-in-aspnet-using-mssql-and.html' title='Dynamic Menu In ASP.NET Using MSSQL, and XML'/><author><name>around me</name><uri>http://www.blogger.com/profile/02363222648151122254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-QGjGf3_0a2k/Tul9y_ZDwHI/AAAAAAAAAD8/7eOlRw-uOiE/s72-c/Dynamic+menu+table+design.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CkUAQ3oyfip7ImA9WhRQF0Q.&quot;'><id>tag:blogger.com,1999:blog-418782259706625102.post-5668927024455854128</id><published>2011-12-12T08:14:00.000-08:00</published><updated>2011-12-13T07:30:42.496-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-12-13T07:30:42.496-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='store procedure in phpmyadmin'/><title>Difference between Store Procedures and Triggers</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-ph8g-xNCBEM/TudvDV0WMuI/AAAAAAAAAD0/1J_U9nGskLg/s1600/procedure%2Bin%2Bphpmyadmin.png"&gt;&lt;img style="float: right; margin: 0pt 0pt 10px 10px; cursor: pointer; width: 200px; height: 128px;" src="http://1.bp.blogspot.com/-ph8g-xNCBEM/TudvDV0WMuI/AAAAAAAAAD0/1J_U9nGskLg/s200/procedure%2Bin%2Bphpmyadmin.png" alt="" id="BLOGGER_PHOTO_ID_5685635157765534434" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;We can call procedures explicitly but trigger is automatically invoked when the action defined in trigger is performed. Store procedure can't be inactive but triggers can be inactive.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;With this short introduction of store procedure and trigger I want to give idea of creating store procedures in any &lt;a href="http://phpmyadmin.net/"&gt;phpmyadmin&lt;/a&gt; . It's all same as creating store procedure in MSSQL but the little different part is the delimiter determination. So we have to set delimiter from ';' to '//' which is only one tricky part of store procedure in MySQL.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/418782259706625102-5668927024455854128?l=thingsaroundnepal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thingsaroundnepal.blogspot.com/feeds/5668927024455854128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/12/difference-between-store-procedures-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/5668927024455854128?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/5668927024455854128?v=2'/><link rel='alternate' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/12/difference-between-store-procedures-and.html' title='Difference between Store Procedures and Triggers'/><author><name>around me</name><uri>http://www.blogger.com/profile/02363222648151122254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-ph8g-xNCBEM/TudvDV0WMuI/AAAAAAAAAD0/1J_U9nGskLg/s72-c/procedure%2Bin%2Bphpmyadmin.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DE4MQns8cSp7ImA9WhRQFkw.&quot;'><id>tag:blogger.com,1999:blog-418782259706625102.post-5500439906490884848</id><published>2011-12-11T07:05:00.000-08:00</published><updated>2011-12-11T07:23:03.579-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-12-11T07:23:03.579-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='model view controller'/><title>Model View Controller Framework</title><content type='html'>&lt;span style="font-weight: bold;"&gt;M&lt;/span&gt;odel &lt;span style="font-weight: bold;"&gt;V&lt;/span&gt;iew &lt;span style="font-weight: bold;"&gt;C&lt;/span&gt;ontroller framework(&lt;span style="font-weight: bold;"&gt;MVC&lt;/span&gt;) is a software architecture. The Pattern isolates "domain logic" (the application logic for the user) from the user interface(input and presentation), permitting independent development, testing and maintenance of each(separation of concerns).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;MODEL&lt;/span&gt; is not necessarily merely a database; the model in MVC is both data and the business/domain.&lt;br /&gt;The model manages the behaviour and data of the application domain, responds to request for information about its state (usually from view) and responds to instruction to change state(usually from the controller).&lt;br /&gt;&lt;br /&gt;The &lt;span style="font-weight: bold;"&gt;CONTROLLER &lt;/span&gt;receiver the input and initiates a response by making calls on model objects. A controller accepts input from the user and view part to perform actions based on that input.&lt;br /&gt;&lt;br /&gt;The &lt;span style="font-weight: bold;"&gt;VIEW &lt;/span&gt;renders the model into a form suitable for interaction, typically a user interface element. Multiple views can exists for a single model for different purpose. A view part typically has a one to one correspondence with a display surface and known to render to it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/418782259706625102-5500439906490884848?l=thingsaroundnepal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thingsaroundnepal.blogspot.com/feeds/5500439906490884848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/12/model-view-controller-framework.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/5500439906490884848?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/5500439906490884848?v=2'/><link rel='alternate' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/12/model-view-controller-framework.html' title='Model View Controller Framework'/><author><name>around me</name><uri>http://www.blogger.com/profile/02363222648151122254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CUUEQnkyeip7ImA9WhRQE0w.&quot;'><id>tag:blogger.com,1999:blog-418782259706625102.post-3090468100032395173</id><published>2011-12-07T19:00:00.000-08:00</published><updated>2011-12-07T19:00:03.792-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-12-07T19:00:03.792-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='some programming definations'/><title>Some Definations</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;What is Serialization?&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #0b5394;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;- The process of&amp;nbsp; writing the state of an object to a byte system is called serialization, also, it is used to save the program to persistent storage area, like a file and easily restore using deserialization process.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Why do we need finalize() method when Garbage Collection is there?&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #0b5394;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;-Some time an object (which is lost there object reference) is holding some JAVA resources like file handle, Character font, need to free from the resource before that object is collected by JVM or say garbage collection.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;Why finally methods in exceptions?&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;- The finally method will be executed after a try or catch execution, and mainly used to free up resources. Any code that must be execute before a method returns is put in a finally block.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try {&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // block of code to monitor for errors&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(Exception exObject)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // exception handler for Exception Type1&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; finally&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // block of code to be executed before method returns&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;Method Overloading ?&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp; -&amp;nbsp;&amp;nbsp; &lt;span style="color: lime;"&gt;Operator Overloading&lt;/span&gt; is a specific case of polymorphism in which some or all of opertors like&amp;nbsp;&amp;nbsp;&amp;nbsp; +,=,or == have different implementations depending on the types of their arguments.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&lt;span style="color: lime;"&gt;Function Overloading &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;or method overloading allows to creation of several methods with the same name which differ from each other in terms of the type of input and the type of the output of the function(not available in JAVA).&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;Method overloading is usually associated with statically-typed programming languages which enforce type checking in functions call.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;Method Overriding ?&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;- In overriding, a method in a super class is overridden the subclass. The method in the subclass will have the same signature as that of the super class, Since the method in the subclass has the same signature and name as the method of its superclass, it is termed as overriding.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;b&gt;&lt;span style="color: #0b5394;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/418782259706625102-3090468100032395173?l=thingsaroundnepal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thingsaroundnepal.blogspot.com/feeds/3090468100032395173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/12/some-definations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/3090468100032395173?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/3090468100032395173?v=2'/><link rel='alternate' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/12/some-definations.html' title='Some Definations'/><author><name>around me</name><uri>http://www.blogger.com/profile/02363222648151122254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A08MQ38_eip7ImA9WhRQE0Q.&quot;'><id>tag:blogger.com,1999:blog-418782259706625102.post-4440433620243942699</id><published>2011-12-05T08:01:00.001-08:00</published><updated>2011-12-08T19:04:42.142-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-12-08T19:04:42.142-08:00</app:edited><title>Telnet - SMTP Commands (sending mail using telnet)</title><content type='html'>Telnet - SMTP Commands (sending mail using telnet)&lt;p&gt;&lt;/p&gt;&lt;p&gt;  In order to access your mailbox you will need three things.&lt;/p&gt;&lt;p&gt; 1. An active internet connection.&lt;/p&gt;&lt;p&gt; 2. The address of a mail server capable of relaying for you - usually&lt;br /&gt;provided by your internet provider.(e.g. mail.domain.ext)&lt;/p&gt;&lt;p&gt; 3. A valid email address(e.g. mail@domain.ext)&lt;/p&gt;&lt;p&gt;  After verification of the above mentioned three points go to following steps.&lt;/p&gt;&lt;p&gt; 1. The first thing is to do is open a connection from your computer&lt;br /&gt;to your mail server.&lt;/p&gt;&lt;p&gt;                telnet mail.domain.ext 25&lt;/p&gt;&lt;p&gt;  you should receive a reply like:&lt;/p&gt;&lt;p&gt;  Trying ???.???.???.???...&lt;br /&gt;  Connected to mail.domain.ext.&lt;br /&gt;  Escape character is '^]'.&lt;br /&gt;  220 mail.domain.ext ESMTP Sendmail ?version-number?; ?date+time+gmtoffset?&lt;/p&gt;&lt;p&gt; 2. You will then need to delcare where you are sending the email from:&lt;/p&gt;&lt;p&gt;  HELO&lt;br /&gt;  &lt;br /&gt;  - dont worry too much about your local domain name although you&lt;br /&gt;really should use your exact fully qualified domain name as seen by&lt;br /&gt;the outside world     the mail server has no choice but to take your&lt;br /&gt;word for it as of RFC822-RFC1123.&lt;br /&gt;           This should give you:&lt;br /&gt;  &lt;br /&gt;    250 mail.domain.ext Hello   [loc.al.i.p], pleased&lt;br /&gt;to meet you&lt;/p&gt;&lt;p&gt; 3. Now give your email address:&lt;/p&gt;&lt;p&gt;                 (On many mailservers the space after the : is&lt;br /&gt;required rather that optional.)&lt;br /&gt;  &lt;br /&gt;   MAIL FROM: mail@domain.ext&lt;br /&gt;   Should yeild:&lt;br /&gt;   250 2.1.0 mail@domain.ext... Sender ok&lt;/p&gt;&lt;p&gt; 4. If it doesn't please see possible problems.&lt;/p&gt;&lt;p&gt; 5. Now give the recipients address:&lt;br /&gt;  &lt;br /&gt;  RCPT TO: mail@otherdomain.ext&lt;br /&gt;  Should yeild:&lt;br /&gt;  250 2.1.0 mail@otherdomain.ext... Recipient ok&lt;br /&gt; 6. If it doesn't please see possible problems. Note Google mail&lt;br /&gt;servers require &amp;lt; and &amp;gt; around the email address.&lt;/p&gt;&lt;p&gt; 7. To start composing the message issue the command DATA&lt;/p&gt;&lt;p&gt; 8. If you want a subject for your email type Subject:-type subject&lt;br /&gt;here- then press enter twice (these are needed to conform to RFC 882)&lt;/p&gt;&lt;p&gt; 9. You may now proceed to type the body of your message (e.g. hello&lt;br /&gt;mail@otherdomain.ext from mail@domain.ext)&lt;/p&gt;&lt;p&gt; 10. To tell the mail server that you have completed the message enter&lt;br /&gt;a single "." on a line on it's own.&lt;br /&gt; &lt;br /&gt;  The mail server should reply with: 250 2.0.0 ???????? Message&lt;br /&gt;accepted for delivery&lt;/p&gt;&lt;p&gt; 11. You can close the connection by issuing the QUIT command.&lt;br /&gt; &lt;br /&gt;  The mailserver should reply with something like:221 2.0.0&lt;br /&gt;mail.domain.ext closing connection&lt;br /&gt;  Connection closed by foreign host.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/418782259706625102-4440433620243942699?l=thingsaroundnepal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thingsaroundnepal.blogspot.com/feeds/4440433620243942699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/12/telnet-smtp-commands-sending-mail-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/4440433620243942699?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/4440433620243942699?v=2'/><link rel='alternate' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/12/telnet-smtp-commands-sending-mail-using.html' title='Telnet - SMTP Commands (sending mail using telnet)'/><author><name>around me</name><uri>http://www.blogger.com/profile/02363222648151122254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;AkMNQH09cCp7ImA9WhRRF08.&quot;'><id>tag:blogger.com,1999:blog-418782259706625102.post-93986988105417362</id><published>2011-11-30T07:18:00.000-08:00</published><updated>2011-12-01T00:34:51.368-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-12-01T00:34:51.368-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title>Database Management System</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Normalization&lt;/b&gt; is the process of organizing data in a database. This includes creating tables and&lt;br /&gt;
establishing relationships between those tables according to rules designed both to protect the&lt;br /&gt;
data and to make the database more flexible by eliminating two factors: redundancy and&lt;br /&gt;
inconsistent dependency.&lt;br /&gt;
Redundant data wastes disk space and creates maintenance problems. If data that exists in more&lt;br /&gt;
than one place must be changed, the data must be changed in exactly the same way in all&lt;br /&gt;
locations. A change in the customer is much easier to implement if that data is stored only in the&lt;br /&gt;
Customers table and nowhere else in the database.&lt;br /&gt;
What is an "inconsistent dependency"? While it is intuitive for a user to look in the Customers table&lt;br /&gt;
for the address of a particular customer, it may not make sense to look there for the salary of the&lt;br /&gt;
employee who calls on that customer. The employee's salary is related to, or dependent on, the&lt;br /&gt;
employee and thus should be moved to the Employees table. Inconsistent dependencies can&lt;br /&gt;
make data difficult to access; the path to find the data may be missing or broken.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: black;"&gt;&lt;b&gt;Goals&lt;/b&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Ensuring data dependencies make sense.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Role of Normalization.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="color: black;"&gt; &lt;/div&gt;&lt;br /&gt;
&lt;b&gt;Role of Normalization&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
In the E-R model, a conceptual schema using an entity- relationship diagram is built and then&lt;br /&gt;
mapped to a set of relations. This technique ensures that each entity has information about only&lt;br /&gt;
one thing and once the conceptual schema is mapped into a set of relations, each relation would&lt;br /&gt;
have information about only one thing. The relations thus obtained would normally not suffer from&lt;br /&gt;
any of the anomalies. This bottom-up approach is likely to lead to a relation that is likely to suffer&lt;br /&gt;
from all the problemsn. For example, the relation is highly likely to have redundant information and&lt;br /&gt;
update, deletion and insertion anomalies. Normalization of such large relation will then be essential&lt;br /&gt;
to avoid (or at least minimize) these problems.&lt;br /&gt;
Now to define the normal forms more formally, we first need to define the concept of functional&lt;br /&gt;
dependence.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Functional Dependency&lt;/b&gt;&lt;br /&gt;
&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
Consider a relation R that has two attributes A and B. The attribute B of the relation is functionally&lt;br /&gt;
dependent on the attribute A if and only if for each value of A no more than one value of B is&lt;br /&gt;
associated. In other words, the value of attribute A uniquely determines the value of B and if there&lt;br /&gt;
were several tuples that had the same value of A then all these tuples will have an identical value&lt;br /&gt;
of attribute B.&lt;br /&gt;
If B is functionally dependent on A (or A functionally determines B).&lt;br /&gt;
&lt;br /&gt;
For example, in the student database that we have discussed earlier, we have the following&lt;br /&gt;
functional dependencies:&lt;br /&gt;
sno -&amp;gt; sname&lt;br /&gt;
sno -&amp;gt; address&lt;br /&gt;
cno -&amp;gt; cname&lt;br /&gt;
cno -&amp;gt; instructor&lt;br /&gt;
instructor -&amp;gt; office&lt;br /&gt;
&lt;br /&gt;
These functional dependencies imply that there can be only one name for each sno, only one&lt;br /&gt;
address for each student and only one subject name for each cno. It is of course possible that&lt;br /&gt;
several students may have the same name and several students may live at the same address. If&lt;br /&gt;
we consider cno -&amp;gt; instructor, the dependency implies that no subject can have more than one&lt;br /&gt;
instructor (perhaps this is not a very realistic assumption). Functional dependencies therefore&lt;br /&gt;
place constraints on what information the database may store. In the above example, one may be&lt;br /&gt;
wondering if the following FDs hold&lt;br /&gt;
sname -&amp;gt; sno&lt;br /&gt;
cname -&amp;gt; cno&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;First Normal Form (1NF)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
A table satisfying the properties of a relation is said to be in first normal form. As discussed in an&lt;br /&gt;
earlier chapter, a relation cannot have multivalued or composite attributes. This is what the 1NF&lt;br /&gt;
requires.&lt;br /&gt;
A relation is in 1NF if and only if all underlying domains contain atomic values only.&lt;br /&gt;
The first normal form deals only with the basic structure of the relation and does not resolve the&lt;br /&gt;
problems of redundant information or the anomalies discussed earlier. All relations discussed in&lt;br /&gt;
these notes are in 1NF.&lt;br /&gt;
For example consider the following example relation:&lt;br /&gt;
student (sno, sname, dob)&lt;br /&gt;
Add some other attributes so it has anomalies and is not in 2NF&lt;br /&gt;
&lt;br /&gt;
The attribute dob is the date of birth and the primary key of the relation is sno with the functional&lt;br /&gt;
dependencies sno -&amp;gt; sname and sno -&amp;gt; dob. The relation is in 1NF as long as dob is considered&lt;br /&gt;
an atomic value and not consisting of three components (day, month, year). The above relation of&lt;br /&gt;
course suffers from all the anomalies that we have discussed earlier and needs to be normalized.&lt;br /&gt;
(add example with date of birth)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Second Normal Form (2NF)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The second normal form attempts to deal with the problems that are identified with the relation&lt;br /&gt;
above that is in 1NF. The aim of second normal form is to ensure that all information in one&lt;br /&gt;
relation is only about one thing.&lt;br /&gt;
A relation is in 2NF if it is in 1NF and every non-key attribute is fully dependent on each candidate&lt;br /&gt;
key of the relation.&lt;br /&gt;
To understand the above definition of 2NF we need to define the concept of key attributes. Each&lt;br /&gt;
attribute of a relation that participates in at least one candidate key of is a key attribute of the&lt;br /&gt;
relation. All other attributes are called non-key.&lt;br /&gt;
The concept of 2NF requires that all attributes that are not part of a candidate key be fully&lt;br /&gt;
dependent on each candidate key. If we consider the relation&lt;br /&gt;
student (sno, sname, cno, cname)&lt;br /&gt;
and the functional dependencies&lt;br /&gt;
sno -&amp;gt; cname&lt;br /&gt;
cno -&amp;gt; cname&lt;br /&gt;
&lt;br /&gt;
and assume that (sno, cno) is the only candidate key (and therefore the primary key), the relation&lt;br /&gt;
is not in 2NF since sname and cname are not fully dependent on the key. The above relation&lt;br /&gt;
suffers from the same anomalies and repetition of information as discussed above since sname&lt;br /&gt;
and cname will be repeated. To resolve these difficulties we could remove those attributes from&lt;br /&gt;
the relation that are not fully dependent on the candidate keys of the relations. Therefore we&lt;br /&gt;
decompose the relation into the following projections of the original relation:&lt;br /&gt;
S1 (sno, sname)&lt;br /&gt;
S2 (cno, cname)&lt;br /&gt;
SC (sno, cno)&lt;br /&gt;
Use an example that leaves one relation in 2NF but not in 3NF.&lt;br /&gt;
We may recover the original relation by taking the natural join of the three relations.&lt;br /&gt;
If however we assume that sname and cname are unique and therefore we have the following&lt;br /&gt;
candidate keys&lt;br /&gt;
(sno, cno)&lt;br /&gt;
(sno, cname)&lt;br /&gt;
(sname, cno)&lt;br /&gt;
(sname, cname)&lt;br /&gt;
The above relation is now in 2NF since the relation has no non-key attributes. The relation still has&lt;br /&gt;
the same problems as before but it then does satisfy the requirements of 2NF. Higher level&lt;br /&gt;
normalization is needed to resolve such problems with relations that are in 2NF and further&lt;br /&gt;
normalization will result in decomposition of such relations.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Third Normal Form (3NF)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Although transforming a relation that is not in 2NF into a number of relations that are in 2NF&lt;br /&gt;
removes many of the anomalies that appear in the relation that was not in 2NF, not all anomalies&lt;br /&gt;
are removed and further normalization is sometime needed to ensure further removal of&lt;br /&gt;
anomalies. These anomalies arise because a 2NF relation may have attributes that are not directly&lt;br /&gt;
related to the thing that is being described by the candidate keys of the relation. Let us first define&lt;br /&gt;
the 3NF.&lt;br /&gt;
A relation R is in third normal form if it is in 2NF and every non-key attribute of R is non-transitively&lt;br /&gt;
dependent on each candidate key of R.&lt;br /&gt;
To understand the third normal form, we need to define transitive dependence which is based on&lt;br /&gt;
one of Armstrong's axioms. Let A, B and C be three attributes of a relation R such that A -&amp;gt; B and&lt;br /&gt;
B -&amp;gt; C. From these FDs, we may derive A -&amp;gt; C. As noted earlier, this dependence A -&amp;gt; C is&lt;br /&gt;
transitive.&lt;br /&gt;
The 3NF differs from the 2NF in that all non-key attributes in 3NF are required to be directly&lt;br /&gt;
dependent on each candidate key of the relation. The 3NF therefore insists, in the words of Kent&lt;br /&gt;
(1983) that all facts in the relation are about the key (or the thing that the key identifies), the whole&lt;br /&gt;
key and nothing but the key. If some attributes are dependent on the keys transitively then that is&lt;br /&gt;
an indication that those attributes provide information not about the key but about a kno-key&lt;br /&gt;
attribute. So the information is not directly about the key, although it obviously is related to the key.&lt;br /&gt;
Consider the following relation&lt;br /&gt;
subject (cno, cname, instructor, office)&lt;br /&gt;
Assume that cname is not unique and therefore cno is the only candidate key. The following&lt;br /&gt;
functional dependencies exist&lt;br /&gt;
sno -&amp;gt; cname&lt;br /&gt;
cno -&amp;gt; instructor&lt;br /&gt;
instructor -&amp;gt; office&lt;br /&gt;
We can derive cno -&amp;gt; office from the above functional dependencies and therefore the above&lt;br /&gt;
relation is in 2NF. The relation is however not in 3NF since office is not directly dependent on cno.&lt;br /&gt;
This transitive dependence is an indication that the relation has information about more than one&lt;br /&gt;
thing (viz. course and instructor) and should therefore be decomposed. The primary difficulty with&lt;br /&gt;
the above relation is that an instructor might be responsible for several subjects and therefore his&lt;br /&gt;
office address may need to be repeated many times. This leads to all the problems that we&lt;br /&gt;
identified at the beginning of this chapter. To overcome these difficulties we need to decompose&lt;br /&gt;
the above relation in the following two relations:&lt;br /&gt;
s (cno, cname, instructor)&lt;br /&gt;
ins (instructor, office)&lt;br /&gt;
s is now in 3NF and so is ins.&lt;br /&gt;
An alternate decomposition of the relation subject is possible:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/418782259706625102-93986988105417362?l=thingsaroundnepal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thingsaroundnepal.blogspot.com/feeds/93986988105417362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/11/database-management-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/93986988105417362?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/93986988105417362?v=2'/><link rel='alternate' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/11/database-management-system.html' title='Database Management System'/><author><name>around me</name><uri>http://www.blogger.com/profile/02363222648151122254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0EBSX45fSp7ImA9WhRRFUo.&quot;'><id>tag:blogger.com,1999:blog-418782259706625102.post-5788046715324125855</id><published>2011-11-29T07:14:00.000-08:00</published><updated>2011-11-29T07:14:18.025-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-29T07:14:18.025-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='JQUERY'/><title>jQuery</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Image SlideShow Using jQuery&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: red;"&gt;&lt;u&gt;index.html&lt;/u&gt;&lt;/div&gt;&lt;div style="color: red;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: red;"&gt;&lt;span style="color: blue;"&gt;&amp;lt;!doctype html&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;lt;html&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" href="css/style.css"&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Image SlideShow&amp;lt;/title&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;header id="main-header"&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/header&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;section id="slideshow-app"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="slideshow-frame"&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ul id="slideshow-nav"&amp;gt;&amp;lt;/ul&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ul id="slideshow-images"&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li class = "visible"&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figure class="slideshow-image"&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img alt="" src="images/everest.jpg" /&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figcaption&amp;gt;Everest Nepal&amp;lt;/figcaption&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/figure&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/li&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figure class="slideshow-image" &amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img alt="" src="images/mountain-lake.jpg" /&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figcaption&amp;gt;Mountain Lake&amp;lt;/figcaption&amp;gt; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/figure&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/li&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figure class="slideshow-image" &amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img alt="" src="images/kantegapeak.jpg" /&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figcaption&amp;gt;Kantega Peak&amp;lt;/figcaption&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/figure&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/li&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figure class="slideshow-image" &amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img alt="" src="images/khumbu_valley.jpg" /&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figcaption&amp;gt;Khumbu Valley&amp;lt;/figcaption&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/figure&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/li&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figure class="slideshow-image" &amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img alt="" src="images/mount everest.jpg" /&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figcaption&amp;gt;Mount Everest&amp;lt;/figcaption&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/figure&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/li&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figure class="slideshow-image" &amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img alt="" src="images/mt_everest.jpg" /&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figcaption&amp;gt;Sagarmatha&amp;lt;/figcaption&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/figure&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/li&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figure class="slideshow-image" &amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img alt="" src="images/view-at-chomrong.jpg" /&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figcaption&amp;gt;View at Chomrong&amp;lt;/figcaption&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/figure&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/li&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="slide-control"&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a id="previous-slide" href="#"&amp;gt;&amp;amp;larr;&amp;lt;/a&amp;gt; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a id="play-toggle" href=""&amp;gt;Pause&amp;lt;/a&amp;gt; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a id="next-slide" href=""&amp;gt;&amp;amp;rarr;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/section&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;footer&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="js/jquery-1.5.1.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="js/application.js"&amp;gt;&amp;lt;/script&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/footer&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt; &lt;/div&gt;&lt;div style="color: red;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: red;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: red;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: red;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: red;"&gt;&lt;u&gt;application.js&lt;/u&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;function slide_next() {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#slideshow-nav li#"+ page).removeClass("current-slide");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (page &amp;gt;= total_images)&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; page= 1;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; page++;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#slideshow-nav li#"+ page).addClass("current-slide");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#pagination").text(page);&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var current = $('#slideshow-images li.visible');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; current.removeClass('visible');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; current.fadeOut(100);&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var remaining_images = current.nextAll().length;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (remaining_images == 0) {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $('#slideshow-images li:first').addClass('visible');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $('#slideshow-images li:first').fadeIn('slow');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; current.next().fadeIn("slow");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; current.next().addClass('visible'); &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;function slide_jump(img_number) {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#slideshow-nav li#"+ page).removeClass("current-slide");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var current = $('#slideshow-images li.visible');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; current.removeClass('visible');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; current.fadeOut(100);&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; page=img_number;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#slideshow-nav li#"+ page).addClass("current-slide");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#slideshow-nav li#"+ page).addClass("current-slide");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var first_image = $('#slideshow-images li:first');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=1;i&amp;lt;page;i++)&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; first_image = first_image.next();&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; first_image.addClass('visible');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; first_image.fadeIn('slow');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;function slide_previous() {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#slideshow-nav li#"+ page).removeClass("current-slide");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (page &amp;lt;= 1)&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; page= total_images;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; page--;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#slideshow-nav li#"+ page).addClass("current-slide");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#pagination").text(page);&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var current = $('#slideshow-images li.visible');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; current.removeClass('visible');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; current.fadeOut(100);&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var remaining_images = current.prevAll().length;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (remaining_images == 0) {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $('#slideshow-images li:last').addClass('visible');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $('#slideshow-images li:last').fadeIn('slow');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; current.prev().addClass('visible');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; current.prev().fadeIn('slow');&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;function auto_play() {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (play == true) &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; slide_next();&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;function play_toggle() {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if ($("#play-toggle").text()=="Pause") {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; play=false;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $("#play-toggle").text("Play");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; play=true;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $("#play-toggle").text("Pause");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;$(function () {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; play = true;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; page=1;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#pagination").text(page);&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; total_images= $('#slideshow-images li.visible').nextAll().length +1;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=1;i&amp;lt;=total_images;i++) {&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $('#slideshow-nav').append("&amp;lt;li&amp;gt;.&amp;lt;/li&amp;gt;");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $('#slideshow-nav li:last').attr("id",i);&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#slideshow-nav li").click(function () {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; slide_jump(this.id);&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#slideshow-images li:first').fadeIn("slow");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#slideshow-nav li#"+ page).addClass("current-slide");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //automatic slide show&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setInterval("auto_play()",1500);&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#next-slide').click( function () {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; slide_next();&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return false;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#play-toggle').click( function () {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; play_toggle();&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return false;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#slideshow-frame, #slide-control").mouseover(function () {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; play=false;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#slideshow-frame, #slide-control").mouseout(function() {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if ($("#play-toggle").text()=="Pause")&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; play=true;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#previous-slide').click( function () {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; slide_previous();&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return false;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;});&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: red;"&gt;&lt;u&gt;style.css&lt;/u&gt;&lt;/div&gt;&lt;div style="color: red;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style="color: blue;"&gt;body {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align: center;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;#slideshow-app {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; background: #000000;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 8px 0px 10px 0px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;#slideshow-frame {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; border: solid 1px #D4CDCF;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 620px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 660px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; display:inline-block;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; border-radius: 20px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding-top: 0px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; background: #000000;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; overflow: hidden;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin-bottom: 10px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding-right: 30px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;#pagination {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; color: #D4CDCF;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;ul#slideshow-nav {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cursor: hand;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;ul#slideshow-nav li{&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; display:inline;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; color: #73172E;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size: 30px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-weight: bolder;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding-right: 15px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;ul#slideshow-nav li.current-slide {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; color: #D4CDCF;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;ul#slideshow-images {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; list-style: none;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; overflow:hidden;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;ul#slideshow-images li {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; display: none;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; overflow: hidden;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;ul#slideshow-images li img {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -webkit-box-reflect: below 5px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(.8, transparent), to(white));&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -webkit-border-radius: 7px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin-bottom: 100px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 400px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 533px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;figure.slideshow-image figcaption {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; color: #D4CDCF;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;figcaption {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; display:block;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;#slide-control a {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; text-decoration: none;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size: 30px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 0px 18px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color: #000000; /* fallback color */&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; background: -moz-linear-gradient(100% 100% 90deg, #303030, #000000);&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#505050), to(#000000));&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; color: #FFFFFF;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -moz-border-radius: 10px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -webkit-border-radius: 10px;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; box-shadow: 0 5px 5px rgba(0,0,0,.4);&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; text-shadow: 0 3px 3px rgba(255,255,255,.6);&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;#slide-control a:hover {&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#666666), to(#666666), color-stop(.6,#333));&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color: #000000;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/418782259706625102-5788046715324125855?l=thingsaroundnepal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thingsaroundnepal.blogspot.com/feeds/5788046715324125855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/11/jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/5788046715324125855?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/5788046715324125855?v=2'/><link rel='alternate' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/11/jquery.html' title='jQuery'/><author><name>around me</name><uri>http://www.blogger.com/profile/02363222648151122254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;C04MRH44eyp7ImA9WhRRF0w.&quot;'><id>tag:blogger.com,1999:blog-418782259706625102.post-6278719562471264587</id><published>2011-11-29T06:55:00.000-08:00</published><updated>2011-11-30T19:59:45.033-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-30T19:59:45.033-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Computer Networks'/><title>Computer Networks</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-ufgLwZmJZPg/TtXqZzMGlJI/AAAAAAAAABk/Tvi1p6Tis0Q/s1600/Gnutella.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-w8AbNC_458o/TtXp7HGuocI/AAAAAAAAABU/9TwIQN6nNh4/s1600/p2p.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-mrsj6BuPFh8/TtXqJ6VaJlI/AAAAAAAAABc/3ljdNte2gKg/s1600/CSArchitecture.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-mrsj6BuPFh8/TtXqJ6VaJlI/AAAAAAAAABc/3ljdNte2gKg/s1600/CSArchitecture.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;m:smallfrac m:val="off"&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val="0"&gt;    &lt;m:rmargin m:val="0"&gt;    &lt;m:defjc m:val="centerGroup"&gt;    &lt;m:wrapindent m:val="1440"&gt;    &lt;m:intlim m:val="subSup"&gt;    &lt;m:narylim m:val="undOvr"&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;div align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Network Architecture (model)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;m:smallfrac m:val="off"&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val="0"&gt;    &lt;m:rmargin m:val="0"&gt;    &lt;m:defjc m:val="centerGroup"&gt;    &lt;m:wrapindent m:val="1440"&gt;    &lt;m:intlim m:val="subSup"&gt;    &lt;m:narylim m:val="undOvr"&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;/div&gt;&lt;div align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;1. Peer-to-peer architecture&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&lt;br /&gt;
&amp;nbsp; Often referred to simply as peer-to-peer, or abbreviated &lt;a href="http://prashiddha.com.np/"&gt;P2P&lt;/a&gt;, peer-to-peer architecture is a type of network in which each workstation has equivalent capabilities and responsibilities. This differs from client/server architectures where some computers are dedicated to serving the others. Peer-to-peer networks are generally simpler but they usually do not offer the same performance under heavy loads. The P2P network itself relies on computing power at the ends of a connection rather than from within the network itself.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;P2P computing takes advantage of existing computing power, computer storage and networking connectivity, allowing users to leverage their collective power to the ‘benefit’ of all.&lt;/span&gt;&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/-w8AbNC_458o/TtXp7HGuocI/AAAAAAAAABU/9TwIQN6nNh4/s1600/p2p.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="239" src="http://4.bp.blogspot.com/-w8AbNC_458o/TtXp7HGuocI/AAAAAAAAABU/9TwIQN6nNh4/s320/p2p.png" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;All nodes are both clients and servers. Each node provides and consumes data and any one node can initiate a connection.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&amp;nbsp;&amp;nbsp; i. How Peer-to-peer File-sharing Clients Work&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Once you have downloaded and installed a P2P client, if you are connected to the Internet you can launch the utility and you are then logged into a central indexing server. This central server indexes all users who are currently online connected to the server. This server does not host any files for downloading. The P2P client will contain an area where you can search for a specific file. The utility queries the index server to find other connected users with the file you are looking for. When a match is found the central server will tell you where to find the requested file. You can then choose a result from the search query and your utility when then attempt to establish a connection with the computer hosting the file you have requested. If a successful connection is made, you will begin downloading the file. Once the file download is complete the connection will be broken.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;A second model of P2P clients works in the same way but without a central indexing server.&amp;nbsp; In this scenario the P2P software simply seeks out other Internet users using the same program and informs them of your presence online, building a large network of computers as more users install and use the software.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&amp;nbsp; ii. P2P Security Concerns&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; One major concern of using P2P architecture in the workplace is, of course, network security. Security concerns stem from the architecture itself. Today we find most blocking and routing handles by a specific server within network, but the P2P architecture has no single fixed server responsible for routing and requests. The first step in securing your P2P network is to adopt a strict usage policy within the workplace. In securing your network against attacks and viruses there are two main strategies where focus is on controlling the network access or the focus is put on controlling the files. A protocol-based approach is where system administrators use a software or hardware solution to watch for and block intrusive network traffic being received through the P2P clients. A second method of protection is a software solution which would provide file surveillance to actively search for files based on their type, their name, their signature or even their content.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;iii. &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;P2P at Work&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P2P is not only popular with home users but many small businesses have come to rely on this cost-effective solution for sharing files with co-workers and clients. P2P promotes the ease of working together when you're not physically located in the same office. In just seconds updated files and data can be shared with peers and confidential files can be blocked for security. Additionally, companies can also block access to Internet music and video files to assist in maintaining a work-oriented P2P network. Not only does this keep the company free and clear from legal issues regarding music downloading and sharing but it also keeps the corporate bandwidth usage down.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;iv.&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;P2P Characteristics:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt; line-height: 115%;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;1. Clients are also servers and routers: nodes contribute content, storage, memory and CPU.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;2 &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt; line-height: 115%;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;2. Nodes are autonomous (no administrative authority)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;3 &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt; line-height: 115%;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;3. Network is dynamic (nodes enter and leave the network frequently)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt; line-height: 115%;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;4. Nodes collaborate directly with each other with having widely varying capabilities&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;v. Benefit:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt; line-height: 115%;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Efficient use of resources: Unused bandwidth, storage, processing power at the edge of the network&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt; line-height: 115%;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Scalability: consumers of resource also donate resources&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt; line-height: 115%;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Reliability: no single point of failure&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt; line-height: 115%;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Ease of administration: built in fault tolerant, replication and load balancing. Nodes self organize.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Applications:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt; line-height: 115%;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;File sharing (Gnutella, kazaa)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt; line-height: 115%;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Multilayer games.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt; line-height: 115%;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Collaborative applications &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt; line-height: 115%;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Distributed computation &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt; line-height: 115%;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Ad-hoc network.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="text-align: justify; text-indent: -0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: 0.25in; text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Gnutella (example software) &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/-ufgLwZmJZPg/TtXqZzMGlJI/AAAAAAAAABk/Tvi1p6Tis0Q/s1600/Gnutella.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="193" src="http://1.bp.blogspot.com/-ufgLwZmJZPg/TtXqZzMGlJI/AAAAAAAAABk/Tvi1p6Tis0Q/s400/Gnutella.png" width="400" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="margin-left: 0.25in; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: 0.25in; text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Client/Server Architecture&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: 0.25in; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Client server is a network architecture which separates the client from the server. Each client software can sends request to a server. There are many different types of server like file server, web server, mail server etc..&lt;/span&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;img height="115" src="file:///C:/Users/PRASHI%7E1/AppData/Local/Temp/msohtmlclip1/01/clip_image006.jpg" style="margin-left: auto; margin-right: auto;" width="214" /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;CSArchitecture&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div align="center" class="MsoNormal" style="margin-left: 0.25in; text-align: center;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: 0.25in; text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Properties:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: medium none; margin-left: 0.25in;"&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style="border: 1pt solid black; padding: 0in 5.4pt; width: 239.4pt;" valign="top" width="319"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Server&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 239.4pt;" valign="top" width="319"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Client&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style="border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 239.4pt;" valign="top" width="319"&gt;&lt;div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: 0.0001pt; text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Passive (slave)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 0.0001pt; text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Waiting for requests &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 0.0001pt; text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;On request serves them and reply&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 239.4pt;" valign="top" width="319"&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 0.0001pt; text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Active (master)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 0.0001pt; text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Sends request &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: 0.0001pt; text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; font-size: 12pt;"&gt;¨&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Wait until reply arrives&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNormal" style="margin-left: 0.25in; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Types of client:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Thin client&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;: a personal computer that does not have to be very powerful because it only presents the users interface to the user. Largely used for interaction with processing layer.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Thick client&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;: a typically powerful personal computer capable of handling independent application processes like notebook computer or PC.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Types of server&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;: database server, transaction server (OLTP), OLAP server, Application server, messaging (email, news), web server etc.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Tired architecture&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;: Generic client server architecture has two types of nodes on the network: client and server.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Three tired architecture&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;: 1. Client tier (web browser).2 application server tier which process data for the clients: a server computer dedicated to running certain software applications (file, print server). 3 database server tier which store data for the application servers: computer program that provide database services to other computer programs. Client tier never communicate with data tier in three tier architecture. &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Wireless LAN&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;A &lt;b&gt;wireless &lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%; text-decoration: none;"&gt;LAN&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt; or &lt;b&gt;WLAN&lt;/b&gt; is a &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%; text-decoration: none;"&gt;wireless&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt; &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%; text-decoration: none;"&gt;local area network&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;, which is the linking of two or more computers without using wires. WLAN utilizes &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%; text-decoration: none;"&gt;spread-spectrum&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt; or &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%; text-decoration: none;"&gt;OFDM&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt; modulation technology based on &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%; text-decoration: none;"&gt;radio waves&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt; to enable communication between devices in a limited area, also known as the basic service set.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Architecture:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;All components that can connect into a wireless medium in a &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;network&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; are referred to as stations. All stations are equipped with wireless &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;network interface cards&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; (WNICs). Wireless stations fall into one of two categories: &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;access points&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; and clients.&lt;/span&gt;&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Access points&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0.0001pt 0.5in; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Access points (APs) are base stations for the wireless network. They transmit and receive radio frequencies for wireless enabled devices to communicate with.&lt;/span&gt;&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Clients&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0.0001pt 0.5in; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Wireless clients can be mobile devices such as laptops, &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;personal digital assistants&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;, &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;IP phones&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;, or fixed devices such as &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;desktops&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; and &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;workstations&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; that are equipped with a wireless network interface.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Basic service set&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;The basic service set (BSS) is a set of all stations that can communicate with each other. There are two types of BSS: independent BSS and infrastructure BSS. Every BSS has an identification (ID) called the BSSID, which is the &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;MAC address&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; of the access point servicing the BSS.&lt;/span&gt;&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Independent basic service set&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0.0001pt 0.5in; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;An independent BSS is an &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;ad-hoc network&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; that contains no access points, which means they can not connect to any other basic service set.&lt;/span&gt;&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Infrastructure basic service      set&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0.0001pt 0.5in; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;An infrastructure BSS can communicate with other stations not in the same basic service set by communicating through access points.&lt;/span&gt;&lt;/div&gt;&lt;h3 style="text-align: justify;"&gt;&lt;span class="mw-headline"&gt;&lt;span style="font-size: 12pt;"&gt;Extended service set&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 12pt;"&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;An extended service set (ESS) is a set of connected BSSes. Access points in an ESS are connected by a distribution system. Each ESS has an ID called the SSID which is a 32-byte (maximum) character string. For example, "linksys" is the default SSID for Linksys routers.&lt;/div&gt;&lt;h2 style="text-align: justify;"&gt;&lt;span class="mw-headline"&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Types of wireless LANs&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Peer-to-peer&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-qYyhVLIDABc/TtXqpEwkH_I/AAAAAAAAABs/mMpkOT-lTRA/s1600/P2PAdHOC.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-qYyhVLIDABc/TtXqpEwkH_I/AAAAAAAAABs/mMpkOT-lTRA/s1600/P2PAdHOC.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt; text-align: center;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Peer-to-Peer or ad-hoc wireless LAN&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;A peer-to-peer (P2P) allows wireless devices to directly communicate with each other. Wireless devices within range of each other can discover and communicate directly without involving central access points. This method is typically used by two computers so that they can connect to each other to form a network.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;If a signal strength meter is used in this situation, it may not read the strength accurately and can be misleading, because it registers the strength of the strongest signal, which may be the closest computer.&lt;/span&gt;&lt;/div&gt;&lt;h3 style="text-align: justify;"&gt;&lt;span class="mw-headline"&gt;&lt;span style="font-size: 12pt;"&gt;Bridge&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 12pt;"&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;A bridge can be used to connect networks, typically of different types. A wireless Ethernet bridge allows the connection of devices on a wired Ethernet network to a wireless network. The bridge acts as the connection point to the Wireless LAN.&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;The benefits of wireless LANs include:&lt;/span&gt;&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Convenience&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;:      The wireless nature of such networks allows users to access network resources      from nearly any convenient location within their primary networking      environment (home or office). With the increasing saturation of      laptop-style computers, this is particularly relevant.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Mobility&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;:      With the emergence of public wireless networks, users can access the      internet even outside their normal work environment. Most chain coffee      shops, for example, offer their customers a wireless connection to the      internet at little or no cost.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Productivity&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;:      Users connected to a wireless network can maintain a nearly constant      affiliation with their desired network as they move from place to place.      For a business, this implies that an employee can potentially be more      productive as his or her work can be accomplished from any convenient      location.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Deployment&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;:      Initial setup of an infrastructure-based wireless network requires little      more than a single &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;access point&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;. Wired networks, on the other hand, have the      additional cost and complexity of actual physical cables being run to      numerous locations (which can even be impossible for hard-to-reach      locations within a building).&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Expandability&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;:      Wireless networks can serve a suddenly-increased number of clients with      the existing equipment. In a wired network, additional clients would      require additional wiring.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Cost&lt;/span&gt;&lt;/i&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;: Wireless networking hardware is at worst a modest      increase from wired counterparts. This potentially increased cost is      almost always more than outweighed by the savings in cost and labor      associated to running physical cables&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Disadvantage&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;:&lt;/span&gt;&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Security&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;:      Wireless LAN transceivers are designed to serve computers throughout a      structure with uninterrupted service using radio frequencies. Because of      space and cost, the antennas typically present on wireless networking      cards in the end computers are generally relatively poor. In order to      properly receive signals using such limited antennas throughout even a      modest area, the wireless LAN transceiver utilizes a fairly considerable      amount of power. What this means is that not only can the wireless packets      be intercepted by a nearby adversary's poorly-equipped computer, but more      importantly, a user willing to spend a small amount of money on a good      quality antenna can pick up packets at a remarkable distance; perhaps      hundreds of times the radius as the typical user. In fact, there are even      computer users dedicated to locating and sometimes even cracking into      wireless networks, known as &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;wardrivers&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;. On a wired network, any      adversary would first have to overcome the physical limitation of tapping      into the actual wires, but this is not an issue with wireless packets. To      combat this consideration, wireless networks users usually choose to      utilize various encryption technologies available such as &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;Wi-Fi Protected      Access&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; (WPA). Some of the older      encryption methods, such as WEP are known to have weaknesses that a      dedicated adversary can compromise. &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Range&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;:      The typical range of a common &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;802.11g&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; network with standard      equipment is on the order of tens of meters. While sufficient for a      typical home, it will be insufficient in a larger structure. To obtain      additional range, &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;repeaters&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      or additional access points will have to be purchased. Costs for these      items can add up quickly.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Reliability&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;:      Like any radio frequency transmission, wireless networking signals are      subject to a wide variety of &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;interference&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;, as well as complex propagation effects (such as &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;multipath&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;, or especially in this case &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;Rician fading&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;)      that are beyond the control of the network administrator.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Speed&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;:      The speed on most wireless networks (typically 1-108 Mbit/s) is reasonably      slow compared to the slowest common wired networks (100 Mbit/s up to      several Gbit/s). There are also performance issues caused by &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;TCP&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; and its built-in &lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; text-decoration: none;"&gt;congestion      avoidance&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;. &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="MsoNormal" style="line-height: normal; text-align: justify;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Wireless LANs present a host of issues for network managers. Unauthorized access points, broadcasted SSIDs, unknown stations, and spoofed MAC addresses are just a few of the problems addressed in WLAN troubleshooting. Most network analysis vendors, such as Network Instruments, Network General, and Fluke, offer WLAN troubleshooting tools or functionalities as part of their product line.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: 0.25in; text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/418782259706625102-6278719562471264587?l=thingsaroundnepal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thingsaroundnepal.blogspot.com/feeds/6278719562471264587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/11/computer-networks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/6278719562471264587?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/6278719562471264587?v=2'/><link rel='alternate' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/11/computer-networks.html' title='Computer Networks'/><author><name>around me</name><uri>http://www.blogger.com/profile/02363222648151122254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-mrsj6BuPFh8/TtXqJ6VaJlI/AAAAAAAAABc/3ljdNte2gKg/s72-c/CSArchitecture.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;AkAFRX48eSp7ImA9WhRRF08.&quot;'><id>tag:blogger.com,1999:blog-418782259706625102.post-3624221915768907092</id><published>2011-11-27T02:53:00.001-08:00</published><updated>2011-12-01T00:38:34.071-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-12-01T00:38:34.071-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='MSSQL'/><title>Creating Fixed Headers in an ASP.Net GridView using JavaScript</title><content type='html'>In Reference to  article in &lt;a href="http://www.codeproject.com"&gt;CodeProject&lt;/a&gt; particular article &lt;a href="http://www.codeproject.com/KB/webforms/GridViewwithfixedhead.aspx?q=header+fix+in+gridview%20"&gt;Grid View With Fixed Header&lt;/a&gt; I am stating the problem first and stating the solution.&lt;br&gt; &lt;br&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Problem&lt;/span&gt; : Whenever we use grid view along with a webform which include master page. I mean if we place gridview in the ContentPlaceHolder, then the ID of the Grid View is found to be changed &lt;br&gt; So when we try to pass the ID (GridView1 in above mentioned example) we ge some error due to not finding the id by javascript on runtime.&lt;br&gt;&lt;br&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Solution&lt;/span&gt; : &lt;br&gt;Replace &lt;br&gt;  &lt;font style="color: rgb(0, 0, 153);" size="2"&gt;ClientScript.RegisterStartupScript(this.GetType(), &amp;quot;CreateGridHeader&amp;quot;, &amp;quot;&amp;lt;script&amp;gt;CreateGridHeader(&amp;#39;DataDiv&amp;#39;, &amp;#39;GridView1&amp;#39;, &amp;#39;HeaderDiv&amp;#39;)&amp;lt;/script&amp;gt;&amp;quot;);&lt;/font&gt;&lt;br&gt;       &lt;br&gt; with&lt;br&gt;    &lt;span style="color: rgb(0, 0, 153);"&gt; System.Web.UI.Control cd = Page.Master.FindControl(&amp;quot;GridView1&amp;quot;);&lt;/span&gt;&lt;br style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;      if (cd != null)&lt;/span&gt;&lt;br style="color: rgb(0, 0, 153);"&gt; &lt;span style="color: rgb(0, 0, 153);"&gt;        {&lt;/span&gt;&lt;br style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;            ClientScript.RegisterStartupScript(this.GetType(), &amp;quot;CreateGridHeader&amp;quot;, &amp;quot;&amp;lt;script&amp;gt;CreateGridHeader(&amp;#39;DataDiv&amp;#39;, &amp;#39;GridView1&amp;#39;, &amp;#39;HeaderDiv&amp;#39;)&amp;lt;/script&amp;gt;&amp;quot;);&lt;/span&gt;&lt;br style="color: rgb(0, 0, 153);"&gt; &lt;span style="color: rgb(0, 0, 153);"&gt;        }  &lt;/span&gt;&lt;br style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;  // name of the gridview changes on fly when using with master page&lt;/span&gt;&lt;br style="color: rgb(0, 0, 153);"&gt; &lt;span style="color: rgb(0, 0, 153);"&gt;        ClientScript.RegisterStartupScript(this.GetType(), &amp;quot;CreateGridHeader&amp;quot;, &amp;quot;&amp;lt;script&amp;gt;function PageLoad(){CreateGridHeader(&amp;#39;DataDiv&amp;#39;, &amp;#39;ctl00_ContentPlaceHolder1_GridView1&amp;#39;, &amp;#39;HeaderDiv&amp;#39;);}&amp;lt;/script&amp;gt;&amp;quot;);&lt;/span&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;&lt;br&gt;and add following code to body tag of master page (.aspx)&lt;br&gt;&lt;br&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&amp;lt;body onLoad=&amp;quot;PageLoad()&amp;quot;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;And get the grid view working as described in code project.&lt;br&gt; &lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;   &lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/418782259706625102-3624221915768907092?l=thingsaroundnepal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thingsaroundnepal.blogspot.com/feeds/3624221915768907092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/11/creating-fixed-headers-in-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/3624221915768907092?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/3624221915768907092?v=2'/><link rel='alternate' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/11/creating-fixed-headers-in-aspnet.html' title='Creating Fixed Headers in an ASP.Net GridView using JavaScript'/><author><name>around me</name><uri>http://www.blogger.com/profile/02363222648151122254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;AkAFRX48eSp7ImA9WhRRF08.&quot;'><id>tag:blogger.com,1999:blog-418782259706625102.post-3278025456272044471</id><published>2011-11-25T01:48:00.000-08:00</published><updated>2011-12-01T00:38:34.071-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-12-01T00:38:34.071-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='MSSQL'/><title>SQL SERVER – 2008 – Configure Database Mail – Send Email From SQL Database</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;There are 3 basic steps that need to be carried out.&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;1) Create Profile and Account. &lt;/div&gt;&lt;div style="text-align: justify;"&gt;2) Configure Email.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;3) Send Email.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;Step 1) Create Profile and Account:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You need to create a profile and account using the Configure Database&amp;nbsp; Mail Wizard which can be accessed from the Configure Database Mail context menu of the Database Mail node in Management Node. This wizard is used to manage accounts, profiles, and Database Mail global settings which are shown below:&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-BzFE6bRzFqM/Ttb4K1uLhmI/AAAAAAAAACQ/uyPeD25_z6w/s1600/sendingMailstep-1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="eMail through MSSQL 2008 Mail service"
border="0" height="163" src="http://1.bp.blogspot.com/-BzFE6bRzFqM/Ttb4K1uLhmI/AAAAAAAAACQ/uyPeD25_z6w/s320/sendingMailstep-1.png" width="320" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="color: black;"&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 1:- sendingMailstep-1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href="http://1.bp.blogspot.com/-_sqkThNYCcY/Ts9jmH2BBfI/AAAAAAAAAAk/lzsH8dk6ago/s1600/Database-Mail-create-Profile-and-User.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-UEghcccAojU/Ttb4uKDMrqI/AAAAAAAAACY/tZ0wAfOB8u0/s1600/sendingmail-step2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="eMail through MSSQL 2008 mail service" border="0" height="167" src="http://4.bp.blogspot.com/-UEghcccAojU/Ttb4uKDMrqI/AAAAAAAAACY/tZ0wAfOB8u0/s320/sendingmail-step2.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 2:- sendingmail-step2&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-1hPY02tp2TQ/Ttb3y7S48nI/AAAAAAAAACI/yp5nBGsJQhU/s1600/sendingmail-step7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-hG0giY0-w54/Ttb451OcltI/AAAAAAAAACg/_oBPg8168P8/s1600/sendingmail-step3.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="MSSQL 2008 email service" border="0" height="163" src="http://4.bp.blogspot.com/-hG0giY0-w54/Ttb451OcltI/AAAAAAAAACg/_oBPg8168P8/s320/sendingmail-step3.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 3:- sendingmail-step3&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-XNAWbJNV3nI/Ttb5DnvpdFI/AAAAAAAAACo/HKLf_KHmOBE/s1600/sendingmail-step4.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="Send Email through MSSQL 2008 mail service" border="0" height="167" src="http://1.bp.blogspot.com/-XNAWbJNV3nI/Ttb5DnvpdFI/AAAAAAAAACo/HKLf_KHmOBE/s320/sendingmail-step4.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;sendingmail-step4&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-GdT6VJnDvtE/Ttb5L-UuXjI/AAAAAAAAACw/djKBWkyvSK4/s1600/sendingmail-step5.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="EMail through MSSQL 2008 mail service" border="0" height="171" src="http://1.bp.blogspot.com/-GdT6VJnDvtE/Ttb5L-UuXjI/AAAAAAAAACw/djKBWkyvSK4/s320/sendingmail-step5.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 5:- sendingmail-step5&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-UvCZaV1q8tg/Ttb5WltUOwI/AAAAAAAAAC4/5w5JMKDm3v0/s1600/sendingmail-step6.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="EMail through MSSQL 2008 mail service" border="0" height="170" src="http://4.bp.blogspot.com/-UvCZaV1q8tg/Ttb5WltUOwI/AAAAAAAAAC4/5w5JMKDm3v0/s320/sendingmail-step6.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 6:- sendingmail-step6&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step&amp;nbsp; 2) Configure Email.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Upto now your account and profile are created successfully, we need to configure the Database Mail. To Configureit, we may need to enable the Database mail XPs parameter through the sp_configure store procedure, as shown here:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: red;"&gt;&amp;nbsp;sp_CONFIGURE 'show advanced',1&lt;/div&gt;&lt;div style="color: red;"&gt;GO&lt;/div&gt;&lt;div style="color: blue;"&gt;RECONFIGURE&lt;/div&gt;&lt;div style="color: red;"&gt;&lt;/div&gt;&lt;div style="color: red;"&gt;sp_CONFIGURE 'Database Mail XPs',1&lt;/div&gt;&lt;div style="color: red;"&gt;GO&lt;/div&gt;&lt;div style="color: red;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: blue;"&gt;RECONFIGURE&lt;/div&gt;&lt;span style="color: red;"&gt;GO&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;b&gt;Step&amp;nbsp; &lt;/b&gt;&lt;b&gt;3) Send Email.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
After&lt;b&gt;&amp;nbsp; &lt;/b&gt;all configuration&lt;b&gt; &lt;/b&gt;are done, we are now ready to send an email. To send mail, we need to execute a store procedure sp_send_dbmail and provide the required parameters as show below:&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;img alt="EMail through MSSQL 2008 mail service" border="0" height="169" src="http://2.bp.blogspot.com/-1hPY02tp2TQ/Ttb3y7S48nI/AAAAAAAAACI/yp5nBGsJQhU/s320/sendingmail-step7.png" style="margin-left: auto; margin-right: auto;" width="320" /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;sendingmail-step7&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/418782259706625102-3278025456272044471?l=thingsaroundnepal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thingsaroundnepal.blogspot.com/feeds/3278025456272044471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/11/sql-server-2008-configure-database-mail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/3278025456272044471?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/418782259706625102/posts/default/3278025456272044471?v=2'/><link rel='alternate' type='text/html' href='http://thingsaroundnepal.blogspot.com/2011/11/sql-server-2008-configure-database-mail.html' title='SQL SERVER – 2008 – Configure Database Mail – Send Email From SQL Database'/><author><name>around me</name><uri>http://www.blogger.com/profile/02363222648151122254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-BzFE6bRzFqM/Ttb4K1uLhmI/AAAAAAAAACQ/uyPeD25_z6w/s72-c/sendingMailstep-1.png' height='72' width='72'/><thr:total>0</thr:total></entry></feed>