function printSpecial()
{
	//var sTitle = title;
	var gAutoPrint = true;
	var mydate=new Date()
	var year=mydate.getYear()

	if (year < 1000)
	year+=1900
	var month=mydate.getMonth()
	var daym=mydate.getDate()
	if (daym<10)
	daym="0"+daym
	var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
	var sDate = montharray[month]+" "+daym+", "+year;
	if (document.getElementById != null)
	{
		var html = '<HTML>\n<HEAD>\n';
		if (document.getElementsByTagName != null)
		{
			var headTags = document.getElementsByTagName("head");
			if (headTags.length > 0)
			html += headTags[0].innerHTML;
		}
		html += '<div style="background-color:#FFFFFF;" align="left">';
		html += '\n<link rel="stylesheet" type="text/css" media="all" href="./custom/css/style.css"/>';
		//html += '\n<link rel="stylesheet" type="text/css" media="all" href="./custom/css/print.css"/></HEAD>\n<BODY>\n<img src="./custom/images/brpl_logo.jpg">';
		html += '\n<p style="text-align:left;"><img src ="./custom_demo/images/logo.gif"></p><br />';
		html += '\n</div/>';
		var printReadyElem = document.getElementById("printReady");
		
		
		if (printReadyElem != null)
		{
			html += printReadyElem.innerHTML;
		}
		else
		{
			alert("Could not find the printReady function");
			return;
		}
		
		html += '\n</BODY>\n</HTML>';
		
		var printWin = window.open("","printSpecial","width=650,height=500");
		
		printWin.document.open();
		printWin.document.write(html);
		printWin.document.close();
		if (gAutoPrint)
		printWin.print();
	}
	else
	{
		alert("The print ready feature is only available if you are using an browser.Please update your browswer.");
	}	
}

