<script language='javascript'>
attachfunction[attachfunction.length] = 'BlogView_AttachEvent';
function BlogView_AttachEvent()
{
AttachToEvent("BlogView", "BlogByCat", "BlogView_Func_Default");
AttachToEvent("BlogView", "BlogByArchives", "BlogView_Func_Default");
AttachToEvent("BlogView", "BlogByPaging", "BlogView_Func_Default");}
function BlogView_Func_Default(param, parttorequest, title)
{if (param.indexOf('cat=') == 0) 
{param = param.replace('&', '%26');}
eval ('try {xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {xmlhttp = null;}');
var strRefreshPage = false;
var miniSpaceViewClassName = ''; 
if (document.getElementById('MiniSpacesView') != null)
 {miniSpaceViewClassName = document.getElementById('MiniSpacesView').className};var miniBlogView = ''; 
 if (document.getElementById('MiniBlog') != null)
  { miniBlogView = '1'; }
  if (xmlhttp !=  null && !strRefreshPage && miniSpaceViewClassName == '' && miniBlogView == '')
  {xmlhttp.Open("POST", "http://spaces.msn.com/windinwing/", false);
  var strA = "partQS="+ escape(param);strA += "&partresponseonly=true";
  if (parttorequest.length > 0)
   strA += "&" + parttorequest;
   xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
   xmlhttp.Send(strA);if (xmlhttp.responseText.length > 0) 
   {document.getElementById("BlogViewId").innerHTML = xmlhttp.responseText;location.hash = '#toppage';
   if (title != null && title.length > 0) document.title = gblSpaceTitle + ': ' + title;}
   else{location.href= 'http://' + location.host + '/errorpage.aspx';}
   }else {BlogView_Func_DefaultDownlevel(param, parttorequest);}
   }
   function BlogView_Func_DefaultDownlevel(param, parttorequest)
   {if (param.length > 0)
   {var strFromPart = '';var strFullView = '';
   if (document.getElementById('MiniBlog') != null)
    {strFullView = '&fullview=1'; }
    if (parttorequest.length > 0)
     parttorequest = '&' + parttorequest;location.href= 'http://spaces.msn.com/windinwing/?partqs=' + escape(param) + parttorequest + strFromPart + strFullView}}
     </script>