//********************************************************************************
// CONTENT PAGE FUNCTIONALITY
//********************************************************************************

//--------------------------------------------------------------------------------
// Events
//--------------------------------------------------------------------------------


//--------------------------------------------------------------------------------

//--------------------------------------------------------------------------------
// Functions
//--------------------------------------------------------------------------------

function SubjectClick(e)
{   
    //Display the modal window
    var t = "Request a title list"; 
    var a = "MailForm.aspx?height=510&width=710&modal=true&subject=" + escape(e.innerHTML);
    var g = "";	
    tb_show(t,a,g);
    
    return false;
}

function AlphabetCharacterChange(strDetail)
{       
    //Set the value
    var strAlphabetCharacter = GetAlphabetCharacter();    

    //Gather the Output data    
    ob_post.AddParam("strAlphabetCharacter", strAlphabetCharacter);
    ob_post.post("Content.aspx", "BuildPublisherList", "function(){}");            
   
    return false;
}

function GetAlphabetCharacter()
{
    //Initialize variable    
    var strAlpha = "";
        
    //CHECK : Verify that an option has been selected
    if ($("#alpha :selected").text() != null)
    {
        strAlpha = $("#alpha :selected").text();
    }
        
    return strAlpha;
}

function BuildPublisherList(response)
{   
    //Append the Publisher List data    
    $("#ctl00_cphTemplateContent_publisher").html(response.content);
    
    return false;    
}

//--------------------------------------------------------------------------------