//this function pops up a help window and loads it with the page specified in 'targetURL'

function HelpControl( rootURL ) {

	if (event.keyCode == 8) {

		var popup=null;

		var path=document.location.pathname;

		var n=path.lastIndexOf("/");

		var page="default.asp";

		if ( path.length > n+1 ) page=path.substr( n+1 )

		popup = window.open('', 'popupnav', 'width=350,height=385,scrollbars=1,resizable=1');

		if (popup != null) {

			if (popup.opener == null) popup.opener=self;

			var targetURL = rootURL + "helpwindow.asp?type=control&arg1=" + page + "&arg2=" + document.activeElement.name;

			popup.location.href = targetURL;

		}

	}

}

function HelpTopic( rootURL, topic ) {

	var targetURL = rootURL + "helpwindowcb.asp?type=topic&label=" + topic;

	popup = window.open('', 'popup', 'width=350,height=385,scrollbars=1,resizable=1');

	if (popup != null) {

		if (popup.opener == null) popup.opener=self 

		popup.location.href = targetURL;

		popup.focus();

	}

}

function HelpIndex( rootURL ) {

	popup = window.open('', 'popup', 'width=350,height=385,scrollbars=1,resizable=1');

	if (popup != null) { 

		if (popup.opener == null) popup.opener=self 

		var targetURL = rootURL + "helpindexcb.asp";

		popup.location.href = targetURL;

		popup.focus();

	}

}



function Certify(URL) {

  popupWin = window.open('http://www.bbbonline.org/cnfm2.cfm?company=10261999043552', 'Participant', 'location,scrollbars,width=450,height=300')

  window.top.name = 'opener';

}



function HelpTopicCB( rootURL, topic ) {

	var targetURL = rootURL + "helpwindowcb.asp?type=topic&label=" + topic;

	popup = window.open('', 'popup', 'width=350,height=385,scrollbars=1,resizable=1');

	if (popup != null) {

		if (popup.opener == null) popup.opener=self 

		popup.location.href = targetURL;

		popup.focus();

	}

}




