﻿<!-- wt - http://bahar-20.com
 
//!!!Edit the appearance here!!!
 
MenuWidth=96;           //Individual menu width.
MenuFont='tahoma,Arial,Verdana';
MenuFontSize=2;          //1 to 7 only, 2 probably big enough.
MenuFontColor='ffea00';
MenuBgColor='#626262';
HighLight='630000';
Separater=4;             //Space around menus.
Centre=true;             //true or false.
 
//!!!Alter nothing here, go straight to "Links"!!!
 
n4=(document.layers);
n6=(document.getElementById&&!document.all);
ie=(document.all);
h=(ie)?document.body.clientHeight:window.innerHeight;
w=(ie)?document.body.clientWidth:window.innerWidth;
Titles=new Array()
Links=new Array()
 
algn1=(Centre)?'<center>':'';
algn2=(Centre)?'</center>':'';
 
function colour2(c){(n4)?c.bgColor=HighLight:c.style.background=HighLight}//
function colour1(c){(n4)?c.bgColor=MenuBgColor:c.style.background=MenuBgColor}//
 
var OpenLayer=(n4)?"<br><layer height=100% width=100% onMouseOver='colour1(this)'; onMouseOut='colour2(this)'>"+algn1:"<div style='height:auto;width:100%' onMouseOver='colour1(this)'; onMouseOut='colour2(this)'><font face="+MenuFont+" size="+MenuFontSize+" color="+MenuFontColor+">";
var CloseLayer=(n4)?algn2+"</layer>":"</font></div>";
 
var vs=(n4)?"<font face='Wingdings' color="+MenuBgColor+">n</font>":OpenLayer+"&nbsp;"+CloseLayer+"<font color="+MenuBgColor+">"+String.fromCharCode(9660)+"</font>";
 
 
/*************************************Links here****************************************
 
First off, alter the Titles to whatever. Add/delete as needed, make sure they're
numbered in order.
 
Now fill the Links with your er..links, as many as needed. Here's how.
Example:
+OpenLayer+"<a target='_link' href='http://www.google.com' class='x'>Search with Google</a>"+CloseLayer
 
If you need to have quots etc in the link text make sure you escape them with a backslash.
Example:
...class='Y'> What\'s new </a>"+C...
 
***************************************************************************************/
Titles[0]="تصاویر";
Titles[1]="كد صوتی";
Titles[2]="قالب وبلاگ";
Titles[3]="زیباسازی";
Titles[4]="سرگرمی";
Titles[5]="كاربردی";
Titles[6]="فال و طالع";


 
 
