//BEGIN TOP MENU

oM=new makeCM("oM"); oM.resizeCheck=1; oM.rows=1;  oM.onlineRoot="http://www.islaam.net/"; oM.pxBetween =10; 
oM.fillImg="cm_fill.gif"; 

//If IE
if (document.all){
  oM.fromTop=115; 
}
//Else if Netscape 6
else if (document.getElementById){
  oM.fromTop=112; 
}
else {
  oM.fromTop=112; 
}

oM.fromLeft=7; oM.wait=300; oM.zIndex=400;
oM.useBar=1; oM.barWidth="500"; oM.barHeight="menu"; oM.barX=0;oM.barY="menu"; oM.barClass="clBar";
oM.barBorderX=0; oM.barBorderY=0;
oM.level[0]=new cm_makeLevel(60,18,"clT","clTover",1,1,"clB",0,"bottom",0,0,0,0,0);
oM.level[1]=new cm_makeLevel(120,20,"clS","clSover",1,1,"clSB",0,"right",10,0,"menu_arrow.gif",10,10);

oM.makeMenu('m1','','Knowledge','main/display.php?setfilter=all','',80);
oM.makeMenu('m2','','Whats New','main/whatsnew.php','',100);
oM.makeMenu('m3','','Search','main/search.php','',60);
oM.makeMenu('m4','','Events','main/events.php');
//oM.makeMenu('m5','','Shop','shop/','',40);
oM.makeMenu('m7','','Islamic Network','main/display.php?id=203','',120);
oM.makeMenu('m10','m1','Qur\'an','main/display.php?category=2');
oM.makeMenu('m11','m1','Hadith','main/display.php?category=6');
oM.makeMenu('m12','m1','\'Aqidah','main/display.php?category=3');
oM.makeMenu('m13','m1','Fiqh','main/display.php?category=7');
oM.makeMenu('m14','m1','Tazkiyah','main/display.php?category=12');
oM.makeMenu('m16','m1','Women and Children','main/display.php?category=14','',120,34);
oM.makeMenu('m17','m1','History and Biographies','main/display.php?category=13','',120,34);
oM.makeMenu('m18','m1','Non-Muslims','main/display.php?category=15');
oM.makeMenu('m19','m1','Refutations','main/display.php?category=19');
oM.makeMenu('m20','m1','Khutbahs','main/display.php?category=23');
oM.makeMenu('m21','m1','Nashids','main/display.php?category=40');
oM.makeMenu('m22','m1','Other','main/display.php?category=20');
oM.makeMenu('m23','m1','Our Seminars','main/display.php?category=44');
oM.makeMenu('m24','m1','Islamic Network Mail','main/display.php?category=56','',120,34);
oM.makeMenu('m30','m3','Keyword Search','main/keyword_search.php');
oM.makeMenu('m31','m3','Author Search','main/author_search.php');
oM.makeMenu('m32','m3','Qur\`an Search','main/quransearch.php');
oM.makeMenu('m33','m3','Hadith Search','main/hadithsearch.php');
oM.makeMenu('m42','m4','Next Event','main/events.php');
oM.makeMenu('m43','m4','Past Events','main/display.php?id=203');
oM.makeMenu('m44','m7','Mailing List','main/mailinglist.php');
//oM.makeMenu('m53','m5','Online Bookshop','shop/');
//oM.makeMenu('m54','m5','Terms and Conditions','shop/terms.php','',120,34);
oM.makeMenu('m79','m7','About Us','main/display.php?id=203');
oM.makeMenu('m70','m7','Contact Us','main/display.php?id=247');
oM.makeMenu('m71','m7','Donations','main/display.php?id=211');
oM.makeMenu('m73','m7','Islamic Network Mail','main/display.php?category=56','',120,34);

var avail="190+((cmpage.x2-235)/7)";
//oM.menuPlacement=new Array(192,avail+"-11",avail+"*2-8",avail+"*3-12",avail+"*4-7",avail+"*5-9",avail+"*6+5")
oM.menuPlacement=0
oM.construct()
//END TOP MENU

