function popImgLightBox(title, url){
    var innerHtml = '<div class="popup1" id="popup">'+
        '<div class="popup_header1">' + title + '</div>'+
        '<div class="popup_body1">' +
        '<img src="' + url + '" alt="' + title + '"/>' +
        //'</div>' +
    //'<div class="popup_footer1">'+
    '<table width="100%">'+
        '<tr>'+
        '<td width="50%" align="center"><span class="lb">&nbsp;</span><a href="#" rel="deactivate" class="cancelAction">inchide</a><span class="rb">&nbsp;</span></td>'+
        '</tr>'+
        '</table>'+
        '</div>'+            
        '</div>';    
    //alert(innerHtml);
    //return;
    addPictureBigLightboxMarkup(innerHtml);
}
//intilise colour palette
function InitColorPalette() 
{    
    var x = document.getElementsByTagName('td');

    for (var i=0; i < x.length; i++) 
    {
        var id = x[i].id;
        var test = id.charAt(0);
        if ( test == "#" ) {
            x[i].style.border='1px solid '+x[i].id;
//            culori[i] = x[i].id;
        }
        var idx = id.indexOf ('#');
        //idx.style.border='1px solid '+x[i].id;
        if ( idx == 0 )
        {
            x[i].onmouseover = over;
            x[i].onmouseout = out;
            x[i].onclick = click;
        }
    }
}

//Mouse over palette effects on
function over() 
{
    if (this.id.length == 7){
        this.style.border='1px solid #000000';
    }
    /*
    document.getElementById("colPreview").style.backgroundColor = this.id;
    document.getElementById("hexColValue").value = this.id;
     */
}

//Mouse out palette effects off
function out() 
{
    if (this.id.length == 7){
        this.style.border='1px solid '+ this.id;
    }
}

//Palette mouse click
function click() 
{
    //selectColor ( this.id );   
    document.getElementById("colPreview").style.backgroundColor = this.id;
    document.getElementById("hexColValue").value = this.id;

}

