// items structure
// each item is the array of one or more properties:
// [text, link, settings, subitems ...]
// use the builder to export errors free structure if you experience problems with the syntax

var MENU_ITEMS = [
	['Home','http://www.inflibnet.ac.in/infonet/index.php', {'tw' : '_parent'},
	],
   ['Introduction','http://www.inflibnet.ac.in/infonet/introduction.php', {'tw' : '_parent'},
	],	
	['About UGC Infonet 2.0','http://www.inflibnet.ac.in/infonet/aboutusforinfonet.php', {'tw' : '_parent'},
	],
	['Aims and Objectives','http://www.inflibnet.ac.in/infonet/aims.php', {'tw' : '_parent'},
	],
	['How to join the Scheme','http://www.inflibnet.ac.in/infonet/join.php', {'tw' : '_parent'},
	],
	['Operation','http://www.inflibnet.ac.in/infonet/operation.php', {'tw' : '_parent'},
	],
        ['Universities Covered','http://www.inflibnet.ac.in/infonet/covereduniversities.php', {'tw' : '_parent'},
	],
	['FAQ','http://www.inflibnet.ac.in/infonet/faq.php', {'tw' : '_parent'},
	],
	['UGC Infonet 1.0','http://www.inflibnet.ac.in/infonet/aboutus.php', {'tw' : '_parent'},
	],
	['Escalation Matrix ','http://www.inflibnet.ac.in/infonet/escalation_matrix.php', {'tw' : '_parent'},
	],
	['Contact Us','http://www.inflibnet.ac.in/infonet/contactus.php', {'tw' : '_parent'}
	]
        	 
];

//	This simple function is a wrapper. It puts html around provided text.
//	You can write your own wrappers for higher efficiency and better code maintanability
function pupup (text) {
	return '<table border=1 cellpadding=0 cellspacing=0><tr><td rowspan="2" bgcolor="#D9D6C5" valign="top" style="text-align:center;padding:10px;">'
		+ text + '</td></tr></table>';
}

function isEmpty()
{
  if(document.forms[0].UserName.value == "")
  {
  	alert("\n User Name is Blank\n\nPlease enter user name.");
  	document.forms[0].UserName.focus();
  	return false;
  }	
  if (document.forms[0].Password.value == "")
  {
  	alert("\n Password is Blank\n\nPlease enter password.");
  	document.forms[0].Password.focus();
  	return false;
  }
  
  window.close(); // close the Pop up windows
  return true;
}  	

