var edict= new Array();
edict[0]="alphonsine";
edict[1]="alpini";
edict[2]="alterant";
edict[3]="tainture";
edict[4]="tallowish";
edict[5]="tanistry";
edict[6]="conventual";
edict[7]="enviable";
edict[8]="consign";
edict[9]="holla";
edict[10]="alienator";
edict[11]="aloes-wood";
edict[12]="anglify";
edict[13]="self-reverent";
edict[14]="semaphore";
edict[15]="sensibleness";
edict[16]="septillion";
edict[17]="riparian";
edict[18]="procession";
edict[19]="privilege";
edict[20]="mashy";
edict[21]="matchwood";
edict[22]="mediterranean";
edict[23]="musk-rose";
edict[24]="a posteriori";
edict[25]="divinity";
edict[26]="grasper";
edict[27]="graved";
edict[28]="grease-paint";
edict[29]="hydrant";
edict[30]="hysterogenic";
edict[31]="ichnolite";
edict[32]="ickle";
edict[33]="glimpse";
edict[34]="eyewash";
edict[35]="del credere";
edict[36]="foyer";
edict[37]="horsemint";
edict[38]="labret";
edict[39]="morrow";
edict[40]="oscitant";
edict[41]="jointress";
edict[42]="flotage";
edict[43]="land-agency";
edict[44]="stuffed";
edict[45]="terse";
edict[46]="top-soil";
edict[47]="unprepossessed";
edict[48]="weedy";
edict[49]="effulgence";
edict[50]="macaroni";
edict[51]="lyricism";
var eidv=0;
var ed1;
var ed2;
var ed3;
var ed4;

function createdict1() {
                var body = document.getElementById('edictionary');
                var ol = document.createElement('ol');
        ol.innerHtml="";
        ol.className = 'olde';
        body.appendChild(ol);
        var start=Math.floor(Math.random()*52);
        var end;
        if(start<46) {
        end=start +5;
        
        }
        else {
        start = start-5;
        end=start +5;
        }
                
        for(var s=start;s<end;s++) {
                var li = document.createElement('li');
                var a = document.createElement('a');
                li.className ='f3';
                ol.appendChild(li);
                li.appendChild(a);
                
                var i = a.id="anchor2"+s;
                a.className="a3";
                a.style.cursor="hand";
                a.innerHTML=edict[s];
                eidv=eidv+i+"*";
                
        }
        eidv = eidv.replace("0","");
        eidv = eidv.split("*");
        
                ed1=eidv[0];        
                ed2=eidv[1];
                ed3=eidv[2];
                ed4=eidv[3];
                ed5=eidv[4];
                 
                 document.getElementById(ed1).onclick= function() {window.location="english-tamildictionary.jsp?etextbox="+encodeURI(document.getElementById(ed1).innerHTML)};
                document.getElementById(ed2).onclick= function() {window.location="english-tamildictionary.jsp?etextbox="+encodeURI(document.getElementById(ed2).innerHTML)};
                document.getElementById(ed3).onclick= function() {window.location="english-tamildictionary.jsp?etextbox="+encodeURI(document.getElementById(ed3).innerHTML)};
                document.getElementById(ed4).onclick= function() {window.location="english-tamildictionary.jsp?etextbox="+encodeURI(document.getElementById(ed4).innerHTML)};
                document.getElementById(ed5).onclick= function() {window.location="english-tamildictionary.jsp?etextbox="+encodeURI(document.getElementById(ed5).innerHTML)};
                
}

