/*
 *  Java script code moved from "/LexisNexis/j2ee-apps/LexisNexis/LexisNexis.war/common/mainHeader.jsp"
 *  _Start
 */
function populateUser(obj) {
	if (obj.value == 'Username') {
		obj.value = '';
	}
}
function activate(obj) {
	if (obj.value == 'Password') {
		obj.value = '';
	}
}
function submitForm() {

	document.registerForm.submit();
}
function handleEnter() {
	var evt = window.event;
	if (evt.keyCode == 13) {
		document.getElementById('login_button').click();
		return false;
	} else
		return true;
}

/*
 * _End
 */

/*
 * This code is moved for the SEO Enhancement functionality. Javascript code
 * moved from
 * /LexisNexis/j2ee-apps/LexisNexis/LexisNexis.war/common/footer_US.jsp file.
 * _Start
 */

function lawFirms() {
	window.open("http://law.lexisnexis.com");
}

function corporateProfessionalUS() {
	window.open("http://corporate.lexisnexis.com");
}

function riskInfoAnalytics() {
	window.open("http://risk.lexisnexis.com");
}

function academic() {
	window.open("http://academic.lexisnexis.com");
}

function footerGovernment() {
	window.open("http://www.lexisnexis.com/gov/");
}

function termsUS() {
	window.open("http://www.lexisnexis.com/terms/");
}

function privacySecurity() {
	window.open("http://www.lexisnexis.com/privacy/");
}

function privacyStatement() {
	//window.open("http://www.lexisnexis.com/privacy/statement.aspx"); change for webstar 3840850 Starts here
window.open("http://www.lexisnexis.com/privacypolicy/legalprofessional/");
//change for webstar 3840850 Ends here
}

function productsIndex() {
	window.open("http://www.lexisnexis.com/products");
}

function contactUs() {
	window.open("http://www.lexisnexis.com/contact-us/");
}

function copyrightLexisNexis() {
	window.open("http://www.lexisnexis.com/terms/copyright.aspx");
}
function siteMap() {
	window.open("http://www.lexisnexis.com/site-map.aspx");
}
/*
 * _End
 */

/*
 * This code is moved for the SEO Enhancement functionality. Javascript code
 * moved from
 * /LexisNexis/j2ee-apps/LexisNexis/LexisNexis.war/common/footer_US.jsp file.
 * _Start
 */

function pressentersite2() {
	if (window.event.keyCode == 13) {
		gotosearchsite2();
	} else {
		return false;
	}
}
function gotosearchsite2() {
	// onclick="location.href='/search.aspx?query='+txt1.value; return false;"
	window.location = "/search.aspx?query=" + window.document.forms[0].s2.value;
}
function resetkeywordssite2() {
	window.document.forms[0].s2.value = "";
}
function leadership() {
	window.open("http://www.lexisnexis.com/about-us/global-leadership.aspx");
}
function corporateResponsibility() {
	window
			.open("http://www.lexisnexis.com/about-us/corporate-responsibility/default.aspx");
}

function ruleOfLaw() {
	window.open("http://www.lexisnexis.com/about-us/rule-of-law/default.aspx");
}

function officeLocations() {
	window.open("http://www.lexisnexis.com/about-us/office-locations.aspx");
}

function History() {
	window.open("http://www.lexisnexis.com/about-us/history.aspx");
}

function doingBusiness() {
	window
			.open("http://www.lexisnexis.com/about-us/doing-business-with-lexisnexis");
}
function pressReleases() {
	window.open("http://www.lexisnexis.com/media/press-releases.aspx");
}

function events() {
	window.open("http://www.lexisnexis.com/media/events.aspx");
}

function awards() {
	window.open("http://www.lexisnexis.com/media/awards.aspx");
}

function fastFacts() {
	window.open("http://www.lexisnexis.com/media/fast-facts.aspx");
}

function expertNewsSource() {
	window.open("http://www.lexisnexis.com/media/expert-news-source");
}
function news() {
	window.open("http://www.lexisnexis.com/media/");
}
function careers() {
	window.open("http://www.lexisnexis.com/careers/default.aspx");
}

function store() {
	window.open("http://bookstore.lexis.com/");
}
function support() {
	window.open("http://www.lexisnexis.com/support/");
}

function customerService() {
	window.open("http://www.lexisnexis.com/custserv/bookstore.asp");
}
function sitemap() {
	window.open("http://www.lexisnexis.com/sitemap.aspx");
}
function communities() {
	window.open("http://www.lexisnexis.com/communities/");
}
function worldwide() {
	window.open("http://www.lexisnexis.com/worldwide.aspx");
}
function contactUs() {
	window.open("http://www.lexisnexis.com/contact-us/");
}
function ourSolution() {
	window.open("http://www.lexisnexis.com/our-solutions/us-solutions/");
}
function aboutUsdetail() {
	window.open("http://www.lexisnexis.com/about-us/");
}
/*
 * _End
 */

/*
 * This code is moved for the SEO Enhancement functionality. Javascript code
 * moved from
 * /LexisNexis/j2ee-apps/LexisNexis/LexisNexis.war/at/common/leftnav.jsp file.
 * _Start
 */
function segmentRole()

{

	if (document.viewdifferentrole.Categories.value == "Corporate")

		window.location.href = ("/store/catalog/category_corporate.jsp?segmentid=seg_corp");

	else

	if (document.viewdifferentrole.Categories.value == "Government")

		window.location.href = ("/store/catalog/category_government.jsp?segmentid=seg_govt");

	else

	if (document.viewdifferentrole.Categories.value == "Law Firms")

		window.location.href = ("/store/catalog/category_lawfirms.jsp?segmentid=seg_law");

	else

	if (document.viewdifferentrole.Categories.value = "Software")

		window.location.href = ("/store/catalog/category_software.jsp?segmentid=seg_soft");

}
/*
 * _End
 */