function selectColorWEB(color_column){
    //border=\"0\"
    var innerHtml = '<div class="popup1" id="popup">'+
        '<div id=\"'+color_column+'\" style="cursor:pointer; display: block" ><div class="popup_header1" >Alege o culoare</div>'+
        '<div class="popup_body1">' +        
        "                       <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"2\" bordercolor=\"#CCCCCC\" bgcolor=\"#CCCCCC\" style=\"none;\">\n" +
        "                            <tr>\n" +
        "                                <td class=\"grTd\"><div style=\"background-color: #000000; padding: 1; height: 5px; width: 40px\"><div id=\"colPreview\" style=\"height: 100%; width: 100%\"></div></div></td>\n" +
        "                                <td class=\"grTd\"><input class=\"inputclass\" type=\"text\" id=\"hexColValue\" value=\"\" size=\"10\" style=\"cursor: default\" /></td>\n" +
        "                            </tr>\n" +
        "                        </table>\n" +
        "                       <table cellpadding=\"0\" id=\"parent\" cellspacing=\"0\" bordercolor=\"#000000\" class=\"clrPicker\" bgcolor=\"#000000\" width=\"100%\" height=\"84%\">\n" +
        "                            <tr>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#003300\" bgcolor=\"#003300\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#006600\" bgcolor=\"#006600\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#009900\" bgcolor=\"#009900\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00CC00\" bgcolor=\"#00CC00\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00FF00\" bgcolor=\"#00FF00\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#330000\" bgcolor=\"#330000\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#333300\" bgcolor=\"#333300\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#336600\" bgcolor=\"#336600\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#339900\" bgcolor=\"#339900\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#33CC00\" bgcolor=\"#33CC00\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#33FF00\" bgcolor=\"#33FF00\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#660000\" bgcolor=\"#660000\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#663300\" bgcolor=\"#663300\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#666600\" bgcolor=\"#666600\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#669900\" bgcolor=\"#669900\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#66CC00\" bgcolor=\"#66CC00\" height=\"5px\" width=\"11\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#66FF00\" bgcolor=\"#66FF00\" height=\"5px\" width=\"11\"></td>\n" +
        "                            </tr>\n" +
        "                            <tr>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#333333\" bgcolor=\"#333333\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000033\" bgcolor=\"#000033\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#003333\" bgcolor=\"#003333\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#006633\" bgcolor=\"#006633\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#009933\" bgcolor=\"#009933\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00CC33\" bgcolor=\"#00CC33\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00FF33\" bgcolor=\"#00FF33\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#330033\" bgcolor=\"#330033\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#333333\" bgcolor=\"#333333\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#336633\" bgcolor=\"#336633\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#339933\" bgcolor=\"#339933\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#33CC33\" bgcolor=\"#33CC33\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#33FF33\" bgcolor=\"#33FF33\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#660033\" bgcolor=\"#660033\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#663333\" bgcolor=\"#663333\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#666633\" bgcolor=\"#666633\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#669933\" bgcolor=\"#669933\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#66CC33\" bgcolor=\"#66CC33\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#66FF33\" bgcolor=\"#66FF33\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                            </tr>\n" +
        "                            <tr>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#666666\" bgcolor=\"#666666\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000066\" bgcolor=\"#000066\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#003366\" bgcolor=\"#003366\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#006666\" bgcolor=\"#006666\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#009966\" bgcolor=\"#009966\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00CC66\" bgcolor=\"#00CC66\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00FF66\" bgcolor=\"#00FF66\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#330066\" bgcolor=\"#330066\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#333366\" bgcolor=\"#333366\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#336666\" bgcolor=\"#336666\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#339966\" bgcolor=\"#339966\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#33CC66\" bgcolor=\"#33CC66\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#33FF66\" bgcolor=\"#33FF66\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#660066\" bgcolor=\"#660066\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#663366\" bgcolor=\"#663366\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#666666\" bgcolor=\"#666666\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#669966\" bgcolor=\"#669966\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#66CC66\" bgcolor=\"#66CC66\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#66FF66\" bgcolor=\"#66FF66\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                            </tr>\n" +
        "                            <tr>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#999999\" bgcolor=\"#999999\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000099\" bgcolor=\"#000099\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#003399\" bgcolor=\"#003399\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#006699\" bgcolor=\"#006699\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#009999\" bgcolor=\"#009999\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00CC99\" bgcolor=\"#00CC99\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00FF99\" bgcolor=\"#00FF99\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#330099\" bgcolor=\"#330099\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#333399\" bgcolor=\"#333399\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#336699\" bgcolor=\"#336699\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#339999\" bgcolor=\"#339999\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#33CC99\" bgcolor=\"#33CC99\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#33FF99\" bgcolor=\"#33FF99\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#660099\" bgcolor=\"#660099\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#663399\" bgcolor=\"#663399\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#666699\" bgcolor=\"#666699\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#669999\" bgcolor=\"#669999\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#66CC99\" bgcolor=\"#66CC99\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#66FF99\" bgcolor=\"#66FF99\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                            </tr>\n" +
        "                            <tr>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CCCCCC\" bgcolor=\"#CCCCCC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#0000CC\" bgcolor=\"#0000CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#0033CC\" bgcolor=\"#0033CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#0066CC\" bgcolor=\"#0066CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#0099CC\" bgcolor=\"#0099CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00CCCC\" bgcolor=\"#00CCCC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00FFCC\" bgcolor=\"#00FFCC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#3300CC\" bgcolor=\"#3300CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#3333CC\" bgcolor=\"#3333CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#3366CC\" bgcolor=\"#3366CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#3399CC\" bgcolor=\"#3399CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#33CCCC\" bgcolor=\"#33CCCC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#33FFCC\" bgcolor=\"#33FFCC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#6600CC\" bgcolor=\"#6600CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#6633CC\" bgcolor=\"#6633CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#6666CC\" bgcolor=\"#6666CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#6699CC\" bgcolor=\"#6699CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#66CCCC\" bgcolor=\"#66CCCC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#66FFCC\" bgcolor=\"#66FFCC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                            </tr>\n" +
        "                            <tr>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFFFFF\" bgcolor=\"#FFFFFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#0000FF\" bgcolor=\"#0000FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#0033FF\" bgcolor=\"#0033FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#0066FF\" bgcolor=\"#0066FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#0099FF\" bgcolor=\"#0099FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00CCFF\" bgcolor=\"#00CCFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00FFFF\" bgcolor=\"#00FFFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#3300FF\" bgcolor=\"#3300FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#3333FF\" bgcolor=\"#3333FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#3366FF\" bgcolor=\"#3366FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#3399FF\" bgcolor=\"#3399FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#33CCFF\" bgcolor=\"#33CCFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#33FFFF\" bgcolor=\"#33FFFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#6600FF\" bgcolor=\"#6600FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#6633FF\" bgcolor=\"#6633FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#6666FF\" bgcolor=\"#6666FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#6699FF\" bgcolor=\"#6699FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#66CCFF\" bgcolor=\"#66CCFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#66FFFF\" bgcolor=\"#66FFFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                            </tr>\n" +
        "                            <tr>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF0000\" bgcolor=\"#FF0000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#990000\" bgcolor=\"#990000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#993300\" bgcolor=\"#993300\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#996600\" bgcolor=\"#996600\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#999900\" bgcolor=\"#999900\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#99CC00\" bgcolor=\"#99CC00\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#99FF00\" bgcolor=\"#99FF00\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC0000\" bgcolor=\"#CC0000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC3300\" bgcolor=\"#CC3300\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC6600\" bgcolor=\"#CC6600\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC9900\" bgcolor=\"#CC9900\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CCCC00\" bgcolor=\"#CCCC00\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CCFF00\" bgcolor=\"#CCFF00\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF0000\" bgcolor=\"#FF0000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF3300\" bgcolor=\"#FF3300\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF6600\" bgcolor=\"#FF6600\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF9900\" bgcolor=\"#FF9900\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFCC00\" bgcolor=\"#FFCC00\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFFF00\" bgcolor=\"#FFFF00\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                            </tr>\n" +
        "                            <tr>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00FF00\" bgcolor=\"#00FF00\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#990033\" bgcolor=\"#990033\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#993333\" bgcolor=\"#993333\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#996633\" bgcolor=\"#996633\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#999933\" bgcolor=\"#999933\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#99CC33\" bgcolor=\"#99CC33\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#99FF33\" bgcolor=\"#99FF33\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC0033\" bgcolor=\"#CC0033\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC3333\" bgcolor=\"#CC3333\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC6633\" bgcolor=\"#CC6633\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC9933\" bgcolor=\"#CC9933\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CCCC33\" bgcolor=\"#CCCC33\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CCFF33\" bgcolor=\"#CCFF33\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF0033\" bgcolor=\"#FF0033\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF3333\" bgcolor=\"#FF3333\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF6633\" bgcolor=\"#FF6633\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF9933\" bgcolor=\"#FF9933\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFCC33\" bgcolor=\"#FFCC33\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFFF33\" bgcolor=\"#FFFF33\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                            </tr>\n" +
        "                            <tr>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#0000FF\" bgcolor=\"#0000FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#990066\" bgcolor=\"#990066\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#993366\" bgcolor=\"#993366\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#996666\" bgcolor=\"#996666\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#999966\" bgcolor=\"#999966\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#99CC66\" bgcolor=\"#99CC66\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#99FF66\" bgcolor=\"#99FF66\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC0066\" bgcolor=\"#CC0066\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC3366\" bgcolor=\"#CC3366\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC6666\" bgcolor=\"#CC6666\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC9966\" bgcolor=\"#CC9966\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CCCC66\" bgcolor=\"#CCCC66\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CCFF66\" bgcolor=\"#CCFF66\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF0066\" bgcolor=\"#FF0066\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF3366\" bgcolor=\"#FF3366\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF6666\" bgcolor=\"#FF6666\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF9966\" bgcolor=\"#FF9966\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFCC66\" bgcolor=\"#FFCC66\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFFF66\" bgcolor=\"#FFFF66\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                            </tr>\n" +
        "                            <tr>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFFF00\" bgcolor=\"#FFFF00\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#990099\" bgcolor=\"#990099\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#993399\" bgcolor=\"#993399\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#996699\" bgcolor=\"#996699\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#999999\" bgcolor=\"#999999\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#99CC99\" bgcolor=\"#99CC99\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#99FF99\" bgcolor=\"#99FF99\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC0099\" bgcolor=\"#CC0099\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC3399\" bgcolor=\"#CC3399\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC6699\" bgcolor=\"#CC6699\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC9999\" bgcolor=\"#CC9999\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CCCC99\" bgcolor=\"#CCCC99\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CCFF99\" bgcolor=\"#CCFF99\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF0099\" bgcolor=\"#FF0099\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF3399\" bgcolor=\"#FF3399\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF6699\" bgcolor=\"#FF6699\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF9999\" bgcolor=\"#FF9999\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFCC99\" bgcolor=\"#FFCC99\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFFF99\" bgcolor=\"#FFFF99\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                            </tr>\n" +
        "                            <tr>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#00FFFF\" bgcolor=\"#00FFFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#9900CC\" bgcolor=\"#9900CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#9933CC\" bgcolor=\"#9933CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#9966CC\" bgcolor=\"#9966CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#9999CC\" bgcolor=\"#9999CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#99CCCC\" bgcolor=\"#99CCCC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#99FFCC\" bgcolor=\"#99FFCC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC00CC\" bgcolor=\"#CC00CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC33CC\" bgcolor=\"#CC33CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC66CC\" bgcolor=\"#CC66CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC99CC\" bgcolor=\"#CC99CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CCCCCC\" bgcolor=\"#CCCCCC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CCFFCC\" bgcolor=\"#CCFFCC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF00CC\" bgcolor=\"#FF00CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF33CC\" bgcolor=\"#FF33CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF66CC\" bgcolor=\"#FF66CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF99CC\" bgcolor=\"#FF99CC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFCCCC\" bgcolor=\"#FFCCCC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFFFCC\" bgcolor=\"#FFFFCC\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                            </tr>\n" +
        "                            <tr>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF00FF\" bgcolor=\"#FF00FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#000000\" bgcolor=\"#000000\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#9900FF\" bgcolor=\"#9900FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#9933FF\" bgcolor=\"#9933FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#9966FF\" bgcolor=\"#9966FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#9999FF\" bgcolor=\"#9999FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#99CCFF\" bgcolor=\"#99CCFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#99FFFF\" bgcolor=\"#99FFFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC00FF\" bgcolor=\"#CC00FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC33FF\" bgcolor=\"#CC33FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC66FF\" bgcolor=\"#CC66FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CC99FF\" bgcolor=\"#CC99FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CCCCFF\" bgcolor=\"#CCCCFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#CCFFFF\" bgcolor=\"#CCFFFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF00FF\" bgcolor=\"#FF00FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF33FF\" bgcolor=\"#FF33FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF66FF\" bgcolor=\"#FF66FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FF99FF\" bgcolor=\"#FF99FF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFCCFF\" bgcolor=\"#FFCCFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                                <td class=\"tdclass\" id=\"#FFFFFF\" bgcolor=\"#FFFFFF\" height=\"11\" width=\"11\"><img width=\"1\" height=\"1\"></td>\n" +
        "                            </tr>\n" +
        "                        </table>                       "+
        '</div>' +
        '<div class="popup_footer1">'+
        '<table width="100%"><tr>' +
        '<td width="50%" align="center"><span class="lb">&nbsp;</span><a href="javascript: changeColorWEB(\''+color_column+'\')">ok</a><span class="rb">&nbsp;</span></td>'+
        '<td width="50%" align="center"><span class="lb">&nbsp;</span><a href="#" rel="deactivate" class="cancelAction" >anuleaza</a><span class="rb">&nbsp;</span></td>'+
        '</tr></table>' +        
        '</div></div></div>' ;//+
    /*"<script language=\"javascript\">\n "+
        "   var x = document.getElementsByTagName(\"td\");\n"+
        "  for (var i=0; i < x.length; i++)\n "+
        " {\n"+
        "    var id = x[i].id;\n"+
        "   var idx = id.indexOf ('#');\n"+
        "  if ( idx == 0 )\n"+
        " {\n"+
        "    x[i].onmouseover = over;\n"+
        "   x[i].onmouseout = out;\n"+
        "  x[i].onclick = click;\n"+
        "                }\n"+
        "           }\n"+
        "     function over() \n"+
        "    {\n"+
        "       if (this.id.length == 7 ){\n"+

        "          this.style.border='1px solid #FFFFFF';\n"+
        "     }\n"+
        "    document.getElementById(\"colPreview\").style.backgroundColor = this.id;\n"+
        "   document.getElementById(\"hexColValue\").value = this.id;\n"+
        "        }\n"+
        "       function out() \n"+
        "      {\n"+
        "         if (this.id.length == 7){\n"+
        "            this.style.border='1px solid #000000';\n"+
        "       }\n"+
        "  }\n"+
        " function click() \n"+
        "{\n"+
        "       var color = this.id;\n"+     
        "	var div = document.getElementById(\"bgcolor\");\n"+
        "       if (div.style.display == \"block\")\n"+
        "      {\n"+
        "         document.getElementById(\"send_bgcolor\").style.backgroundColor = color;\n"+
        "        document.getElementById(\"send_bgcolor_id\").value = color;\n"+
        "   }\n"+

        "        div = document.getElementById( \"cols_color\" );\n"+
        "       if (  div.style.display == \"block\" )\n"+
        "      {\n"+
        "         document.getElementById(\"send_cols_color\").style.backgroundColor = color;\n"+
        "        document.getElementById(\"send_cols_color_id\").value = color;\n"+
        "   }\n"+
            
        "        div = document.getElementById( \"link_color\" );\n"+
        "       if (  div.style.display == \"block\" )\n"+
        "      {\n"+
        "         document.getElementById(\"send_link_color\").style.backgroundColor = color;\n"+
        "        document.getElementById(\"send_link_color_id\").value = color;\n"+
        "   }\n"+
            
                
        "        div = document.getElementById( \"title_blog_color\" );\n"+
        "       if (  div.style.display == \"block\" )\n"+
        "      {\n"+
        "         document.getElementById(\"send_title_blog_color\").style.backgroundColor = color;\n"+
        "        document.getElementById(\"send_title_blog_color_id\").value = color;\n"+
        "   }\n"+
        
        "        div = document.getElementById( \"title_article_color\" );\n"+
        "       if (  div.style.display == \"block\" )\n"+
        "      {\n"+
        "         document.getElementById(\"send_title_article_color\").style.backgroundColor = color;\n"+
        "        document.getElementById(\"send_title_article_color_id\").value = color;\n"+
        "   }\n"+
        
        "        div = document.getElementById( \"article_color\" );\n"+
        "       if (  div.style.display == \"block\" )\n"+
        "      {\n"+
        "         document.getElementById(\"send_article_color\").style.backgroundColor = color;\n"+
        "        document.getElementById(\"send_article_color_id\").value = color;\n"+
        "   }\n"+
        
        "        div = document.getElementById( \"visited_links_color\" );\n"+
        "       if (  div.style.display == \"block\" )\n"+
        "      {\n"+
        "         document.getElementById(\"send_visited_links_color\").style.backgroundColor = color;\n"+
        "        document.getElementById(\"send_visited_links_color_id\").value = color;\n"+
        "   }\n"+
        "       }\n"+
        "  </script>\n";
     */    
    addLightboxMarkup(innerHtml);    
    InitColorPalette();
}
/*
function selectPicture(){
    document.colors.pict.value = 1;
    document.colors.submit();
}
    
function selectBanner(){
    document.colors.bann.value = 1;
    document.colors.submit();
}
        
        
function showDiv (id)
{
    var div = document.getElementById(id);
    if ( div.style.display == "none" )
        div.style.display = "block";
}
    
function hideDiv (id)
{
    var div = document.getElementById(id);
        
    if ( div.style.display == "block" ) {
        div.style.display = "none";
        div = document.getElementById('overlay');
        div.style.display = "none";
        div = document.getElementById('lightbox');
        div.style.display = "none";
    }
}
 */    
