if (createPublicSuiteAllowed){ 
if (createPublicSuiteAllowed && createTaskAllowed){ 
function mmLoadMenus() {  if (window.mm_menu_documentation) return;  window.mm_menu_tasks = new Menu("root",140,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#9999FF","#333366","#000033","left","middle",3,0,500,-5,7,true,true,true,3,true,false);  if(createPublicPipelineAllowed || createPrivatePipelineAllowed) {  	mm_menu_tasks.addMenuItem("New&nbsp;Pipeline","location=contextRoot + '/pipelineDesigner.jsp'");  }  if(createTaskAllowed) {  	mm_menu_tasks.addMenuItem("New&nbsp;Module","location=contextRoot + '/addTask.jsp'");  }  if(createTaskAllowed) {  	mm_menu_tasks.addMenuItem("Install&nbsp;from&nbsp;repository","location=contextRoot + '/pages/taskCatalog.jsf'");  }    mm_menu_tasks.addMenuItem("Install&nbsp;from&nbsp;zip","location=contextRoot + '/pages/importTask.jsf'");    mm_menu_tasks.addMenuItem("Manage","location=contextRoot + '/pages/manageTasks.jsf'");  mm_menu_tasks.hideOnMouseOut=true;  mm_menu_tasks.bgColor='#CCCC66';  mm_menu_tasks.menuBorder=0;  mm_menu_tasks.menuLiteBgColor='#CCCC66';  mm_menu_tasks.menuBorderBgColor='#CCCC66';  window.mm_menu_suites = new Menu("root",140,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#9999FF","#333366","#000033","left","middle",3,0,500,-5,7,true,true,true,3,true,false);  if(createPublicSuiteAllowed || createPrivateSuiteAllowed) {  	mm_menu_suites.addMenuItem("New","location=contextRoot + '/pages/createSuite.jsf'");  	if (createPublicSuiteAllowed){  		mm_menu_suites.addMenuItem("Install&nbsp;from&nbsp;repository","location=contextRoot + '/pages/suiteCatalog.jsf'");    } 	mm_menu_suites.addMenuItem("Install&nbsp;from&nbsp;zip","location=contextRoot + '/pages/importTask.jsf?suite=1'");    mm_menu_suites.addMenuItem("Manage","location=contextRoot + '/pages/manageSuite.jsf'");  }  mm_menu_suites.hideOnMouseOut=true;  mm_menu_suites.bgColor='#CCCC66';  mm_menu_suites.menuBorder=0;  mm_menu_suites.menuLiteBgColor='#CCCC66';  mm_menu_suites.menuBorderBgColor='#CCCC66';  window.mm_menu_jobResults = new Menu("root",130,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#9999FF","#333366","#000033","left","middle",3,0,500,-5,7,true,true,true,3,true,false);  mm_menu_jobResults.addMenuItem("Results&nbsp;Summary","location=contextRoot + '/pages/jobResults.jsf'");  mm_menu_jobResults.hideOnMouseOut=true;  mm_menu_jobResults.bgColor='#CCCC66';  mm_menu_jobResults.menuBorder=0;  mm_menu_jobResults.menuLiteBgColor='#CCCC66';  mm_menu_jobResults.menuBorderBgColor='#CCCC66';  // Help menu  window.mm_menu_documentation = new Menu("root",153,18,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#9999FF","#333366","#000033","left","middle",3,0,500,-5,7,true,true,true,3,true,false);  mm_menu_documentation.addMenuItem("Tutorial","window.open('http://www.broad.mit.edu/cancer/software/genepattern/tutorial/gp_tutorial.html', '_blank');");  mm_menu_documentation.addMenuItem("Desktop Client Guide","window.open('http://www.broad.mit.edu/cancer/software/genepattern/tutorial/gp_java_client.html', '_blank');");  mm_menu_documentation.addMenuItem("Web Client Guide","window.open('http://www.broad.mit.edu/cancer/software/genepattern/tutorial/gp_web_client.html', '_blank');");  mm_menu_documentation.addMenuItem("Programmers Guide","window.open('http://www.broad.mit.edu/cancer/software/genepattern/tutorial/gp_programmer.html', '_blank');");  mm_menu_documentation.addMenuItem("Module&nbsp;Documentation","location=contextRoot + '/getTaskDoc.jsp'");  mm_menu_documentation.addMenuItem("File Formats","window.open('http://www.broad.mit.edu/cancer/software/genepattern/tutorial/gp_fileformats.html', '_blank');");  mm_menu_documentation.addMenuItem("Release&nbsp;Notes","window.open('http://www.broad.mit.edu/cancer/software/genepattern/doc/relnotes/current/', '_blank')");  mm_menu_documentation.addMenuItem("FAQ","window.open('http://www.broad.mit.edu/cancer/software/genepattern/doc/faq/', '_blank')");  mm_menu_documentation.addMenuItem("About","location=contextRoot + '/pages/about.jsf'");  mm_menu_documentation.hideOnMouseOut=true;  mm_menu_documentation.bgColor='#CCCC66';  mm_menu_documentation.menuBorder=0;  mm_menu_documentation.menuLiteBgColor='#CCCC66';  mm_menu_documentation.menuBorderBgColor='#CCCC66';  window.mm_menu_resources = new Menu("root",89,18,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#9999FF","#333366","#000033","left","middle",3,0,500,-5,7,true,true,true,3,true,false);  mm_menu_resources.addMenuItem("Mailing&nbsp;List","window.open('http://www.broad.mit.edu/cancer/software/genepattern/gp_mail.html', '_blank')");  mm_menu_resources.addMenuItem("Report&nbsp;Bugs","location=contextRoot + '/pages/contactUs.jsf'");  mm_menu_resources.addMenuItem("User&nbsp;Forum","window.open('http://www.broad.mit.edu/cancer/software/genepattern/forum/', '_blank')");  mm_menu_resources.addMenuItem("Contact Us","location=contextRoot + '/pages/contactUs.jsf'");   mm_menu_resources.hideOnMouseOut=true;  mm_menu_resources.bgColor='#CCCC66';  mm_menu_resources.menuBorder=0;  mm_menu_resources.menuLiteBgColor='#CCCC66';  mm_menu_resources.menuBorderBgColor='#CCCC66';  window.mm_menu_downloads = new Menu("root",157,18,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#9999FF","#333366","#000033","left","middle",3,0,500,-5,7,true,true,true,3,true,false);  mm_menu_downloads.addMenuItem("Install&nbsp;Desktop&nbsp;Client","window.open(javaGEInstallerURL, '_blank')");  mm_menu_downloads.addMenuItem("Programming&nbsp;Libraries","location=contextRoot + '/pages/downloadProgrammingLibaries.jsf'");  mm_menu_downloads.addMenuItem("Public&nbsp;Datasets","window.open('http://www.broad.mit.edu/cancer/software/genepattern/datasets/', '_blank')");  mm_menu_downloads.hideOnMouseOut=true;  mm_menu_downloads.bgColor='#CCCC66';  mm_menu_downloads.menuBorder=0;  mm_menu_downloads.menuLiteBgColor='#CCCC66';  mm_menu_downloads.menuBorderBgColor='#CCCC66';  window.mm_menu_administration = new Menu("root",105,16,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#9999FF","#333366","#000033","left","middle",3,0,500,-5,7,true,true,true,3,true,true);  mm_menu_administration.addMenuItem("Server&nbsp;Settings","location=contextRoot + '/pages/serverSettings.jsf'");  mm_menu_administration.hideOnMouseOut=true;  mm_menu_administration.bgColor='#CCCC66';  mm_menu_administration.menuBorder=0;  mm_menu_administration.menuLiteBgColor='#CCCC66';  mm_menu_administration.menuBorderBgColor='#CCCC66';  mm_menu_administration.writeMenus();} // mmLoadMenus()
9897	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9897/c2c5ed8ece067e2c09bd25887cc91aba5ca5918e/mainMenu.js/buggy/website/js/mainMenu.js