function pixPreLoadImg(myid, mytype){
    var myval = "<div style='text-align:right'><img src='images/ajax_loading.gif' alt='Loading' border='0' height='11px' width='43px' /></div>";
    if(mytype == "h"){
        myval = "&nbsp;&nbsp;";
    }
    $("#"+myid).html(myval);
}


function Common_Pix_Action(){

    this.LoginAlert = function (myvalID, mytextType){
        $("#msgloginalert4212536875").remove();
        myval = "<div style='padding-left:10px; pading-right:10px; padding-bottom:2px;' id='msgloginalert4212536875'><div><b>Authentication Required</b></div><div style='padding-bottom:2px;'>The page you are trying to view requires you to be logged in with a Silver Pass or Gold Pass Membership.</div><div style='padding-bottom:5px;'>Please <a href='#' onclick=\"$('#loginPopup52').dialog('close'); rp_register.open(); return false;\">click here</a> to become a Silver Pass or Gold Pass member.  Or login below:</div></div>";
        $('#UserIdControls').before(myval); 
        lpc52.open();
    }
    
    
}

ObjCommonPixAction = new Common_Pix_Action();