//Pallete click colour select
/*
function selectColor (color)
{
    var div = document.getElementById("bgcolor");
    if (div.style.display == "block")
    {
        document.getElementById("send_bgcolor").style.backgroundColor = color;
        document.getElementById("send_bgcolor_id").value = color;
    }
            
                    
    div = document.getElementById( "cols_color" );
    if (  div.style.display == "block" )
    {
        document.getElementById("send_cols_color").style.backgroundColor = color;
        document.getElementById("send_cols_color_id").value = color;
    }
            
    div = document.getElementById( "link_color" );
    if (  div.style.display == "block" )
    {
        document.getElementById("send_link_color").style.backgroundColor = color;
        document.getElementById("send_link_color_id").value = color;
    }
            
                
    div = document.getElementById( "title_blog_color" );
    if (  div.style.display == "block" )
    {
        document.getElementById("send_title_blog_color").style.backgroundColor = color;
        document.getElementById("send_title_blog_color_id").value = color;
    }
        
    div = document.getElementById( "title_article_color" );
    if (  div.style.display == "block" )
    {
        document.getElementById("send_title_article_color").style.backgroundColor = color;
        document.getElementById("send_title_article_color_id").value = color;
    }
        
    div = document.getElementById( "article_color" );
    if (  div.style.display == "block" )
    {
        document.getElementById("send_article_color").style.backgroundColor = color;
        document.getElementById("send_article_color_id").value = color;
    }
        
    div = document.getElementById( "visited_links_color" );
    if (  div.style.display == "block" )
    {
        document.getElementById("send_visited_links_color").style.backgroundColor = color;
        document.getElementById("send_visited_links_color_id").value = color;
    }
}
 */
