<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>Ok, 
here is my first contribution to BO</DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'> </DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>Change 
the following javascript in vsiteList. Note that I added comments just to 
explain my changes, I would expect those to be removed.I also refactored a bit 
the javascript to only get the confirm dialog element once.</DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'> </DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>I 
assume this is not likely the best place to contribute code changes so please 
let me know how you would prefer to have this suggested.</DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'> </DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>-------------------------------------</DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'> </DIV></DIV>
<DIV>
<DIV style="TEXT-DECORATION: ; FONT-FAMILY: ; COLOR: ; DISPLAY: inline">Modify 
the dialog h1 tag, replace the color attribute I added with some type of class 
to color if you agree it should be colored.</DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'> </DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'><h1>Are 
you sure you want to remove this virtual site <span color="brown" 
class="siteToRemove"></span> ?</h1></DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'> </DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>------------------------------------</DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'> </DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>Modify 
the javascript that initializes the dialog and sets up the click 
event</DIV></DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'> </DIV></DIV>
<DIV>// Get dialog element once</DIV>
<DIV>
<DIV>var confirmDelete = $("#dialog");</DIV>
<DIV> </DIV>
<DIV>// Initialize Dialog</DIV>
<DIV>confirmDelete.dialog({</DIV>
<DIV>  modal: true,</DIV>
<DIV>  bgiframe: true,</DIV>
<DIV>  width: 500,</DIV>
<DIV>  height: 280,</DIV>
<DIV>  autoOpen: false</DIV>
<DIV>});</DIV>
<DIV> </DIV>
<DIV>// Setup click event for delete button for each vsite</DIV>
<DIV>$(".lb").click(function (e) {</DIV>
<DIV>    e.preventDefault();</DIV>
<DIV>    </DIV>
<DIV>    // Get reference to lb clicked</DIV>
<DIV>    var lb = $(this);</DIV>
<DIV>    </DIV>
<DIV>    // Grab url to be used to execute delete</DIV>
<DIV>    var hrefAttribute = lb.attr("href");</DIV>
<DIV>    </DIV>
<DIV>    // Get the vsite name for the lb clicked</DIV>
<DIV>    var siteName = lb.closest('tr')</DIV>
<DIV>                        
.find('.dt_0')</DIV>
<DIV>                        
.text();</DIV>
<DIV>            </DIV>
<DIV>    // Do vsite text replacement for site being 
deleted</DIV>
<DIV>    confirmDelete.find('.siteToRemove')</DIV>
<DIV>                    
.text(siteName);</DIV>
<DIV>    </DIV>
<DIV>    // Setup remove/cancel actions</DIV>
<DIV>    confirmDelete.dialog('option', 'buttons', {</DIV>
<DIV>        "Remove": function () {</DIV>
<DIV>            
window.location.href = hrefAttribute;</DIV>
<DIV>        },</DIV>
<DIV>        "Cancel": function () {</DIV>
<DIV>            
$(this).dialog("close");</DIV>
<DIV>        }</DIV>
<DIV>    });</DIV>
<DIV> </DIV>
<DIV>    // open confirmatin dialog</DIV>
<DIV>    confirmDelete.dialog("open");</DIV>
<DIV> </DIV>
<DIV>});</DIV></DIV></DIV></DIV></BODY></HTML>