//begin image swap js\\---------------------->
function putImage(imgDocID,imgObjName) {
	//   imgDocID - the name or number of the document image to be replaced
	//   imgObjName - the name of the image object to be swapped in
	if (browser) {
	        document.images[imgDocID].src = eval(imgObjName + ".src")
	}
}
//end image swap js\\------------------------>
//begin new window js\\---------------------->
function PopUpWindow(jsTarget, jsWidth, jsHeight)
{
	if (jsWidth == null)
	{
		jsWidth = 325;
	}
	if (jsHeight == null)
	{
		jsHeight = 350;
	}
	myPopUp = window.open(jsTarget,"","width=" + jsWidth + ",height=" + jsHeight + ",toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no");
myPopUp.focus();
}
//end new window js\\---------------------->
//begin PopUp Help js\\---------------------->
function PopUpHelp(jsTarget, jsWidth, jsHeight)
{
	if (jsWidth == null)
	{
		jsWidth = 445;
	}
	if (jsHeight == null)
	{
		jsHeight = 480;
	}
        myPopUp = window.open(jsTarget,"","width=" + jsWidth + ",height=" + jsHeight + ',toolbar=no,location=no,directories=no,menubar=yes,scrollbars=yes,resizable=no,copyhistory=no');
        myPopUp.focus();
}
//end PopUp Help js\\---------------------->
//begin clear field js\\---------------------->
<!--
var cleared = 0;
function clearField(field){
   if (cleared != 1){   
      field.value = "";
      cleared=1;}
    else
           cleared = 0;
} 
//end clear field js\\---------------------->
//begin gotosite js\\---------------------->
<!--
        function gotosite(site) {
        if (site != "") {
        parent.location=site
            }
        }

// -->
//end gotosite js\\---------------------->
//begin confirmdelete js\\---------------------->
function confirmSubmit(message)
	{
		if (message != null)
			str = message;
		else
			str = "Are you sure you wish to continue?";
				
		var agree=confirm(str);
				
		if (agree)
			return true ;
		else
			return false ;
	}
//end confirmdelete js\\---------------------->
//begin no double submit js\\---------------------->
var submitted = false;
function submitCheck()
{
	if (submitted)
		{
		alert("Please wait, proceesing is already in progress....");
		return false;
	}
	else {
		submitted = true;
		return true;
	}
}

//end no double submit js\\---------------------->
//begin form highlights\\--------------------->

function clapOn(field) {
  field.style.background='F2FFD9';
}

function clapOff(field) {
  field.style.background='FFFFFF';
}

//end form highlights\\----------------------->
