
function CreateMainLinks(p,l,a,s,lv,pr)
{var t='';
if (lv==1) {if (p==1) {t+='<div class=ptab>';} else {t+='<div class=mnu-b>';}} else {t+='<div class=ptab2>';}if (lv==1) {t+='<a href="/" id="pg1" title="">&#1589;&#1601;&#1581;&#1607;&#32;&#1575;&#1589;&#1604;&#1610;</a>';if (p==2) {t+=' | ';}t+='<a href="/search.aspx" id="pg2" title="&#1580;&#1587;&#1578;&#1580;&#1608;&#1610;&#32;&#1593;&#1576;&#1575;&#1585;&#1575;&#1578;&#32;&#1608;&#32;&#1605;&#1601;&#1575;&#1607;&#1610;&#1605;&#32;&#1605;&#1608;&#1585;&#1583;&#32;&#1606;&#1592;&#1585;">&#1580;&#1587;&#1578;&#1580;&#1608;</a>';if (p==2) {t+=' | ';}t+='<a href="/directory.aspx" id="pg4" title="&#1606;&#1605;&#1575;&#1610;&#1588;&#32;&#1605;&#1608;&#1590;&#1608;&#1593;&#1575;&#1578;&#32;&#1608;&#32;&#1605;&#1591;&#1575;&#1604;&#1576;&#32;&#171;&#1585;&#1575;&#1607;&#1603;&#1575;&#1585;&#32;&#1605;&#1583;&#1610;&#1585;&#1610;&#1578;&#187;&#32;&#1576;&#1589;&#1608;&#1585;&#1578;&#32;&#1583;&#1585;&#1582;&#1578;&#32;&#1605;&#1608;&#1590;&#1608;&#1593;&#1575;&#1578;">&#1605;&#1608;&#1590;&#1608;&#1593;&#1606;&#1575;&#1605;&#1607;</a>';if (p==2) {t+=' | ';}t+='<a href="/library.aspx" id="pg3" title="&#1607;&#1605;&#1607;&#32;&#1605;&#1591;&#1575;&#1604;&#1576;&#32;&#171;&#1585;&#1575;&#1607;&#1603;&#1575;&#1585;&#32;&#1605;&#1583;&#1610;&#1585;&#1610;&#1578;&#187;&#32;&#1576;&#1607;&#32;&#1578;&#1601;&#1603;&#1610;&#1603;&#32;&#1606;&#1608;&#1593;&#32;&#1605;&#1591;&#1604;&#1576;">&#1605;&#1602;&#1575;&#1604;&#1575;&#1578;&#32;&#1605;&#1591;&#1575;&#1604;&#1576;</a>';if (p==2) {t+=' | ';}t+='<a href="/services.aspx" id="pg6" title="&#1605;&#1593;&#1585;&#1601;&#1610;&#32;&#1608;&#32;&#1585;&#1575;&#1607;&#1606;&#1605;&#1575;&#1610;&#32;&#1582;&#1583;&#1605;&#1575;&#1578;&#32;&#1602;&#1575;&#1576;&#1604;&#32;&#1575;&#1585;&#1575;&#1574;&#1607;&#32;&#1583;&#1585;&#32;&#1587;&#1575;&#1610;&#1578;&#32;&#32;&#171;&#1585;&#1575;&#1607;&#1603;&#1575;&#1585;&#32;&#1605;&#1583;&#1610;&#1585;&#1610;&#1578;&#187;">&#1582;&#1583;&#1605;&#1575;&#1578;</a>';if (l==1) {if (p==2) {t+=' | ';}t+='<a href="/members/?sid=' + s + '" id="pg14" title="&#1589;&#1601;&#1581;&#1607;&#32;&#1588;&#1582;&#1589;&#1610;&#32;&#1607;&#1585;&#32;&#1593;&#1590;&#1608;">&#1589;&#1601;&#1581;&#1607;&#32;&#1593;&#1590;&#1608;</a>';}if (p==1 & l==1 & a==1) {if (p==2) {t+=' | ';}t+='<a href="/sitemgt/?sid=' + s + '" id="pg15" title="">&#1605;&#1583;&#1610;&#1585;&#1610;&#1578;</a>';}} if (lv==2) {if (pr==2) {t+='<a href="/searchhelp.aspx" id="pg39" title="&#1585;&#1575;&#1607;&#1606;&#1605;&#1575;&#1610;&#32;&#1580;&#1587;&#1578;&#1580;&#1608;&#32;&#1583;&#1585;&#32;&#171;&#1585;&#1575;&#1607;&#1603;&#1575;&#1585;&#32;&#1605;&#1583;&#1610;&#1585;&#1610;&#1578;&#187;">&#1585;&#1575;&#1607;&#1606;&#1605;&#1575;&#1610;&#32;&#1580;&#1587;&#1578;&#1580;&#1608;</a>';}if (pr==3) {t+='<a href="/olist/p1/subjects.aspx" id="pg301" title="">&#1605;&#1608;&#1590;&#1608;&#1593;&#1575;&#1578;</a>';}if (pr==3) {t+='<a href="/olist/p1/articles.aspx" id="pg302" title="">&#1605;&#1602;&#1575;&#1604;&#1575;&#1578;</a>';}if (pr==3) {t+='<a href="/olist/p1/books.aspx" id="pg303" title="">&#1603;&#1578;&#1575;&#1576;&#8204;&#1607;&#1575;</a>';}if (pr==3) {t+='<a href="/olist/p1/websites.aspx" id="pg305" title="">&#1608;&#1576;&#8204;&#1587;&#1575;&#1610;&#1578;&#8204;&#1607;&#1575;</a>';}if (pr==3) {t+='<a href="/olist/p1/rules.aspx" id="pg306" title="">&#1602;&#1608;&#1575;&#1606;&#1610;&#1606;&#32;&#1608;&#32;&#1605;&#1602;&#1585;&#1585;&#1575;&#1578;</a>';}if (pr==3) {t+='<a href="/olist/p1/eventsnews.aspx" id="pg307" title="">&#1575;&#1582;&#1576;&#1575;&#1585;&#32;&#1608;&#32;&#1585;&#1608;&#1610;&#1583;&#1575;&#1583;&#1607;&#1575;</a>';}if (pr==3) {t+='<a href="/olist/p1/caricatures.aspx" id="pg308" title="">&#1603;&#1575;&#1585;&#1610;&#1603;&#1575;&#1578;&#1608;&#1585;&#1607;&#1575;&#32;&#1608;&#32;&#1578;&#1589;&#1575;&#1608;&#1610;&#1585;</a>';}if (pr==3) {t+='<a href="/olist/p1/biographies.aspx" id="pg309" title="">&#1586;&#1606;&#1583;&#1711;&#1610;&#1606;&#1575;&#1605;&#1607;&#8204;&#1607;&#1575;</a>';}if (pr==3) {t+='<a href="/olist/p1/stories.aspx" id="pg310" title="">&#1581;&#1603;&#1575;&#1610;&#1578;&#8204;&#1607;&#1575;</a>';}if (pr==3) {t+='<a href="/olist/p1/jobseekers.aspx" id="pg311" title="">&#1603;&#1575;&#1585;&#1580;&#1608;&#1610;&#1575;&#1606;</a>';}if (pr==3) {t+='<a href="/olist/p1/experts.aspx" id="pg312" title="">&#1605;&#1578;&#1582;&#1589;&#1589;&#1575;&#1606;</a>';}if (pr==3) {t+='<a href="/olist/p1/softwares.aspx" id="pg313" title="">&#1606;&#1585;&#1605;&#8204;&#1575;&#1601;&#1586;&#1575;&#1585;&#1607;&#1575;</a>';}if (pr==3) {t+='<a href="/olist/p1/quots.aspx" id="pg314" title="">&#1580;&#1605;&#1604;&#1575;&#1578;&#32;&#1576;&#1585;&#1711;&#1586;&#1610;&#1583;&#1607;</a>';}if (pr==3) {t+='<a href="/olist/p1/companies.aspx" id="pg315" title="">&#1588;&#1585;&#1603;&#1578;&#8204;&#1607;&#1575;</a>';}if (pr==3) {t+='<a href="/olist/p1/journals.aspx" id="pg320" title="">&#1606;&#1588;&#1585;&#1610;&#1575;&#1578;</a>';}if (pr==3) {t+='<a href="/olist/p1/jokes.aspx" id="pg324" title="">&#1604;&#1591;&#1610;&#1601;&#1607;&#8204;&#1607;&#1575;</a>';}if (pr==3) {t+='<a href="/olist/p1/trainingservices.aspx" id="pg325" title="">&#1583;&#1608;&#1585;&#1607;&#8204;&#1607;&#1575;&#1610;&#32;&#1570;&#1605;&#1608;&#1586;&#1588;&#1610;</a>';}if (pr==3) {t+='<a href="/olist/p1/blogs.aspx" id="pg326" title="">&#1608;&#1576;&#1604;&#1575;&#1711;&#8204;&#1607;&#1575;</a>';}if (pr==3) {t+='<a href="/olist/p1/consultantservices.aspx" id="pg327" title="">&#1582;&#1583;&#1605;&#1575;&#1578;&#32;&#1605;&#1588;&#1575;&#1608;&#1585;&#1607;&#32;&#1575;&#1610;</a>';}if (pr==3) {t+='<a href="/olist/p1/thesises.aspx" id="pg328" title="">&#1662;&#1575;&#1610;&#1575;&#1606;&#8204;&#1606;&#1575;&#1605;&#1607;&#8204;&#1607;&#1575;</a>';}if (pr==3) {t+='<a href="/olist/p1/tips.aspx" id="pg329" title="">&#1606;&#1603;&#1575;&#1578;</a>';}if (pr==3) {t+='<a href="/olist/p1/humanresourcemanagementservices.aspx" id="pg332" title="">&#1582;&#1583;&#1605;&#1575;&#1578;&#32;&#1605;&#1606;&#1575;&#1576;&#1593;&#32;&#1575;&#1606;&#1587;&#1575;&#1606;&#1610;</a>';}if (pr==3) {t+='<a href="/olist/p1/employmentadvertisements.aspx" id="pg337" title="">&#1570;&#1711;&#1607;&#1610;&#8204;&#1607;&#1575;&#1610;&#32;&#1575;&#1587;&#1578;&#1582;&#1583;&#1575;&#1605;</a>';}if (pr==3) {t+='<a href="/olist/p1/photos.aspx" id="pg338" title="">&#1578;&#1589;&#1575;&#1608;&#1610;&#1585;&#32;&#1606;&#1605;&#1575;&#1610;&#1588;&#1610;</a>';}if (pr==3) {t+='<a href="/olist/p1/selfassessments.aspx" id="pg340" title="">&#1582;&#1608;&#1583;&#32;&#1575;&#1585;&#1586;&#1610;&#1575;&#1576;&#1610;&#32;&#1607;&#1575;</a>';}if (pr==3) {t+='<a href="/olist/p1/contracttemplates.aspx" id="pg342" title="">&#1606;&#1605;&#1608;&#1606;&#1607;&#32;&#1607;&#1575;&#1610;&#32;&#1602;&#1585;&#1575;&#1585;&#1583;&#1575;&#1583;</a>';}if (pr==3) {t+='<a href="/olist/p1/competitions.aspx" id="pg343" title="">&#1605;&#1587;&#1575;&#1576;&#1602;&#1607;&#32;&#1607;&#1575;</a>';}if (pr==6) {t+='<a href="/services/advertising.aspx" id="pg9" title="&#1585;&#1575;&#1607;&#1606;&#1605;&#1575;&#1610;&#32;&#1583;&#1585;&#1580;&#32;&#1570;&#1711;&#1607;&#1610;&#32;&#1583;&#1585;&#32;&#1587;&#1575;&#1610;&#1578;&#32;&#171;&#1585;&#1575;&#1607;&#1603;&#1575;&#1585;&#32;&#1605;&#1583;&#1610;&#1585;&#1610;&#1578;&#187;">&#1583;&#1585;&#1610;&#1575;&#1601;&#1578;&#32;&#1570;&#1711;&#1607;&#1610;</a>';}if (l==1 & pr==14) {t+='<a href="/members/MemberInfo.aspx?sid=' + s + '" id="pg22" title="">&#1605;&#1588;&#1582;&#1589;&#1575;&#1578;&#32;&#1593;&#1590;&#1608;&#1610;&#1578;</a>';}if (l==1 & pr==14) {if (p==2) {t+=' | ';}t+='<a href="/members/MemberServices.aspx?sid=' + s + '" id="pg27" title="">&#1608;&#1590;&#1593;&#1610;&#1578;&#32;&#1582;&#1583;&#1605;&#1575;&#1578;</a>';}if (l==1 & pr==14) {if (p==2) {t+=' | ';}t+='<a href="/members/AssetReport.aspx?sid=' + s + '" id="pg32" title="">&#1711;&#1586;&#1575;&#1585;&#1588;&#32;&#1605;&#1608;&#1580;&#1608;&#1583;&#1610;</a>';}if (l==1 & pr==14) {if (p==2) {t+=' | ';}t+='<a href="/members/IncreaseAsset.aspx?sid=' + s + '" id="pg36" title="">&#1575;&#1601;&#1586;&#1575;&#1610;&#1588;&#32;&#1605;&#1608;&#1580;&#1608;&#1583;&#1610;</a>';}if (l==1 & a==1 & pr==15) {t+='<a href="/sitemgt/ObjectTypeAnalysis.aspx?sid=' + s + '" id="pg29" title="">&#1578;&#1581;&#1604;&#1610;&#1604;&#32;&#1605;&#1591;&#1575;&#1604;&#1576;</a>';}if (l==1 & a==1 & pr==15) {if (p==2) {t+=' | ';}t+='<a href="/sitemgt/ServiceOperationList.aspx?sid=' + s + '" id="pg34" title="">&#1575;&#1662;&#1585;&#1575;&#1578;&#1608;&#1585;&#1610;&#32;&#1582;&#1583;&#1605;&#1575;&#1578;</a>';}if (l==1 & a==1 & pr==15) {if (p==2) {t+=' | ';}t+='<a href="/sitemgt/cashpaylist.aspx?pg=1&state=99?sid=' + s + '" id="pg42" title="">&#1662;&#1585;&#1583;&#1575;&#1582;&#1578;&#8204;&#1607;&#1575;&#1610;&#32;&#1606;&#1602;&#1583;&#1610;</a>';}if (l==1 & a==1 & pr==15) {if (p==2) {t+=' | ';}t+='<a href="/DataAdmin/TopViewed.aspx?sid=' + s + '" id="pg49" title="">&#1576;&#1610;&#1588;&#1578;&#1585;&#1610;&#1606;&#32;&#1576;&#1575;&#1586;&#1583;&#1610;&#1583;&#32;&#1588;&#1583;&#1607;&#8204;&#1607;&#1575;</a>';}if (l==1 & a==1 & pr==15) {if (p==2) {t+=' | ';}t+='<a href="/sitemgt/SubjectAnalysis.aspx?sid=' + s + '" id="pg50" title="">&#1578;&#1581;&#1604;&#1610;&#1604;&#32;&#1605;&#1608;&#1590;&#1608;&#1593;&#1575;&#1578;</a>';}} t+='</div>';
document.write(t);}
