﻿// JScript File
function init()
{
}
function GetProfile(userid) {
    Zedheads.GetProfile(userid,RenderContent);
}
function blockuser(userid) {
   if (!LoggedIn()) return;
   if (confirm("Click OK to ignore this user.\n(you can unignore them later from edit profile)")) {
    Zedheads.IgnoreUser(userid,Ignored);
   } 
}
function Ignored(o)  {
    if (o!="OK")
        alert(o);
    else
    {
         alert("You have added this user to your ignore list.");
    } 
}
if (typeof(Sys) !== 'undefined') {
    Sys.Application.add_load(init);
    Sys.Application.notifyScriptLoaded();
} 