function remElement(arra){
var tmp;
arra.reverse()
arra.length=(arra.length-1);
arra.reverse();
return arra;
}

function addElement(El,arra){
var tmp;
arra.reverse()
tmp=arra.concat(El);
tmp.reverse();
return tmp;
}

function createArrow(Col){
//document.writeln('&raquo');
document.writeln('<table width=5 height=9 border="0" cellspacing="0" cellpadding="0" style="MARGIN-LEFT: 70em;">');
document.writeln('<tr>');
document.writeln('<td width=1   id="tab" name="tab" height=9 rowspan=9 bgcolor='+Col+'><img src="point.gif" width=1 height=9 border="0"></td>');
document.writeln('<td width=4 height=1 colspan=4><img src="point.gif" width=4 height=1 border="0"></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td width=1   id="tab1" name="tab1"  height=7 rowspan=7 bgcolor='+Col+'><img src="point.gif" width=1 height=7 border="0"></td>');
document.writeln('<td width=3 height=1 colspan=3><img src="point.gif" width=3 height=1 border="0"></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td width=1   id="tab2" name="tab2" height=5 rowspan=5 bgcolor='+Col+'><img src="point.gif" width=1 height=5 border="0"></td>');
document.writeln('<td width=2 height=1 colspan=2><img src="point.gif" width=2 height=1 border="0"></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td width=1   id="tab3" name="tab3" height=3 rowspan=3 bgcolor='+Col+'><img src="point.gif" width=1 height=3 border="0"></td>');
document.writeln('<td width=1 height=1 ><img src="point.gif" width=1 height=1 border="0"></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td width=1  id="tab4" name="tab4" height=1 bgcolor='+Col+'><img src="point.gif" width=1 height=1 border="0"></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td width=1 height=1 ><img src="point.gif" width=1 height=1 border="0"></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td width=1 height=1 colspan=2><img src="point.gif" width=1 height=1 border="0"></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td width=1 height=1 colspan=3><img src="point.gif" width=3 height=1 border="0"></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td width=1 height=1 colspan=4><img src="point.gif" width=4 height=1 border="0"></td>');
document.writeln('</tr>');
document.writeln('</table>');
}
function UnicNumber(){
return (''+Math.round(Math.random()*(new Date).getTime()))
}
