﻿// Archivo JScript
function CustomLoad()
{
    var slash = location.href.lastIndexOf( '/' );
    var dot = location.href.indexOf( '.', slash );    
    var page = location.href.substring( slash + 1, dot );

    switch( page )
    {
        case "adm_publicacion":
            ShowEditorsDescripcion();
            break;
        case "adm_noticias":
            ShowEditorsDescripcion();
            break;    
        default:
            //alert( page );
            break;
    }
}

function ShowEditorsDescripcion()
{
    var nom_control = "ctl00_c_txtDescripcion"
    var sBasePath = 'FCKeditor/';
    var oFCKeditor = new FCKeditor( nom_control );       		                                                			                        			  
    oFCKeditor.BasePath	= sBasePath;
    oFCKeditor.Width = 525;
    oFCKeditor.Height = 220;
    oFCKeditor.ReplaceTextarea();    
}

