
function flash_popup(myurl,wid,hig){
	window.open(myurl,'','toolbar=no,menubar=no,location=no,directories=no,scrollbars=no,status=no,resizeable=yes,width='+wid+',height='+hig+',top=100,left=100')
}

function infopopup(myurl){
	window.open(myurl,'','toolbar=0,menubar=0,location=0,directories=0,status=0,resizable=1,scrollbars=1,HEIGHT=520,WIDTH=600');
}

function dvf_dvas(myaction){
	if(myaction == "") {
		document.dvform.dvaction.value = "submit";
	}
	else {
		document.dvform.dvaction.value = myaction;
	}
	setTimeout("document.dvform.submit()", 50);
}

function dvf_dva(myaction){
	if(myaction == "") {
		document.dvform.dvaction.value = "submit";
	}
	else {
		document.dvform.dvaction.value = myaction;
	}
}

function dvform_cancel(myaction){
	if(myaction == "close") {
		window.close();
	}
	if(myaction == "updateclose") {
		reload_opener();
		setTimeout("window.close()",50);
	}
	if(myaction == "reset") {
		document.dvform.reset();
	}
}

function dvform_print(myaction){
		window.print();
}

function dvfocus(myaction) {
    eval('window.document.dvform.'+myaction+'.focus()');
}

function reload_this(){
	window.location.href = window.location.href;
}

function reload_opener(){
    window.opener.location.href = window.opener.location.href;
}

function dvf_fas(myaction){
	if(myaction == "") {
	}
	else {
		document.dvform.action = myaction;
	}
	setTimeout("document.dvform.submit()", 50);
}

function f_checkfas(myaction){
	
	var result = checkform(document.dvform);
	
	if (result)
 	{
	  if(myaction == "") {
	  }
	  else {
		document.dvform.action = myaction;
	  }
	  setTimeout("document.dvform.submit()", 50);
	}
}

function dvf_fa(myaction){
	if(myaction == "") {
	}
	else {
		document.dvform.action = myaction;
	}
}

function cps(name,psource)
{
 if (true) {
   document.images[name].src=psource;
 }
}


