function show_privacy_policy() {
	privacy_policy_url = "http://www.cyberscholar.com/privacy.cfm";
	window.open(privacy_policy_url, 'privacy_policy', 'width=616,height=650,toolbar=no,location=no,menubar=no,scrollbars=yes,statusbar=no');
	return;
}

function show_contact() {
	contact_url = "http://www.cyberscholar.com/contact.cfm";
	window.open(contact_url, 'contact', 'width=616,height=650,toolbar=no,location=no,menubar=no,scrollbars=yes,statusbar=no');
	return;
}

function show_help() {
	help_url = "http://www.cyberscholar.com/help.cfm";
	window.open(help_url, 'help', 'width=616,height=650,toolbar=no,location=no,menubar=no,scrollbars=yes,statusbar=no');
	return;
}

function show_rules() {
	contact_url = "http://www.cyberscholar.com/rules.cfm";
	window.open(contact_url, 'contact', 'width=616,height=650,toolbar=no,location=no,menubar=no,scrollbars=yes,statusbar=no');
	return;
}

function launch_training(url) {
	
	window.open(url, 'contact', 'width=830,height=610,toolbar=no,location=no,menubar=no,scrollbars=no,statusbar=no');
	return;
}





function actItemClick(_target) {
 if (!document.styleSheets) return;
 if (window.event) {
//  if (event.srcElement.tagName == "TD") _target.children.tags("A")[0].click();
  if (event.srcElement.tagName == "TD") _target.children.tags("TABLE").item(0).getElementsByTagName("A")[0].click();
 } else {
  location.href = _target.getElementsByTagName("A")[0].href;
 }
}

// ex) actItemFocus(this);
function actItemFocus(_target) {
 if (!document.styleSheets) return;
 var _bgColor = "#FFF27F";
 if (window.event) {
  if (!_target.contains(event.fromElement)) {
   _target.style.cursor = "hand";
   _target.style.backgroundColor = _bgColor;
  }
 } else {
  _target.style.cursor = "pointer";
  _target.style.backgroundColor = _bgColor;
 }
}

// ex) actItemBlur(this);
function actItemBlurA(_target) {
 var _bgColor = "#ffffff";
 if (!document.styleSheets) return;
 if (window.event) {
  if (!_target.contains(event.toElement)) {
   _target.style.cursor = "default";
   _target.style.backgroundColor = _bgColor;
  }
 } else {
  _target.style.cursor = "default";
  _target.style.backgroundColor = _bgColor;
 }
}


// ex) actItemBlur(this);
function actItemBlurB(_target) {
 var _bgColor = "#E5E5E5";
 if (!document.styleSheets) return;
 if (window.event) {
  if (!_target.contains(event.toElement)) {
   _target.style.cursor = "default";
   _target.style.backgroundColor = _bgColor;
  }
 } else {
  _target.style.cursor = "default";
  _target.style.backgroundColor = _bgColor;
 }
}


var staybColor="";
function stayMenu(id){
 if (!document.getElementById) return;
  var obj = document.getElementById(id);
  if(obj.style){
     if(obj.style.backgroundColor != "#ffe600") staybColor = obj.style.color;
     obj.style.backgroundColor = "#ffe600";
  }
}



function vid_launch(vidurl) 
	{
		var launch = window.open(vidurl,'','scrollbars=no,menubar=no,width=640,height=400,resizable=yes,toolbar=no,location=no,status=no');
	}
