<!--
function roll(img_name1, img_src1)
   {
   document[img_name1].src = img_src1;
   }
//-->

var highlightcolor="#f5f5f5"
	
		var ns6=document.getElementById&&!document.all
		var previous=''
		var eventobj

		//Regular expression to highlight only form elements
		var intended=/INPUT|TEXTAREA|SELECT|OPTION/

		//Function to check whether element clicked is form element
		function checkel(which){
		if (which.style&&intended.test(which.tagName)){
		if (ns6&&eventobj.nodeType==3)
		eventobj=eventobj.parentNode.parentNode
		return true
		}
		else
		return false
		}

		//Function to highlight form element
		function highlight(e){
		eventobj=ns6? e.target : event.srcElement
		if (previous!=''){
		if (checkel(previous))
		previous.style.backgroundColor=''
		previous=eventobj
		if (checkel(eventobj))
		eventobj.style.backgroundColor=highlightcolor
		}
		else{
		if (checkel(eventobj))
		eventobj.style.backgroundColor=highlightcolor
		previous=eventobj
		}
		}
		

function showRemoteImage() {
var windowprops = "toolbar=0,location=0,directories=0,status=1, " +
"menubar=0,scrollbars=yes,resizable=yes,width=725,height=600";
OpenWindow = window.open("", "remote", windowprops); 
}



function showRemoteUpload() {
var windowprops = "toolbar=0,location=0,directories=0,status=1, " +
"menubar=0,scrollbars=yes,resizable=yes,width=525,height=150";
OpenWindow = window.open("", "remoteUpload", windowprops); 
}

function showRemoteEmail() {
var windowprops = "toolbar=0,location=0,directories=0,status=1, " +
"menubar=0,scrollbars=yes,resizable=yes,width=725,height=650";
OpenWindow = window.open("", "remote_email", windowprops); 
}

function showRemoteErrors() {
var windowprops = "toolbar=0,location=0,directories=0,status=1, " +
"menubar=0,scrollbars=yes,resizable=yes,width=850,height=500";
OpenWindow = window.open("", "remote_error", windowprops); 
}

function closeRemote() {
timer = setTimeout('window.close();', 10);
}

function clearUserText() {
  document.login.du_user_name.value= "";
}

function clearUserText() {
  document.login.du_user_name.value= "";
}

function submitorderform()
{
  document.frm.submit();
}
