
function Clickheretoprint()
{ 
  var disp_setting="toolbar=yes,location=no,directories=yes,menubar=yes,"; 
  disp_setting+="scrollbars=yes,width=650, height=600, left=100, top=25"; 
  var content_vlue = document.getElementById("print_content").innerHTML; 
  var docprint=window.open("","",disp_setting); 
   docprint.document.open(); 
   docprint.document.write("<html><head></head><body onLoad=self.print()>"+content_vlue+"</body></html>");          
   docprint.document.close(); 
   docprint.focus(); 
}

//<!--
function ValidForm()
{
    if (document.myform.UserName.value=="")
    {
        alert("You have to User Name");
document.myform.action="/index.asp";		
document.myform.UserName.focus();
	document.myform.UserName.style.backgroundColor="#ffff00";
	document.myform.Password.style.backgroundColor="";
return false;  
    }
            else if(document.myform.Password.value=="")
                   {
                    alert("You have to Password");
					document.myform.Password.focus();
	document.myform.UserName.style.backgroundColor="";
	document.myform.Password.style.backgroundColor="#ffff00";
					return false;
                   }
				   
  else {
        return true;
        }

                   
}
//-->
