var gAutoPrint = true;
// Flag for whether or not to automatically call the print function
function PrintPage()
{
if (document.getElementById != null)
{
var html = '<HTML>\n<HEAD>\n';
html += '<link href=\"/styles/print.css\" rel=\"stylesheet\" type=\"text/css\">'
html += '\n</HE' + 'AD>\n<BODY>\n';
html += '<table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align="\center\"><tr><td align="\left\">\n';
html +='<img src=\"/images/ot_logo_print.gif\" alt="\DFC\"></td>'
html +='<td align=\"right\">'
html += '&nbsp;<a href=\"javascript:window.close();\">Close this window</a>&nbsp;'
html += '</td></tr></table>\n';
html += '<hr width="\300\" align="\center\">'
html += '<table width=\"575\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align="\center\"><tr><td align=\"right\">\n';
var printReadyElem = document.getElementById("Content");
//alert(document.getElementById("Content").innerHTML);
if (printReadyElem != null)
{
html += printReadyElem.innerHTML;
}
else
{
alert("Could not find the print ready section in the HTML");
return;
}
html += '</td></tr><tr><td align="\center\" class="\medium\">';
html += '';

html += '<br><br><p class="\content\">';
html += parent.window.location.href ;
html += '<BR><BR>';
html += '<font class=\"content\">2000 - 2006  Orascom Telecom, All Rights Reserved </font></p>';
html += '</td></tr></table>\n';
html += '<p align=right>&nbsp;<a href=\"javascript:window.close();\">Close this window</a>&nbsp;</p>'
html += '\n</BO' + 'DY>\n</HT' + 'ML>';

var printWin = window.open('','','toolbar=0,location=0,directories=0,status=1,menubar=no,scrollbars=yes,resizable=no,width=700,height=550');
 printWin.document.write(html);
printWin.document.close();
if (gAutoPrint)
printWin.print();
}
else
{
alert("Sorry, the print ready feature is only available in modern browsers.");
}
}



function Send(url)
{
	window.open("/includes/send_friend.aspx?url="+url, "flag", "toolbar=0,location=0,directories=0,status=1,menubar=no,scrollbars=no,resizable=no,width=460,height=230");
}


