show_privacy_policy = function () {
	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;
}

show_contact = function () {
	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;
}

show_help = function () {
	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;
}

show_rules = function () {
	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;
}

launch_training = function (url) {
	
	window.open(url, 'contact', 'width=830,height=610,toolbar=no,location=no,menubar=no,scrollbars=no,statusbar=no');
	return;
}





actItemClick = function (_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);
actItemFocus = function (_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);
actItemBlurA = function (_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);
actItemBlurB=function (_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="";
stayMenu=function (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";
  }
}



vid_launch=function (vidurl) 
	{
		var launch = window.open(vidurl,'','scrollbars=no,menubar=no,width=640,height=400,resizable=yes,toolbar=no,location=no,status=no');
	}
	
vid_launch_450=function (vidurl) 
	{
		var launch = window.open(vidurl,'','scrollbars=no,menubar=no,width=640,height=450,resizable=yes,toolbar=no,location=no,status=no');
	}





