function feedback(pWidth,pHeight)
{	
	pWidth +=10;
	pHeight += 50;
	url = "http://www.oneworldblue.com/owb/forms/feedback.htm";
	var myPGWindow = window.open(url,'Feed_Back', 'width='+ pWidth+',height='+ pHeight+',statusbar=no, toolbar=no');

	if (myPGWindow == null){
		alert("Your browser has blocked a page from being displayed.\nPlease add this site to your popup blocker's allow list to ensure your access to all pages on our site.");
	}
	else {
		if (myPGWindow.focus) {
			myPGWindow.resizeTo(pWidth,pHeight);
			myPGWindow.focus();
		}
	}
	return false;
}


   var a = Math.ceil(Math.random() * 10);
   var b = Math.ceil(Math.random() * 100);       
   var randchara = String.fromCharCode(65 + Math.round(Math.random() * 25));
   var randcharb = String.fromCharCode(97 + Math.round(Math.random() * 25));
   var c = "a" + randchara + "b" + randcharb;
 
   
   function DrawBotBoot()
    {
        /*document.write("What is "+ a + " + " + b +"? ");
        document.write("<input id='BotBootInput' type='text' maxlength='2' size='2'/>");*/
		
		document.write("Please type this value : " + c + " ");
        document.write("<input id='BotBootInput' type='text' maxlength='5' size='5'/>");
    }    
    
	
	function ValidBotBoot(){
        var d = document.getElementById('BotBootInput').value;
        if (d == c) return true;        
        return false;    
    }
	
function checkWholeForm(theForm) {
		
	var mname = "";
	var memail = "";
	var msubject = "";
	var mcomment = "";
	
    mname += checkmessage(theForm.firstName.value);
    memail += checkmessage(theForm.email.value);
    msubject += checkmessage(theForm.subject.value);
    mcomment += checkmessage(theForm.message.value);
   
    if (mname!= "") {
       alert(mname);
       return false;
    }
	
	if (memail!= "") {
       alert(memail);
       return false;
    }
	
	if (msubject!= "") {
       alert(msubject);
       return false;
    }
	
	if (mcomment!= "") {
       alert(mcomment);
       return false;
    }

     with (theForm) {
	if	(ValidBotBoot() == false){
		return false;
	  }
	}	
return true;
}

	
function checkmessage(string) {
var error = "";
	if (string == "") {
	   error = "Please fill out our feedback form.\n";
	}
var checkRegExp = /href|sex|<a|gay|teen|watch|video|movie|cute|free|fuck|porn|vidoes|cancer|disease|microsoft|mesothelioma|Useful info|info about|Useful info about/;
var matchcomments = string.search(checkRegExp);

	if (matchcomments != -1) {
		error = "Your comment will not process.  Please provide appropriate content for this form.";
	}
	 
return error;
}