﻿//////////////////////////////////////////////////////////////////
//																															//
// Copyright (c) 2009 by Aram-GSM.															//
// For enquiries, please email admin@sohrab-sepehri.com					//
//													Or aram_1993@yahoo.com							//
//																															//
// Please keep all copyright notices below.											//
// Original author of TreeView script is Marcelino Martins.			//
//																															//
// The script is Copyright (c) 2009 by Aram-GSM.								//
//																															//
//////////////////////////////////////////////////////////////////

// Decide if the names are links or just the icons
USETEXTLINKS = 1  //replace 0 with 1 for hyperlinks

// Decide if the tree is to start all open or just showing the root folders
STARTALLOPEN = 0 //replace 0 with 1 to show the whole tree

HIGHLIGHT = 0

foldersTree = gFld("<b>هشت كتاب</b>")
  foldersTree.treeID = "Funcs"
  aux1 = insFld(foldersTree, gFld("مرگ رنگ", "javascript:parent.op()"))
      insDoc(aux1, gLnk("S", "در قير شب", "http://www.sohrab-sepehri.com/static-3.html"))
      insDoc(aux1, gLnk("S", "دود مي خيزد", "http://www.sohrab-sepehri.com/static-1.html"))
      insDoc(aux1, gLnk("S", "سپيده", "http://www.sohrab-sepehri.com/static-2.html"))
      insDoc(aux1, gLnk("S", "مرغ معما", "http://www.sohrab-sepehri.com/static-4.html"))
      insDoc(aux1, gLnk("S", "روشن شب", "http://www.sohrab-sepehri.com/static-5.html"))
      insDoc(aux1, gLnk("S", "سراب", "http://www.sohrab-sepehri.com/static-6.html"))
      insDoc(aux1, gLnk("S", "رو به غروب", "http://www.sohrab-sepehri.com/static-7.html"))
      insDoc(aux1, gLnk("S", "غمي غمناك", "http://www.sohrab-sepehri.com/static-8.html"))
      insDoc(aux1, gLnk("S", "خراب", "http://www.sohrab-sepehri.com/static-9.html"))
      insDoc(aux1, gLnk("S", "جان گرفته", "http://www.sohrab-sepehri.com/static-10.html"))
      insDoc(aux1, gLnk("S", "دلسرد", "http://www.sohrab-sepehri.com/static-11.html"))
      insDoc(aux1, gLnk("S", "دره خاموش", "http://www.sohrab-sepehri.com/static-12.html"))
      insDoc(aux1, gLnk("S", "دنگ", "http://www.sohrab-sepehri.com/static-13.html"))
      insDoc(aux1, gLnk("S", "ناياب", "http://www.sohrab-sepehri.com/static-14.html"))
      insDoc(aux1, gLnk("S", "ديوار", "http://www.sohrab-sepehri.com/static-15.html"))
      insDoc(aux1, gLnk("S", "مرگ رنگ", "http://www.sohrab-sepehri.com/static-16.html"))
      insDoc(aux1, gLnk("S", "دريا و مرد", "http://www.sohrab-sepehri.com/static-17.html"))
      insDoc(aux1, gLnk("S", "نقش", "http://www.sohrab-sepehri.com/static-18.html"))
      insDoc(aux1, gLnk("S", "سرگذشت", "http://www.sohrab-sepehri.com/static-19.html"))
      insDoc(aux1, gLnk("S", "وهم", "http://www.sohrab-sepehri.com/static-20.html"))
      insDoc(aux1, gLnk("S", "با مرغ پنهان", "http://www.sohrab-sepehri.com/static-21.html"))
      insDoc(aux1, gLnk("S", "سرود زهر", "http://www.sohrab-sepehri.com/static-22.html"))  
      
  aux1 = insFld(foldersTree, gFld("زندگي خواب ها", "javascript:parent.op()"))
	    insDoc(aux1, gLnk("S", "خواب تلخ", "http://www.sohrab-sepehri.com/static-23.html"))
  	  insDoc(aux1, gLnk("S", "فانوس خيس", "http://www.sohrab-sepehri.com/static-24.html"))
      insDoc(aux1, gLnk("S", "جهنم سرگردان", "http://www.sohrab-sepehri.com/static-25.html"))
      insDoc(aux1, gLnk("S", "يادبود", "http://www.sohrab-sepehri.com/static-26.html"))
      insDoc(aux1, gLnk("S", "پرده", "http://www.sohrab-sepehri.com/static-27.html"))
      insDoc(aux1, gLnk("S", "گل كاشي", "http://www.sohrab-sepehri.com/static-28.html"))
      insDoc(aux1, gLnk("S", "مرز گم شده", "http://www.sohrab-sepehri.com/static-29.html"))
      insDoc(aux1, gLnk("S", "پاداش", "http://www.sohrab-sepehri.com/static-30.html"))
      insDoc(aux1, gLnk("S", "لولوي شيشه ها", "http://www.sohrab-sepehri.com/static-31.html"))
      insDoc(aux1, gLnk("S", "لحظه گم شده", "http://www.sohrab-sepehri.com/static-32.html"))
      insDoc(aux1, gLnk("S", "باغي در صدا", "http://www.sohrab-sepehri.com/static-33.html"))
      insDoc(aux1, gLnk("S", "مرغ افسانه", "http://www.sohrab-sepehri.com/static-34.html"))
      insDoc(aux1, gLnk("S", "نيلوفر", "http://www.sohrab-sepehri.com/static-35.html"))
      insDoc(aux1, gLnk("S", "برخورد", "http://www.sohrab-sepehri.com/static-36.html"))
      insDoc(aux1, gLnk("S", "سفر", "http://www.sohrab-sepehri.com/static-37.html"))
      insDoc(aux1, gLnk("S", "بي پاسخ", "http://www.sohrab-sepehri.com/static-38.html"))
      
  aux1 = insFld(foldersTree, gFld("آوار آفتاب", "javascript:parent.op()"))
      insDoc(aux1, gLnk("S", "بي تار و پود", "http://www.sohrab-sepehri.com/static-39.html"))
      insDoc(aux1, gLnk("S", "طنين", "http://www.sohrab-sepehri.com/static-40.html"))
      insDoc(aux1, gLnk("S", "شاسوسا", "http://www.sohrab-sepehri.com/static-41.html"))
      insDoc(aux1, gLnk("S", "گل آينه", "http://www.sohrab-sepehri.com/static-42.html"))
      insDoc(aux1, gLnk("S", "همراه", "http://www.sohrab-sepehri.com/static-43.html"))
      insDoc(aux1, gLnk("S", "آن برتر", "http://www.sohrab-sepehri.com/static-44.html"))
      insDoc(aux1, gLnk("S", "روزنه اي به رنگ", "http://www.sohrab-sepehri.com/static-45.html"))
      insDoc(aux1, gLnk("S", "اي نزديك", "http://www.sohrab-sepehri.com/static-46.html"))
      insDoc(aux1, gLnk("S", "غبار لبخند", "http://www.sohrab-sepehri.com/static-47.html"))
      insDoc(aux1, gLnk("S", "فراتر", "http://www.sohrab-sepehri.com/static-48.html"))
      insDoc(aux1, gLnk("S", "شكست كرانه", "http://www.sohrab-sepehri.com/static-49.html"))
      insDoc(aux1, gLnk("S", "دياري ديگر", "http://www.sohrab-sepehri.com/static-50.html"))
      insDoc(aux1, gLnk("S", "كو قطره وهم", "http://www.sohrab-sepehri.com/static-51.html"))
      insDoc(aux1, gLnk("S", "سايبان آرامش ما، ماييم", "http://www.sohrab-sepehri.com/static-52.html"))
      insDoc(aux1, gLnk("S", "پرچين راز", "http://www.sohrab-sepehri.com/static-53.html"))
      insDoc(aux1, gLnk("S", "آواي گياه", "http://www.sohrab-sepehri.com/static-54.html"))
      insDoc(aux1, gLnk("S", "ميوه تاريك", "http://www.sohrab-sepehri.com/static-55.html"))
      insDoc(aux1, gLnk("S", "شب هم آهنگي", "http://www.sohrab-sepehri.com/static-56.html"))
      insDoc(aux1, gLnk("S", "دروگران پگاه", "http://www.sohrab-sepehri.com/static-57.html"))
      insDoc(aux1, gLnk("S", "راه واره", "http://www.sohrab-sepehri.com/static-58.html"))
      insDoc(aux1, gLnk("S", "گردش سايه ها", "http://www.sohrab-sepehri.com/static-59.html"))
      insDoc(aux1, gLnk("S", "برتر از پرواز", "http://www.sohrab-sepehri.com/static-60.html"))
      insDoc(aux1, gLnk("S", "نيايش", "http://www.sohrab-sepehri.com/static-61.html"))
      insDoc(aux1, gLnk("S", "نزديك آي", "http://www.sohrab-sepehri.com/static-62.html"))
      insDoc(aux1, gLnk("S", " ... ", "http://www.sohrab-sepehri.com/static-63.html"))
      insDoc(aux1, gLnk("S", "موج نوازشي، اي گرداب", "http://www.sohrab-sepehri.com/static-64.html"))
      insDoc(aux1, gLnk("S", "بيراهه اي در آفتاب", "http://www.sohrab-sepehri.com/static-65.html"))
      insDoc(aux1, gLnk("S", "خوابي در هياهو", "http://www.sohrab-sepehri.com/static-66.html"))
      insDoc(aux1, gLnk("S", "تارا", "http://www.sohrab-sepehri.com/static-67.html"))
      insDoc(aux1, gLnk("S", "در سفر آن سوها", "http://www.sohrab-sepehri.com/static-68.html"))
      insDoc(aux1, gLnk("S", "اي همه سيماها", "http://www.sohrab-sepehri.com/static-69.html"))
      insDoc(aux1, gLnk("S", "محراب", "http://www.sohrab-sepehri.com/static-70.html"))

  aux1 = insFld(foldersTree, gFld("شرق اندوه", "javascript:parent.op()"))
      insDoc(aux1, gLnk("S", "روانه", "http://www.sohrab-sepehri.com/static-71.html"))
      insDoc(aux1, gLnk("S", "هلا", "http://www.sohrab-sepehri.com/static-72.html"))
      insDoc(aux1, gLnk("S", "پادمه", "http://www.sohrab-sepehri.com/static-73.html"))
      insDoc(aux1, gLnk("S", "چند", "http://www.sohrab-sepehri.com/static-74.html"))
      insDoc(aux1, gLnk("S", "هايي", "http://www.sohrab-sepehri.com/static-75.html"))
      insDoc(aux1, gLnk("S", "شكپوي", "http://www.sohrab-sepehri.com/static-76.html"))
      insDoc(aux1, gLnk("S", "نه به سنگ", "http://www.sohrab-sepehri.com/static-77.html"))
      insDoc(aux1, gLnk("S", "و", "http://www.sohrab-sepehri.com/static-78.html"))
      insDoc(aux1, gLnk("S", "نا", "http://www.sohrab-sepehri.com/static-79.html"))
      insDoc(aux1, gLnk("S", "پاراه", "http://www.sohrab-sepehri.com/static-80.html"))
      insDoc(aux1, gLnk("S", "شيطان هم", "http://www.sohrab-sepehri.com/static-81.html"))
      insDoc(aux1, gLnk("S", "شورم را", "http://www.sohrab-sepehri.com/static-82.html"))
      insDoc(aux1, gLnk("S", "بودهي bodhi", "http://www.sohrab-sepehri.com/static-83.html"))
      insDoc(aux1, gLnk("S", "گزار", "http://www.sohrab-sepehri.com/static-84.html"))
      insDoc(aux1, gLnk("S", "لب آب", "http://www.sohrab-sepehri.com/static-85.html"))
      insDoc(aux1, gLnk("S", "هنگامي", "http://www.sohrab-sepehri.com/static-86.html"))
      insDoc(aux1, gLnk("S", "تا", "http://www.sohrab-sepehri.com/static-87.html"))
      insDoc(aux1, gLnk("S", "تنها باد", "http://www.sohrab-sepehri.com/static-88.html"))
      insDoc(aux1, gLnk("S", "تراو", "http://www.sohrab-sepehri.com/static-89.html"))
      insDoc(aux1, gLnk("S", "ويد", "http://www.sohrab-sepehri.com/static-90.html"))
      insDoc(aux1, gLnk("S", "وشكستم،و دويدم،وفتادم", "http://www.sohrab-sepehri.com/static-91.html"))
      insDoc(aux1, gLnk("S", "نيايش", "http://www.sohrab-sepehri.com/static-92.html"))
      insDoc(aux1, gLnk("S", "به زمين", "http://www.sohrab-sepehri.com/static-94.html"))
      insDoc(aux1, gLnk("S", "و چه تنها", "http://www.sohrab-sepehri.com/static-95.html"))
      insDoc(aux1, gLnk("S", "تا گل هيچ", "http://www.sohrab-sepehri.com/static-96.html"))
  
  aux1 = insFld(foldersTree, gFld("صداي پاي آب", "http://www.sohrab-sepehri.com/static-97.html"))
  
  aux1 = insFld(foldersTree, gFld("مسافر", "http://www.sohrab-sepehri.com/static-98.html"))
  
  aux1 = insFld(foldersTree, gFld("حجم سبز", "javascript:parent.op()"))
      insDoc(aux1, gLnk("S", "از روي پلك شب", "http://www.sohrab-sepehri.com/static-99.html"))
      insDoc(aux1, gLnk("S", "روشني، من، گل، آب", "http://www.sohrab-sepehri.com/static-100.html"))
      insDoc(aux1, gLnk("S", "و پيامي در راه", "http://www.sohrab-sepehri.com/static-101.html"))
      insDoc(aux1, gLnk("S", "ساده رنگ", "http://www.sohrab-sepehri.com/static-102.html"))
      insDoc(aux1, gLnk("S", "آب", "http://www.sohrab-sepehri.com/static-103.html"))
      insDoc(aux1, gLnk("S", "در گلستانه", "http://www.sohrab-sepehri.com/static-104.html"))
      insDoc(aux1, gLnk("S", "غربت", "http://www.sohrab-sepehri.com/static-105.html"))
      insDoc(aux1, gLnk("S", "پيغام ماهي ها", "http://www.sohrab-sepehri.com/static-106.html"))
      insDoc(aux1, gLnk("S", "نشاني", "http://www.sohrab-sepehri.com/static-107.html"))
      insDoc(aux1, gLnk("S", "واحه اي در لحظه", "http://www.sohrab-sepehri.com/static-108.html"))
      insDoc(aux1, gLnk("S", "پشت درياها", "http://www.sohrab-sepehri.com/static-109.html"))
      insDoc(aux1, gLnk("S", "تپش سايه دوست", "http://www.sohrab-sepehri.com/static-110.html"))
      insDoc(aux1, gLnk("S", "صداي ديدار", "http://www.sohrab-sepehri.com/static-111.html"))
      insDoc(aux1, gLnk("S", "شب تنهايي خوب", "http://www.sohrab-sepehri.com/static-112.html"))
      insDoc(aux1, gLnk("S", "سوره تماشا", "http://www.sohrab-sepehri.com/static-113.html"))
      insDoc(aux1, gLnk("S", "پرهاي زمزمه", "http://www.sohrab-sepehri.com/static-114.html"))
      insDoc(aux1, gLnk("S", "ورق روشن وقت", "http://www.sohrab-sepehri.com/static-115.html"))
      insDoc(aux1, gLnk("S", "آفتابي", "http://www.sohrab-sepehri.com/static-116.html"))
      insDoc(aux1, gLnk("S", "جنبش واژه زيست", "http://www.sohrab-sepehri.com/static-117.html"))
      insDoc(aux1, gLnk("S", "از سبز به سبز", "http://www.sohrab-sepehri.com/static-118.html"))
      insDoc(aux1, gLnk("S", "نداي آغاز", "http://www.sohrab-sepehri.com/static-119.html"))
      insDoc(aux1, gLnk("S", "به باغ هم سفران", "http://www.sohrab-sepehri.com/static-120.html"))
      insDoc(aux1, gLnk("S", "دوست", "http://www.sohrab-sepehri.com/static-121.html"))
      insDoc(aux1, gLnk("S", "هميشه", "http://www.sohrab-sepehri.com/static-123.html"))
      insDoc(aux1, gLnk("S", "تا نبض خيس صبح", "http://www.sohrab-sepehri.com/static-122.html"))

  aux1 = insFld(foldersTree, gFld("ما هيچ، ما نگاه", "javascript:parent.op()"))
      insDoc(aux1, gLnk("S", "اي شور، اي قديم", "http://www.sohrab-sepehri.com/static-124.html"))
      insDoc(aux1, gLnk("S", "نزديك دورها", "http://www.sohrab-sepehri.com/static-125.html"))
      insDoc(aux1, gLnk("S", "وقت لطيف شن", "http://www.sohrab-sepehri.com/static-126.html"))
      insDoc(aux1, gLnk("S", "اكنون هبوط رنگ", "http://www.sohrab-sepehri.com/static-127.html"))
      insDoc(aux1, gLnk("S", "از آبها به بعد", "http://www.sohrab-sepehri.com/static-128.html"))
      insDoc(aux1, gLnk("S", "هم سطر، هم سپيد", "http://www.sohrab-sepehri.com/static-129.html"))
      insDoc(aux1, gLnk("S", "اينجا پرنده بود", "http://www.sohrab-sepehri.com/static-130.html"))
      insDoc(aux1, gLnk("S", "متن قديم شب", "http://www.sohrab-sepehri.com/static-131.html"))
      insDoc(aux1, gLnk("S", "بي روزها عروسك", "http://www.sohrab-sepehri.com/static-132.html"))
      insDoc(aux1, gLnk("S", "چشمان يك عبور", "http://www.sohrab-sepehri.com/static-133.html"))
      insDoc(aux1, gLnk("S", "تنهاي منظره", "http://www.sohrab-sepehri.com/static-134.html"))
      insDoc(aux1, gLnk("S", "سمت خيال دوست", "http://www.sohrab-sepehri.com/static-135.html"))
      insDoc(aux1, gLnk("S", "اينجا هميشه تيه", "http://www.sohrab-sepehri.com/static-136.html"))
      insDoc(aux1, gLnk("S", "تا انتها حضور", "http://www.sohrab-sepehri.com/static-137.html"))

  // If your tree instead of the regular http links has "javascript:function(arg)"
  // links, and the type of the argument is string, special care is needed regarding
  // the quotes and double quotes. Please use exactly the same kind of 
  // quotes or double quotes used in this example (they change from folder to document).
  // Use the exact same number of backslashes for escaping the (double)quote 
  // characters, and pay attention not only to the (double)quotes surrouding the 
  // strings, but also to any (double)quote characters inside of that string

  // If you are going to use a frameless layout, you will need to move the functions 
  // exampleFunction and windowWithoutToolbar to the main page and change
  // parent.functionname to window.functionname in this file

  //Note the "S" target in the first argument of gLnk
  //aux1 = insFld(foldersTree, gFld("<i>javascript:</i> links", "javascript:parent.op()"))
      //Use \" to delimit your string arguments and \\\" inside 
	  //insDoc(aux1, gLnk("S", "Window w/o bars", "javascript:parent.windowWithoutToolbar(\\\'http://www.sohrab-sepehri.com/block/icon/beenthere_tuscany.gif\\\', 410, 415)"))
      //Use \\\' to delimit your string arguments and \\\\\\' inside
	  //Double quote characters (") are not allowed in the string argument
	  //insDoc(aux1, gLnk("S", "A <i>js:</i> doc", "javascript:parent.exampleFunction(\\\'Special care with: &quot; and \\\\\\'\\\')"))
	  //Single quote characters (') are not allowed in the string argument but you can replace them with &#39;
	  //aux2 = insFld(aux1, gFld("A <i>js:</i> folder", "javascript:parent.exampleFunction(\"Take special care with: \\\" and &#39;\")"))