Links[0]=vs
+OpenLayer+"<a target='_link' href='http://www.bahar-20.com/pichak/index.php?cat=3')' class='x'>بازیگران مرد</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.bahar-20.com/pichak/index.php?cat=10')' class='x'>بازیگران زن</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.bahar-20.com/pichak/index.php?cat=4')' class='x'>طبیعت</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.bahar-20.com/pichak/index.php?cat=7')' class='x'>حیوانات</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.bahar-20.com/pichak/index.php?cat=8')' class='x'>كارت پستال</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.bahar-20.com/pichak/thumbnails.php?album=35')' class='x'>تصویر زمینه</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.bahar-20.com/pichak/thumbnails.php?album=32')' class='x'>عاشقانه</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.bahar-20.com/pichak/thumbnails.php?album=101')' class='x'>هنری</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.bahar-20.com/pichak/thumbnails.php?album=104')' class='x'>Danger</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/gallery3')' class='x'>دختر پسر</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/gallery2/thumbnails.php?album=8')' class='x'>تصاویر قشنگ</a>"+CloseLayer

 
 
 
Links[1]=vs
+OpenLayer+"<a target='_link' href='http://www.pichak.net/nohe')' class='x'>كد نوحه</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.bahar-20.com/ftp/cod.musics/page')' class='x'>آهنگ متفرقه</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/music')' class='x'>شخص خاص</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://pichak.net/music/32/Mohsen-yeganeh')' class='x'>محسن یگانه</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://pichak.net/music/27/ali-lohrasebi')' class='x'>علی لهراسبی</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://pichak.net/music/28/mohamad-reza-shajarian/rendan-mast')' class='x'>شجریان</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://pichak.net/music/12/reza-sadeghi')' class='x'>رضا صادقی</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://pichak.net/music/8/hamid-asgary')' class='x'>حمید عسگری</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/music/sefaresh')' class='x'>سفارشی</a>"+CloseLayer

 
Links[2]=vs
+OpenLayer+"<a target='_link' href='http://www.bahar-20.com/themes')' class='x'>بهاربیست</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/themes')' class='x'>پیچك</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net')' class='x'>قالب جدید</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/themes/18')' class='x'>216 قالب</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://pichak.net/themes/design')' class='x'>سفارشی</a>"+CloseLayer


 
 
 
 
 
Links[3]=vs
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/zibasazi')' class='x'>تصاویر زیباساز</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/blogcod/zibasazi')' class='x'>تصاویر بیشتر</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/blogcod/mose')' class='x'>تغییر شكل موس</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/blogcod/clock')' class='x'>ساعت فلش</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/zibasazi/05')' class='x'>عروسك یاهو</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/blogcod/falehafez')' class='x'>كدهای فال</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/blogcod/google')' class='x'>جستجو گر</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.bahar-20.com/ftp/other/chat')' class='x'>چت آنلاین</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/themes')' class='x'>قالب وبلاگ</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/blogcod/yahoo')' class='x'>وضعيت ياهو</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/web')' class='x'>تبدیل به سایت</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/blogcod/gallery')' class='x'>گالری وبلاگ</a>"+CloseLayer



Links[4]=vs
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/online/games')' class='x'>بازی آنلاين</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/fun/game-online')' class='x'>بازی بیشتر</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/dastan')' class='x'>داستان كوتاه</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/fun/fall')' class='x'>فال و طالع</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/gallery')' class='x'>گالری عكس</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/sms')' class='x'>اس ام اس</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/fun/sms-jok-persian/offline')' class='x'>آفلاین</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/fun/sms-jok-persian/laughter')' class='x'>جوك</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/topblog')' class='x'>مسابقه</a>"+CloseLayer




Links[5]=vs
+OpenLayer+"<a target='_link' href='http://www.pichak.net/blogcod')' class='x'>سری اول</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/other')' class='x'>سری دوم</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.bahar-20.com/ftp/other/chat/chat')' class='x'>چت آنلاین</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/blogcod/statistics')' class='x'>آمار و ارقام</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/blogcod/web')' class='x'>آموزش وبلاگ</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/blogcod/yahoo')' class='x'>وضعيت ياهو</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://www.pichak.net/web')' class='x'>تبدیل به سایت</a>"+CloseLayer

Links[6]=vs
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/Falehafez')' class='x'>حافظ</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/Falehafez/fal/eshgh')' class='x'>عشق</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/Falehafez/fal/hadie')' class='x'>هديه</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/Falehafez/fal/tarot')' class='x'>تاروت</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/Falehafez/fal/varagh.pastor.ehsas')' class='x'>پاستور</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/Falehafez/fal/horofe.abjad')' class='x'>حروف ابجد</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/Falehafez/fal/talebini.ezdevaj')' class='x'>ازدواج</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/Falehafez/fal/talebini.parandegan')' class='x'>پرندگان</a>"+CloseLayer
+OpenLayer+"<a target='_link' href='http://bahar-20.com/ftp/Falehafez/fal/talebini.hendi')' class='x'>هندی</a>"+CloseLayer


//!!!Alter anything past this point!!!
 
w1=(MenuWidth+Separater)*Titles.length;
w2=w/2;
i1=w2-MenuWidth-Separater-w1/2;
i2=w2-MenuWidth-Separater-w1/2;
s1=MenuWidth+Separater;
s2=MenuWidth+Separater;
if (w1 > w2*2){i1=-MenuWidth;i2=-MenuWidth}
vy=(n4)?'show':'visible';
vn=(n4)?'hide':'hidden';
 
