// JavaScript Document
function divClose(id)
{
	document.getElementById(id).innerHTML = '';
	document.getElementById(id).style.display='none';
}
function MyPrint(id)
{
	var MyWin = window.open('','','left=0, top=0, height=1, width=1');
	window.focus();
	var Data = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><body><br/><br/>'+document.getElementById(id).innerHTML.toString()+'</body></html>';
	//var Css = '<style type="text/css"> @import url("css/style.css"); </style>';
	//MyWin.document.write(Css); 
	//alert(Data);
	//alert(Data.replace(/display:none/ig, ""));
	MyWin.document.write(Data.replace(/none/ig, ""));
	MyWin.document.close();
	MyWin.print();
	MyWin.close();
}
/*-----------------------------------*/
function GetXmlHttpObject()
{ 
var objXMLHttp=null
if (window.XMLHttpRequest)
{
objXMLHttp=new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp
}
