// popUps
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=500,left = 200,top = 200');");
}
function PrintpopUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,width=725,height=500,left = 500,top = 500');");
}

function galleryWindow() {
        window.open("","gallery","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=640,height=665");
		}
// Abstract Form
function talk(){
document.abstract.poster_ok.disabled=false;
}
function poster(){
document.abstract.poster_ok.disabled=true;
}
function disclose_yes(){
document.abstract.disclosure_desc.readOnly=false;
}
function disclose_no(){
document.abstract.disclosure_desc.value="";
document.abstract.disclosure_desc.readOnly=true;
}
function dynSubmit ( selectedtype )
{
  document.abstract.absAction.value = selectedtype ;
  document.abstract.submit() ;
}
function limitText(limitField, limitCount, limitNum) {
	if (limitField.value.length > limitNum) {
		limitField.value = limitField.value.substring(0, limitNum);
	} else {
		limitCount.value = limitNum - limitField.value.length;
	}
}