function PrintVersion(Heading) 
{
  var sOption="toolbar=no,location=no,directories=yes,menubar=no,resizable=yes,"; 
       sOption+="scrollbars=yes,width=800,height=600,left=0,top=0"; 
	   
  var strHTML = document.getElementById("BodyHtml").innerHTML; 	   
  
  var Docprint=window.open("",Heading,sOption);
  //alert(strHTML);	

      Docprint.document.open();  
      Docprint.document.write('<html><link href="style/Default.css" type=text/css rel=StyleSheet><body>'); 	  

      Docprint.document.write('<table width="760" border="0" cellspacing="0" cellpadding="0">');
      Docprint.document.write('<tr>');
      Docprint.document.write( '<td height="20"><img src="images/logo-2.gif" height="48" width="48" border="0"/></td>');
	  
      Docprint.document.write( '<td align="right"> <a href="javascript:window.close();"  title="close This Window" class="NewsLink">Close&nbsp;&nbsp;<img border="0" src="images/GreenNavigate.gif" alt="Close"></a></td>');
	  
      Docprint.document.write('</tr>');
      Docprint.document.write('<tr>');
      Docprint.document.write('<td colspan="2"><img src="images/spacerGrey.gif" width="100%" height="1px" /> </td>');
      Docprint.document.write('</tr>');  
      Docprint.document.write('</table>');
	   
      Docprint.document.write( strHTML);	   
      Docprint.document.write('</body></html>'); 
	   Docprint.document.focus()
      Docprint.window.print();
      Docprint.document.close(); 
    //  Docprint.focus(); 

	
}

function PrintPage(Heading) 
{ 
  var sOption="toolbar=no,location=no,directories=yes,menubar=no,resizable=yes,"; 
       sOption+="scrollbars=yes,width=800,height=600,left=0,top=0"; 
	   
  var strHTML = document.getElementById("BodyHtml").innerHTML; 	   
  
  var Docprint=window.open("",Heading,sOption);

      Docprint.document.open();  
      Docprint.document.write('<html><link href="style/Default.css" type=text/css rel=StyleSheet><body>'); 	  

      Docprint.document.write('<table width="760" border="0" cellspacing="0" cellpadding="0">');
      Docprint.document.write('<tr>');
      Docprint.document.write( '<td height="20"><img src="images/logo-2.gif" height="48" width="48" border="0"/></td>');
	  
      Docprint.document.write( '<td align="right"> <a href="javascript:window.close();"  title="close This Window" class="NewsLink">Close&nbsp;&nbsp;<img border="0" src="images/GreenNavigate.gif" alt="Close"></a></td>');
	  
      Docprint.document.write('</tr>');
      Docprint.document.write('<tr>');
      Docprint.document.write('<td colspan="2"><img src="images/spacerGrey.gif" width="100%" height="1px" /> </td>');
      Docprint.document.write('</tr>');  
      Docprint.document.write('</table>');
	   
      Docprint.document.write( strHTML);	   
      Docprint.document.write('</body></html>'); 
    //  Docprint.window.print();
      //Docprint.document.close(); 
      Docprint.focus(); 
   //   Docprint.close();	  
	  }

function windowstatus(txt) {
	window.status = txt;return true;
}




//PUT THIS INBETWEEN THE <HEAD> TAGS
function whatDay(value){
	if (value==0) return 'Sun';
	if (value==1) return 'Mon';
	if (value==2) return 'Tue';
	if (value==3) return 'Wed';
	if (value==4) return 'Thu';
	if (value==5) return 'Fri';
	if (value==6) return 'Sat';
	return 'Invalid Day!!!'}
function whatMonth(value){
	if(value==0) return 'Jan';
	if(value==1) return 'Feb';
	if(value==2) return 'Mar';
	if(value==3) return 'Apr';
	if(value==4) return 'May';
	if(value==5) return 'Jun';
	if(value==6) return 'Jul';
	if(value==7) return 'Aug';
	if(value==8) return 'Sep';
	if(value==9) return 'Oct';
	if(value==10) return 'Nov';
	if(value==11) return 'Dec';
	return 'Invalid Month!!!'}
function getFullYear(value){
	var y=value.getYear();
	if(y<1000) y+=1900;
	return y}
//END OF THE HEAD CODE
//-->

function MM_openBrWindow(theURL,winName,features) { //v1.0
  window.open(theURL,winName,features);
}