//Don't mess about with N4, just use layers.
if (n4){
for (i=0; i < Titles.length; i++){
document.write("<layer name='lnks"+i+"' top=0 left="+(i2+=s2)+" "
+" width="+MenuWidth+" bgcolor="+HighLight+" visibility=hide"
+" onMouseOver='this.visibility=vy; var cd=this.id.length-1; var ab=this.id.charAt(cd); H(ab)' "
+" onMouseOut='this.visibility=vn; var ef=this.id.length-1; var gh=this.id.charAt(ef); B(gh)'>"
+algn1+"<font face="+MenuFont+" size="+MenuFontSize+">"
+"&nbsp;<br>"+Links[i]+"</font>"+algn2+"</layer>");
document.write("<layer name='ttls"+i+"' top=0 left="+(i1+=s1)+" height=0 "
+"width="+MenuWidth+" bgcolor="+MenuBgColor+" "
+"onMouseOver=\"this.bgColor=HighLight; var e=this.id.length-1; var d=this.id.charAt(e); On(d)\" "
+"onMouseOut=\"this.bgColor=MenuBgColor; var e=this.id.length-1; var d=this.id.charAt(e); Off(d)\">"
+algn1+"<font face="+MenuFont+" size="+MenuFontSize+" color="+MenuFontColor+">"
+Titles[i]+"</font>"+algn2+"</layer>");
}
function On(x){for (i=0; i < Titles.length; i++)document.layers['lnks'+x].visibility=vy}
function Off(x){for (i=0; i < Titles.length; i++)document.layers['lnks'+x].visibility=vn}
function B(y){for (i=0; i < Titles.length; i++)document.layers['ttls'+y].bgColor=MenuBgColor}
function H(y){for (i=0; i < Titles.length; i++)document.layers['ttls'+y].bgColor=HighLight}
}
if (!n4){
for (i=0; i < Titles.length; i++){
document.write("<div id='lnks"+i+"' style='position:absolute;"
+"top:0px;left:"+(i2+=s2)+"px;width:"+MenuWidth+"px;"
+"background:"+HighLight+";visibility:hidden'"
+" onMouseOver='this.style.visibility=vy; document.getElementById(\"ttls"+i+"\").style.background=HighLight';"
+" onMouseOut='this.style.visibility=vn; document.getElementById(\"ttls"+i+"\").style.background=MenuBgColor'>"
+algn1+Links[i]+algn2+"</div>");
document.write("<div id='ttls"+i+"' style='position:absolute;top:0px;left:"+(i1+=s1)+"px;height:auto;width:"+MenuWidth+"px;"
+"background:"+MenuBgColor+";cursor:default'"
+" onMouseOver='document.getElementById(\"lnks"+i+"\").style.visibility=vy;this.style.background=HighLight'"
+" onMouseOut='document.getElementById(\"lnks"+i+"\").style.visibility=vn;this.style.background=MenuBgColor'>"
+algn1+"<font face="+MenuFont+" size="+MenuFontSize+" color="+MenuFontColor+">"+Titles[i]+"</font>"+algn2+"</div>");
}
}
function Scroll(){
sy=(ie)?document.body.scrollTop:window.pageYOffset;
for (i=0; i < Titles.length; i++){
if (n4){
 document.layers['ttls'+i].top=Separater+sy;
 document.layers['lnks'+i].top=Separater+sy;
 }
else{
 document.getElementById("ttls"+i).style.top=Separater+sy;
 document.getElementById("lnks"+i).style.top=Separater+sy;
 }
}
setTimeout('Scroll()',150)
}
Scroll();
window.onresize=new Function("window.location.reload()");
 
 
if (!n4){
for (i=0; i < document.links.length; i++){
 if (document.links[i].href == this.window.location.href)
  {
  document.links[i].style.color=MenuBgColor;
  document.links[i].style.cursor='crosshair';
  //document.links[i].innerHTML+=' -';
  //alert(i+' '+document.links[i].href);
  break;
  }
 }
}
//-->