function check_cdfs(form) {
return true;
}

function doSubmit() {
if (check_cdfs(document.survey)) {
document.survey.submit();
}
return;
}
var $click_count = 0;
function eraseValue(field) {
if ($click_count < 1) {
field.value='';
//    document.survey.field.value='';
$click_count = 1;
}
return;
}


// Image preloader
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

// Generic pop window with size and xy location
function popWin()
{
	var args;
	args=popWin.arguments;
        var popsvar;
	popsvar=window.open(args[0],args[1],'height=400,width=650,left=15,top=15,screenX=15,screenY=15,toolbar,location,scrollbars,menubar,resizable,status');
        popsvar.focus();
}


function OpenSecWin(location) {
NewWindow=window.open(location, 'slideshow', 'width=550,height=450,left=50,top=50')
}

function Help(Topic) {
				  eval("var HelpWindow = window.open('/files/help/" + Topic + "','Help','width=500,height=400,scrollbars=yes');");
				}



