function ValidateRequestCDForm (form) {
  var fname = form.fullname.value;   
  var address = form.address.value;   
  var city = form.city.value;   
  var country = form.country.value;   

  if (!fname)	{
    alert("You must enter your full name.");
    return false;
	} else if (!address) {
		alert("You must enter your address.");
		return false;
	} else if (!city) {
		alert("You must enter your city.");
		return false;
	} else if (!country) {
		alert("You must select your country.");
		return false;
	} else {
		return true;
	}
}
function viewPresentation() {
//	w_width = 1024;
//	w_height = 768;
//	if (screen) {
//		w_left = (screen.availWidth - w_width)/2;
//		w_top = ((screen.availHeight - w_height)/2)-20;
//	}
//	theWindowParam = "width=" + (screen.width-9) + ",height=" + (screen.height-55) + ",top=0,left=0";

//	theWindowParam += ',fullscreen=yes,status=no,resizable=no,scrollbars=no,locationbar=no,directories=no,toolbar=no,menubar=no,titlebar=no';

//	theWindowParam = 'width=1024,height=768,left=0,top=0,fullscreen=1,channelmode=1,resizable=0,scrollbars=0,titlebar=1,toolbar=1,status=0,locationbar=0,directories=0,menubar=0';

	theWindowParam = 'fullscreen=1,scrollbars=1';

	fparam = 'aoc/aoc.html';
//  window.viewPresWindow = open(fparam, 'viewPresWindow', theWindowParam);
//	setTimeout('if(viewPresWindow&&!viewPresWindow.closed)viewPresWindow.focus()',100);

	oNewWindow = window.open( fparam, 'viewPresWindow', theWindowParam);
}
function viewVideoClip(theVideoClip) {

	theWindowParam = 'fullscreen=1,scrollbars=auto';

	fparam = 'aoc/videoclip.php?vc='+theVideoClip;

	oNewWindow = window.open( fparam, 'viewVCWindow', theWindowParam);
}
function viewRequestCDForm() {
	w_width = 400;
	w_height = 480;
	if (screen) {
		w_left = (screen.availWidth - w_width)/2;
		w_top = ((screen.availHeight - w_height)/2)-20;
	}
	theWindowParam = "width=" + w_width + ",height=" + w_height + ",top=" + w_top + ",left=" + w_left;

	theWindowParam += ',status=no,resizable=yes,scrollbars=auto,locationbar=no,directories=no,toolbar=no,menubar=no,titlebar=no';

	fparam = 'contact/index.html';
  //window.viewRequestCDForm = open(fparam, 'viewRequestCDForm', theWindowParam);
	//setTimeout('if(viewRequestCDForm&&!viewRequestCDForm.closed)viewRequestCDForm.focus()',100);

	oNewWindow = window.open( fparam, 'viewRequestCDForm', theWindowParam);
}
