function CreateGraphics(strImagePath,Home,ReportPath,AboutReal,AboutForge,Contact,Register,Show,lngBarLen,ShowPrinter,FilePathForPrint)
{

//CC - IF Show=1 Then footer will not be shown
//	   Else if Show=2 Then 	footer will be shown
//     ShowPrinter =  1 Shows Printer button
//     FilePathForPrint = Path of report to be shown + it's parameters
	
	
	var ShowNow
	ShowNow=Show
	
	strHTML =	
	//CC - The Graphics
	"<head></head>"+
	"<TITLE></TITLE>"+
	"<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0) >" +
				"<table border=0 cellspacing='0' cellpadding='0' height='222'>" +
					"<tr> " +
						"<td colspan=2><img src='" +  strImagePath + "/Top/top.jpg' width=800></td> " +
					"</tr>" +
					"<TD>" + 
			"<img name='imgHome' border='0' src='" +  strImagePath + "/Buttons/Register(off).jpg' width='800' height='107'><br> " + 
							"<img name='img" + AboutReal +"' border='0' src='" +  strImagePath + "/Buttons/Reports(off).jpg' width='775' height='50'><br>" +
							"<img name='imgAbout' border='0' src='" +  strImagePath + "/Buttons/About(off).jpg' width='217' height='238'></a><br>" + 					
"<img name='imgAboutForgeAhead' border='0' src='" +  strImagePath + "/Buttons/contact(off).jpg' width='775 height='134'><br>"


							
							if (ShowNow == null)
							{
								strHTML=strHTML + "<img src='" +  strImagePath + "/Side%20Bottom%20strip/blue%20block%20for%20strip.jpg' width='775' height='278'><br>" ;
								
								
								
							}
								
							if (ShowNow == 2)
							{
												{	
										strHTML=strHTML + "<img src='" +  strImagePath + "/Side%20Bottom%20strip/blue%20block%20for%20strip.jpg' width='775' height='278'><br>" ;
									}
								if (lngBarLen != null)
									{	
										strHTML=strHTML + "<img src='" +  strImagePath + "/Side%20Bottom%20strip/blue%20block%20for%20strip.jpg' width='775' height='" + lngBarLen + "'><br>" ;
									}	
								
								strHTML=strHTML + "<img src='" +  strImagePath + "/Side%20Bottom%20strip/bottom%20corner.jpg' width='800' height='61'>"
								
							}	
								
							if (ShowNow == 1)
							{
								strHTML=strHTML + "<img src='" +  strImagePath + "/Sponsor%20Box/Reports_sponsor_bottom.jpg' width='119' height='45'><br> ";
							}		
							
							if (ShowPrinter == 1)
							{
							 strHTML = strHTML + "<div id='Layer2' style='position:absolute; left:655px; top:103px; width:52px; height:28px; z-index:144'><a href='" + FilePathForPrint + "' target='_blank'><img src='" + strImagePath + "/Buttons/Printer.gif' width='50' height='30' alt='View printer friendly version of report' border='0'></a></div> "
							} 
							
							strHTML=strHTML + "</p> " +
						"</TD> " +
					"</tr> "  +
				"</table> " +
				//CC - Layer used by Netscape and IE uses the div property
								
                "<div id='LrHP' style='position:absolute; left:278px; top:90px; width:325px; height:105px; z-index:79'>" + "<iframe name=banners height=99 width=320 frameborder=1 scrolling=no src='" + Home + "bannerads.htm'>" + "</iframe>" + 
				"</div>" +	               "<div id='banners' style='position:absolute; left:648px; top:90px; width:100px; height:105px; z-index:80'>" + "<iframe name=banners height=99 width=99 frameborder=1 scrolling=no src='" + Home + "bannerads.htm'>" + "</iframe>" + 
				"</div>" +			
								"<div id='m1' style='position:absolute; left:258px; top:5px; width:499px; height:49px; z-index:8'>" + 
				"<a class='menu' href='" + Home + "../default.asp'>Home&nbsp;&nbsp;</a>" + 
				"<a class='menu' href='" + Home + "../contact.asp'>&nbsp;&nbsp;Contact Us&nbsp;&nbsp;</a>" +							 
				"<a class='menu' href='" + Home + "../events06.asp'>&nbsp;&nbsp;Events&nbsp;&nbsp;</a>" + 
				"<a class='menu' href='" + Home + "../briefings.htm'>&nbsp;&nbsp;Media Centre&nbsp;&nbsp;</a>" + 
				"<a class='menu' href='" + Home + "../r_con.asp'>&nbsp;&nbsp;Research & Consulting&nbsp;&nbsp;</a>" + 
		    	 
				"</div>" +
						 	
								"<div id='rmenu' style='position:absolute; left:705px; top:229px; width:499px; height:149px; z-index:90'>" + 
				"<a class='tbody1' href='" + Home + "Finalist.asp'></a>" +  
				"<a class='tbody1' href='" + Home + "Finalist.asp'><p></a>" +							 
				"<a class='tbody1' href='" + Home + "hall_fame.asp'>Hall of Fame&nbsp;&nbsp;</a><p>" + "<a class='tbody1' href='" + Home + "judges.asp'>Judges</a><br><br><p><br>" + 
				"<a class='tbody1' href='" + Home + "events.asp'>Achievers<br> Event Calender&nbsp;&nbsp;<p><p></a>" + 
				"<a class='tbody1' href='" + Home + "bforums.asp'>Business Forums&nbsp;&nbsp;<p><p><br><br><br><br></a>" + 
				"<a class='tbody1' href='" + Home + "sponsor.asp'>Sponsorship<br> Opportunities&nbsp;&nbsp;<p></a>" + 
		    	"<a class='tbody1'href='" + Home + "table_book.asp'>Table Sales </a>" + 
								"</div>"    +  "<div id='m0' style='position:absolute; left:8px; top:382px; width:129px; height:299px; z-index:8'>" + 
				"<a class='menu' href='" + Home + "default.asp'><font color=black>African ICT Achievers Awards</font></a>" + 		    	
				"<a class='menu' href='" + Home + "../gov/default.asp'><font color=black><br><br>ICT in Government</font></a>" + 
				"</div>" +
				"<div id='m2' style='position:absolute; left:630px; top:0px; width:129px; height:59px; z-index:9'>" +  
						
						" </div></Layer> "  
				
				
				document.write(strHTML);
}

