<br />
<title>EglenceGunlugum</title>
<script type="text/javascript">
Tree = new Array();
Tree[0] = new Array();
Tree[0][1] = Array('<a href="http://eglencegunlugum.tr.gg">EG 0.1</a>','')
Tree[0][3] = Array('<a href="http://eglencegunlugum.tr.gg">EG 0.2</a>','');
Tree[0][2] = Array('<a href="http://eglencegunlugum.tr.gg">EG 0.3</a>','');
Tree[0][4] = Array('<a href="http://eglencegunlugum.tr.gg">EG 0.4</a>','');
Tree[0][11] = Array('<a href="http://eglencegunlugum.tr.gg">EG 0.5</a>','');
Tree[1] = new Array();
Tree[1][5] = Array('<a href="http://eglencegunlugum.tr.gg">EG 1.1</a>','');
Tree[1][6] = Array('<a href="http://eglencegunlugum.tr.gg">EG 1.2</a>','');
Tree[1][7] = Array('<a href="http://eglencegunlugum.tr.gg">EG 1.3</a>','');
Tree[1][8] = Array('<a href="http://eglencegunlugum.tr.gg">EG 1.4</a>','');
Tree[1][9] = Array('<a href="http://eglencegunlugum.tr.gg">EG 1.5</a>','');
Tree[2] = new Array();
Tree[2][15] = Array('<a href="eglencegunlugum.tr.gg"> EG 2.1</a>','');
Tree[2][16] = Array('<a href="http://eglencegunlugum.tr.gg">EG 2.2</a>','');
Tree[2][17] = Array('<a href="http://eglencegunlugum.tr.gg">EG 2.3</a>','');
Tree[2][18] = Array('<a href="http://eglencegunlugum.tr.gg">EG 2.4</a>','');
Tree[2][19] = Array('<a href="http://eglencegunlugum.tr.gg">EG 2.5</a>','');
Tree[5] = new Array();
Tree[5][115] = Array('<a href="http://eglencegunlugum.tr.gg">EG 5.1</a>','');
Tree[5][116] = Array('<a href="http://eglencegunlugum.tr.gg">EG 5.2</a>','');
Tree[5][117] = Array('<a href="http://eglencegunlugum.tr.gg">EG 5.3</a>','');
Tree[5][118] = Array('<a href="http://eglencegunlugum.tr.gg">EG 5.4</a>','');
Tree[5][119] = Array('<a href="http://eglencegunlugum.tr.gg">EG 5.5</a>','');
/* ################# IMAGES ################# */
imagePlus = 'http://img25.imageshack.us/img25/6031/listplus.gif';
imageMinus = 'http://img841.imageshack.us/img841/9683/listminus.gif';
imageFolderOpen = 'images/folderopen.gif';
imageFolderClose = 'images/folder.gif';
imageFolderPage = 'http://img185.imageshack.us/img185/9207/listpage.gif';
imageListEmpty = 'http://img245.imageshack.us/img245/3517/listempty.gif';
imageListJoin = 'http://img28.imageshack.us/img28/6450/listjoin.gif';
imageListJoinBottom = 'http://img841.imageshack.us/img841/5680/listjoinbottom.gif';
imageListLine = 'http://img85.imageshack.us/img85/1706/listline.gif';
imageListBase = 'http://img230.imageshack.us/img230/5981/listbase.gif';
imageListMinus = 'http://img829.imageshack.us/img829/1143/listminusbottom.gif';
imageListPlus = 'http://img30.imageshack.us/img30/8553/listplusbottom.gif';
/* ################# IMAGES ################# */
clevel = 0;
function buildMenu() {
var i;
var buffer;
var imgSpace;
buffer = '<table cellpadding="0" cellspacing="0">';
buffer += '<tr>';
buffer += '<td colspan="2" class="text" valign="top"><img src="http://img230.imageshack.us/img230/5981/listbase.gif"> <a href="http://eglencegunlugum.tr.gg">EglenceGunlugum.Tr.Gg</a></td>';
buffer += '</tr>';
for (i in Tree[0]) {
if (!Tree[i]) {
space = '<a href="' + Tree[0][i][1] + '">' + Tree[0][i][0] + '</a>';
imgSpace = '';
} else {
space = '<a href="' + Tree[0][i][1] + '">' + Tree[0][i][0] + '</a>';
imgSpace = '<img src="' + imagePlus + '" id="img_' + i + '" OnClick="collapse(' + i + ')">';
}
if (Tree[0][i]) {
tmpImage = imageListPlus;
}
if (Tree[i] == null) {
tmpImage = imageListJoinBottom;
}
imgSpace = '<img src="' + tmpImage + '" id="img_' + i + '" OnClick="collapse(' + i + ')">';
buffer += '<tr>';
buffer += '<td class="nodeClass" valign="top" style="width: 19px; height: 16px;font-size:2px;">' + imgSpace + '</td>';
buffer += '<td id="node_' + i + '"><img src="' + imageFolderPage + '">' + space + '</td>';
buffer += '</tr>';
lastNode = i;
}
buffer += '</table>';
document.getElementById('tree').innerHTML = buffer;
document.getElementById('img_' + lastNode).parentNode.className = '';
if (!Tree[lastNode]) {
document.getElementById('img_' + lastNode).src = imageListJoin;
} else {
document.getElementById('img_' + lastNode).src = imageListPlus;
}
}
function collapse(node) {
if (document.getElementById('table_' + node) == null) {
var i;
var buffer;
var imgSpace;
buffer = '<table cellpadding="0" cellspacing="0" id="table_' + node + '">';
counterNodes = 0;
for (i in Tree[node]) {
if (!Tree[i]) {
space = '<a href="' + Tree[node][i][1] + '">' + Tree[node][i][0] + '</a>';
} else {
space = '<a href="' + Tree[node][i][1] + '">' + Tree[node][i][0] + '</a>';
}
if (Tree[node][i]) {
tmpImage = imageListPlus;
}
if (Tree[i] == null) {
tmpImage = imageListJoinBottom;
}
imgSpace = '<img src="' + tmpImage + '" id="img_' + i + '" OnClick="collapse(' + i + ')">';
buffer += '<tr>';
buffer += '<td class="nodeClass" width="10" valign="top" align="center">' + imgSpace + ' </td>';
buffer += '<td nowrap id="node_' + i + '"><img src="' + imageFolderPage + '">' + space + '</td>';
buffer += '</tr>';
lastNode = i;
counterNodes++;
}
buffer += '</table>';
document.getElementById('node_' + node).innerHTML += buffer;
document.getElementById('img_' + node).src = imageMinus;
document.getElementById('img_' + lastNode).parentNode.className = '';
if (!Tree[lastNode]) {
document.getElementById('img_' + lastNode).src = imageListJoin;
} else {
document.getElementById('img_' + lastNode).src = imageListPlus;
}
} else {
parentObj = document.getElementById('table_' + node).parentNode;
childObj = document.getElementById('table_' + node);
parentObj.removeChild(childObj);
document.getElementById('img_' + node).src = imagePlus;
}
}
function changeStyle(node,action) {
docStyle = document.getElementById('node_' + node).style;
with (docStyle) {
if (action == 'to') {
backgroundColor= '#e5e5e5';
} else {
backgroundColor = '#ffffff';
}
}
}
window.onload = function() {
buildMenu();
}
</script> <style type="text/css">
.nodeClass{
background-image: url("http://img85.imageshack.us/img85/1706/listline.gif");
}
a:link {font-family: verdana; font-size: 10px; color: #999ea3;text-decoration: none;}
a:active {font-family: verdana; font-size: 10px;color: #999ea3;text-decoration: none;}
a:hover {font-family: verdana; font-size: 10px;color: #999ea3;text-decoration: none;}
a:visited {font-family: verdana; font-size: 10px;color: #999ea3;text-decoration: none;}
</style>
<div id="tree"> </div>