function fontListHTML(tinyMCE, selectedItem){
    var fontHTML = '<select id="selectFont" name="selectFont" >';
    //alert(selectedItem);
    if (selectedItem == 'default')
        fontHTML += '<option value="default" selected >default</option>';
    else
        fontHTML += '<option value="default" selected="selected">default</option>';
    var nFonts = 'Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats';
    var fonts = tinyMCE.getParam("theme_advanced_fonts", nFonts).split(';');
    for (i=0; i<fonts.length; i++) {
        if (fonts[i] != '') {
            var parts = fonts[i].split('=');
            if (parts[1] == selectedItem)
              fontHTML += '<option value="' + parts[1] + '" selected >' + parts[0] + '</option>';
            else
              fontHTML += '<option value="' + parts[1] + '">' + parts[0] + '</option>';                
        }
    }
    fontHTML += '</select>';
    return fontHTML;    
}
function changeColorWEB(color_column){
    var color = document.getElementById("hexColValue").value;
    document.getElementById("send_"+color_column).style.backgroundColor = color;
    document.getElementById("send_"+color_column+"_id").value = color;
    
    var lBox = new lightbox();
    lBox.deactivate();
    /*
    var formular = document.createElement("form");
    var parametru_   = document.createElement("input");
    
    parametru_.type = "hidden";
    parametru_.name = color_column;
    //parametru_.value = document.getElementById("send_"+color_column+"_id").value;
    parametru_.value = document.getElementById("hexColValue").value;
    formular.action  = 'aspectweb.jsp';
       
    formular.appendChild(parametru_);
    document.body.appendChild(formular);
    formular.method = "post";
    formular.submit();
    document.removeChild(formular);
     */
}

/*function addMediaLightBox(url){
    var errMsg = getAlertMessageBlockStandard("Adauga imagine","Ne pare rau dar imaginea nu poate fi selectat din cauza unei erori interne, va rugam incercati mai tarziu");
    var sessionExpMsg = getAlertMessageBlock("Adauga imagine","Nu sunteti inregistrat sau sesiunea dumneavoastra a expirat","/BlogORO/home.jsp");
    addBigLightboxMarkup(url, "", errMsg, sessionExpMsg);
}*/