function gothere (url){
	location=url;
}

var win= null;
function NewWindow(mypage,w,h){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
	  settings +='directories=0,location=0,menubar=0,scrollbars,resizable,status=1,toolbar=0';
  win=window.open(mypage,'popup',settings);
}

function confirm_delete(message){
	thequestion = confirm(message) 
	if (thequestion == true){
		return true; 
	}else{
		return false; 
	}
}

function confirm_url(url,message){
	thequestion = confirm(message) 
	if (thequestion == true){
		location.href=url;
	}
}

function  checkcompanyname(_CF_this)
{
	if  (!_CF_hasValue(_CF_this.title, "TEXT" ))
	{
		if  (!_CF_onError(_CF_this, _CF_this.title, _CF_this.title.value, "Company Name is required."))
		{
			return false;
		}
	}
	if  (!_CF_hasValue(_CF_this.headline, "TEXT" ))
	{
		if  (!_CF_onError(_CF_this, _CF_this.headline, _CF_this.headline.value, "Headline is required."))
		{
			return false;
		}
	}
	return true;
}