//BEGIN LEFT MENU
LM=new makeCM("LM"); LM.resizeCheck=1; LM.rows=0;  LM.onlineRoot="http://www.islaam.net/"; LM.pxBetween =00; 
LM.fillImg="cm_fill.gif";

//If IE
if (document.all){
  LM.fromTop=285;
  LM.fromLeft=33; 
}
//Else if Netscape 6
else if (document.getElementById){
  LM.fromTop=273;
  LM.fromLeft=33; 
}
else {
  LM.fromTop=273;
  LM.fromLeft=33; 
}


LM.wait=300; LM.zIndex=400;
LM.useBar=0; LM.barWidth="100%"; LM.barHeight="menu"; LM.barX=0; LM.barY="menu"; LM.barClass="LMCLBar";
LM.barBorderX=0; LM.barBorderY=0;
LM.level[0]=new cm_makeLevel(90,18,"LMCLT","LMCLTover",1,1,"LMCLB",0,"right",0,0,0,0,0);
LM.level[1]=new cm_makeLevel(120,20,"LMCLS","LMCLSover",1,1,"LMCLSB",1,"bottom",100,0,"menu_arrow.gif",10,10);

LM.makeMenu('m1','','Knowledge','main/display.php?setfilter=all');
LM.makeMenu('m2','','Whats New','main/whatsnew.php');
LM.makeMenu('m3','','Search','main/search.php');
LM.makeMenu('m4','','Events','main/events.php');
//LM.makeMenu('m5','','Shop','shop/');
LM.makeMenu('m7','','Islamic Network','main/display.php?id=203','',90,36);
LM.makeMenu('m10','m1','Qur\'an','main/display.php?category=2');
LM.makeMenu('m11','m1','Hadith','main/display.php?category=6');
LM.makeMenu('m12','m1','\'Aqidah','main/display.php?category=3');
LM.makeMenu('m13','m1','Fiqh','main/display.php?category=7');
LM.makeMenu('m14','m1','Tazkiyah','main/display.php?category=12');
LM.makeMenu('m16','m1','Women and Children','main/display.php?category=14','',120,34);
LM.makeMenu('m17','m1','History and Biographies','main/display.php?category=13','',120,34);
LM.makeMenu('m18','m1','Non-Muslims','main/display.php?category=15');
LM.makeMenu('m19','m1','Refutations','main/display.php?category=19');
LM.makeMenu('m20','m1','Khutbahs','main/display.php?category=23');
LM.makeMenu('m21','m1','Nashids','main/display.php?category=40');
LM.makeMenu('m22','m1','Other','main/display.php?category=20');
LM.makeMenu('m23','m1','Our Seminars','main/display.php?category=44');
LM.makeMenu('m24','m1','Islamic Network Mail','main/display.php?category=56','',120,34);
LM.makeMenu('m30','m3','Keyword Search','main/keyword_search.php');
LM.makeMenu('m31','m3','Author Search','main/author_search.php');
LM.makeMenu('m32','m3','Qur\'an Search','main/quransearch.php');
LM.makeMenu('m33','m3','Hadith Search','main/hadithsearch.php');
LM.makeMenu('m42','m4','Next Event','main/events.php');
LM.makeMenu('m43','m4','Past Events','main/display.php?id=203');
LM.makeMenu('m44','m7','Mailing List','main/mailinglist.php');
//LM.makeMenu('m53','m5','Online Bookshop','shop/');
//LM.makeMenu('m54','m5','Terms and Conditions','shop/terms.php','',120,34);
LM.makeMenu('m79','m7','About Us','main/display.php?id=203');
LM.makeMenu('m70','m7','Contact Us','main/display.php?id=247');
LM.makeMenu('m71','m7','Donations','main/display.php?id=211');
LM.makeMenu('m73','m7','Islamic Network Mail','main/display.php?category=56','',120,34);

var avail="190+((cmpage.x2-235)/7)";
//LM.menuPlacement=new Array(192,avail+"-11",avail+"*2-8",avail+"*3-12",avail+"*4-7",avail+"*5-9",avail+"*6+5")
LM.menuPlacement=0
LM.construct()
//END LEFT MENU

