function newWindow(a_str_windowURL, a_str_windowName, a_int_windowWidth, a_int_windowHeight, a_bool_scrollbars, a_bool_resizable, a_bool_menubar, a_bool_toolbar, a_bool_addressbar, a_bool_statusbar, a_bool_fullscreen) {
  var int_windowLeft = (screen.width - a_int_windowWidth) / 2;
  var int_windowTop = (screen.height - a_int_windowHeight) / 2;
  var str_windowProperties = 'height=' + a_int_windowHeight + ',width=' + a_int_windowWidth + ',top=' + int_windowTop + ',left=' + int_windowLeft + ',scrollbars=' + a_bool_scrollbars + ',resizable=' + a_bool_resizable + ',menubar=' + a_bool_menubar + ',toolbar=' + a_bool_toolbar + ',location=' + a_bool_addressbar + ',statusbar=' + a_bool_statusbar + ',fullscreen=' + a_bool_fullscreen + '';
  var obj_window = window.open(a_str_windowURL, a_str_windowName, str_windowProperties)
    if (parseInt(navigator.appVersion) >= 4) {
      obj_window.window.focus();
    }
  return obj_window;
}

function help(fieldname,body) {
	pagename = '?q=help,'+fieldname+','+body+'';
	newWindow (pagename, 'help', 500, 100, 1, 0, 0, 0, 0, 0, 0);
}

function rhino_bookmark(){
  url = document.location;
  title = document.title;
  if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
  window.external.AddFavorite(url,title);
  } else if (navigator.appName == "Netscape") {
    window.sidebar.addPanel(title,url,"");
  } else {
    alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark");
  }
}

function rhino_print () {
	var _url = document.location + "";
	var pos = _url.indexOf("?");
	if (pos >= 0) {
			url = document.location + '&print=1';		
	}
	else {
			url = document.location + '?print=1';
	}
	newWindow(url, 'Print', '800', '600', 1, 1, 1, 1, 1, 1, 0);
}

function rhino_tell () {
	var tellurl = 'modules/friend/';
	newWindow(tellurl, 'Print', '400', '300', 0, 0, 0, 0, 0, 0, 0);
}

function EnableDisable(id) {
     body=document.getElementById(id);
     if (body) {
       if (body.style.display == 'none') {
         try {
           body.style.display='table-row';
         } catch(e) {
           body.style.display = 'block';
         }
       }
       else {
         body.style.display = 'none';
       }
     }
}

function SetText (id, text) {
	body=document.getElementById(id);
	if (body) {
		body.innerHTML  = text;
	}
}



function Disable(id) {
	body=document.getElementById(id);
     if (body) {
     	body.style.display = 'none';
     }
}

function Enable(id) {
     body=document.getElementById(id);
     if (body) {
         try {
           body.style.display='table-row';
         } catch(e) {
           body.style.display = 'block';
         }
     }
}
function SetCustomText (id, what, link) {
	var desc = new Array()
	desc["login"]='<form id="postForm" method="post" action="index.php?q=memberlogin" name="postForm"><input type="hidden" name="_Submit" value="1" /><table border="0" cellspacing="0" cellpadding="0" width="100%" height="120" style="padding-left: 10px"><tbody><tr><td height="10" colspan="2"><img width="1" height="5" alt="" src="http://www.africanmediainitiative.org/upload/setup_files/MAGIC.png" /></td></tr><tr><td height="22" width="167" colspan="2">Email:<br /><input id="email" class="text" size="15" name="email" type="text" /></td></tr><tr><td height="22" colspan="2">Password:<br /><input id="pass" class="text" size="15" type="password" name="pass" /></td></tr><tr><td height="38" colspan="2"><span class="style3"><a href="?q=memberforgotpassword">Forgot your password?<br /></a><a href="?q=memberforgotpassword"><input alt="" align="right" src="http://www.africanmediainitiative.org/upload/setup_files/submit.jpg" width="52" height="23" type="image" name="image" /> </a></span></td></tr></tbody></table></form>';
	desc["register"]='<table width="100%" border="0" cellspacing="0" cellpadding="10"><tr><td><STRONG>Not yet a member?</STRONG><BR><a href="?q=memberregister"> <img src="upload/setup_files/register_here_ami.jpg" /></a></td></tr></table>';
	desc["blog"]='<table width="100%" border="0" cellspacing="0" cellpadding="10"><tr><td>Coming soon</td></tr></table>';

	function newWindow(a_str_windowURL, a_str_windowName, a_int_windowWidth, a_int_windowHeight, a_bool_scrollbars, a_bool_resizable, a_bool_menubar, a_bool_toolbar, a_bool_addressbar, a_bool_statusbar, a_bool_fullscreen) {
  var int_windowLeft = (screen.width - a_int_windowWidth) / 2;
  var int_windowTop = (screen.height - a_int_windowHeight) / 2;
  var str_windowProperties = 'height=' + a_int_windowHeight + ',width=' + a_int_windowWidth + ',top=' + int_windowTop + ',left=' + int_windowLeft + ',scrollbars=' + a_bool_scrollbars + ',resizable=' + a_bool_resizable + ',menubar=' + a_bool_menubar + ',toolbar=' + a_bool_toolbar + ',location=' + a_bool_addressbar + ',statusbar=' + a_bool_statusbar + ',fullscreen=' + a_bool_fullscreen + '';
  var obj_window = window.open(a_str_windowURL, a_str_windowName, str_windowProperties)
    if (parseInt(navigator.appVersion) >= 4) {
      obj_window.window.focus();
    }
  return obj_window;
}

function help(pagename) {
	newWindow (pagename, 'help', 500, 300, 1, 0, 0, 0, 0, 0, 0);
}

function EnableDisable(id) {
     body=document.getElementById(id);
     if (body) {
       if (body.style.display == 'none') {
         try {
           body.style.display='table-row';
         } catch(e) {
           body.style.display = 'block';
         }
       }
       else {
         body.style.display = 'none';
       }
     }
}

function SetText (id, text) {
	body=document.getElementById(id);
	if (body) {
		body.innerHTML  = text;
	}
}



function Disable(id) {
	body=document.getElementById(id);
     if (body) {
     	body.style.display = 'none';
     }
}

function Enable(id) {
     body=document.getElementById(id);
     if (body) {
         try {
           body.style.display='table-row';
         } catch(e) {
           body.style.display = 'block';
         }
     }
}

function formCheck(formobj){
	// name of mandatory fields
	fieldRequired = formobj.RequiredString.value.split (",");
	fieldDescription = formobj.RequiredStringDescription.value.split (",");
	
	// dialog message
	var alertMsg = "Please complete the following fields:\n";
	
	var l_Msg = alertMsg.length;
	
	for (var i = 0; i < fieldRequired.length; i++){
		var obj = formobj.elements[fieldRequired[i]];
		if (obj){
			switch(obj.type){
			case "select-one":
				if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == "" || obj.options[obj.selectedIndex].text == "----" || obj.value== "----" || obj.value == ""){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "select-multiple":
				if (obj.selectedIndex == -1){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "file":
			case "text":
			case "textarea":
				if (obj.value == "" || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				else {
					if (obj.id == 1) {
						// -- Then this is an e-mail field.
						// -- Check the e-mail
						var Check = 0;
						Check = obj.value;;
					 	if ((Check.indexOf ('@',0) == -1) || (Check.indexOf ('.',0) == -1)) {
							 alertMsg += " - " + fieldDescription[i] + " is invalid." + "\n";
					    }
					}
				}
				break;
			case "password":
				if (obj.value == "" || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
				
			default:
			}
			
			if (obj.type == undefined){
				// then it must be a checkbox or radio
				var blnchecked = false;
				for (var j = 0; j < obj.length; j++){
					//var obj = formobj.elements[Options[k]];
					if (obj[j].checked){
						blnchecked = true;
					}
				}
				if (!blnchecked){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
			}
		}
	}
	
	
	if (alertMsg.length == l_Msg){
		//return true;
	}else{
		alert(alertMsg);
		return false;
	}
}

function storeCaret (textEl) {
	if (textEl.createTextRange)
	 textEl.caretPos = document.selection.createRange().duplicate();
	}
	function insertAtCaret (textEl, text) {
	if (textEl.createTextRange && textEl.caretPos) {
	 var caretPos = textEl.caretPos;
	 caretPos.text =
		caretPos.text.charAt(caretPos.text.length - 1) == ' ' ?
		text + ' ' : text;
	}
	else
	 textEl.value = text;
	}

 function onKeyDown(textE2)
 {
	 var e = window.event;
	 if (e.keyCode == 9) // tab
	 {
		insertAtCaret(textE2, "\t")
		 return false;
	 }
	 return true;
 }
 function validateEmail(form_id,email) {
	var address = document.forms[form_id].elements[email].value;
   if(address){
	   	var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
	   
	   if(reg.test(address) == false) {
	      alert('Error: Invalid Email Address');
		  document.forms[form_id].elements[email].value = "";
	      return false;
	   }
   }
   
}

function passwordConfirm(form_id, password_field, confirmPassworod_field){
	var password = document.forms[form_id].elements[password_field].value;
	var confirmPassword = document.forms[form_id].elements[confirmPassworod_field].value;
	if(password != confirmPassword){
		alert('Error: Your passwords don\'t match.');
		  document.forms[form_id].elements[confirmPassworod_field].value = "";
	      return false;
	}
}

function validateStuffNumber(form_id, stuffNumber_field){
	var stuffnNumber = document.forms[form_id].elements[stuffNumber_field].value;
	
	if(!IsNumeric(stuffnNumber)){
		alert('Error: Your staff number must be numeric.');
		document.forms[form_id].elements[stuffNumber_field].value = "";
	    return false;
	}else
	if(stuffnNumber.length > 5){
		alert('Error: Your staff number must be 5 characters or less.');
		  document.forms[form_id].elements[stuffNumber_field].value = "";
	      return false;
	}
}

function IsNumeric(sText){
   var ValidChars = "0123456789.";
   var IsNumber=true;
   var Char;

   for (i = 0; i < sText.length && IsNumber == true; i++) 
      { 
      Char = sText.charAt(i); 
      if (ValidChars.indexOf(Char) == -1) 
         {
        	 IsNumber = false;
         }
      }
   return IsNumber;   
}
function getXMLHTTP() 
	{ //fuction to return the xml http object
		var xmlhttp=false;
			
		try{xmlhttp=new XMLHttpRequest();}
		catch(e)	
		{		
			try{xmlhttp= new ActiveXObject("Microsoft.XMLHTTP");}
			catch(e)
			{
				try{req = new ActiveXObject("Msxml2.XMLHTTP");}
				catch(e1){xmlhttp=false;}
			}
		}
		 	
		return xmlhttp;
	}
	 
function getInnerHtml(strURL, divid){ 
	document.getElementById(divid).innerHTML="<img src=\"upload/setup_files/loader.gif\" width=\"16\" height=\"16\" align=\"absmiddle\">&nbsp;Loading...";
	var req = getXMLHTTP(); // fuction to get xmlhttp object
	  if (req)
	 {
	 req.onreadystatechange = function()
	 
		 {	
			  if (req.readyState == 4) 
			  { //data is retrieved from server
				   if (req.status == 200) 
				   { // which reprents ok status                    
				     document.getElementById(divid).innerHTML=req.responseText;
				   }
				   else
				   { 
				   		alert(req.status);
				      //alert("There was a problem while using XMLHTTP:\n");
				   }
			  }            
		  }        
		req.open("GET", strURL, true); //open url using get method
		req.send(null);
	 }	
}

	desc["1_5"]='\
				<table border="0" cellspacing="0" cellpadding="0" width="710">\
                            <tbody>\
                                <tr>\
                                    <td height="32" background="http://www.africanmediainitiative.org/upload/setup_files/Ami_content_big.png">\
                                    <table border="0" cellspacing="0" cellpadding="0">\
                                        <tbody>\
                                            <tr>\
                                                <td>&nbsp;</td>\
                                                <td><font color="#ffffff" size="2"><strong>Strengthen the Media Owners and Operators Community</strong> </font></td>\
                                            </tr>\
                                        </tbody>\
                                    </table>\
                                    </td>\
                                </tr>\
                                <tr>\
                                    <td>\
                                    <table border="0" cellspacing="0" cellpadding="10" width="100%" style="background-image: url(http://www.africanmediainitiative.org/upload/setup_files/Ami_content_bigx.png); background-repeat: no-repeat; background-position: right top">\
                                        <tbody>\
                                            <tr>\
                                                <td>\
													<table border="0" cellspacing="0" cellpadding="0" width="100%">\
													    <tbody>\
													        <tr>\
												              <td>\
													            <div>\
                                                                <p>A key characteristic of media development in Africa  has been the heavy concentration on journalism support at the expense of  addressing the business aspects of media. Many of the constraints regularly identified  in the emergence of a professional, financially sustainable and socially  responsible media can only be addressed at the owner and operator level.<br>\
                                                  Fundamental to AMI’s success is the strengthening of  the African media owners and operators constituency. AMI will identify, connect  and expand the AMI “members” group through a robust technology platform and  programme activities. It will identify key opportunities to mobilise owners and  operators into critical debates affecting media growth on the continent. And,  it will continue to provide a pan-African annual forum to explore critical  issues and trends and to showcase and learn from AMI projects.<br>\
                                                  The growth of the AMI membership and the <a href="http://www.africanmedialeadersforum.org/">AMLF</a>, and the involvement of owners and operators in its programme, is an  important indicator of success in AMI’s Pilot Phase.<br>\
                                                  Work in this priority area is managed by a  Communications and Knowledge Program Lead, supported by a part-time  coordinator, both hired as consultants for the pilot phase. <br>\
                                                  Outputs will include:<br>\
  <br>\
  <strong>AMI Membership Formalised and Supported</strong> <br>\
                                                  AMI will conduct an initial baseline survey to commence  the creation of a formal AMI membership community that it aims to grow to 300  media leaders by 2013. AMI membership details will provide an important window  into the commercial media sector in Africa. The baseline survey will also serve  as an immediate, up-to-date needs assessment of the community it aims to serve.  AMI will build a dynamic database and technology platform. This platform will  serve as a rich environment in which AMI members can network, interface with  investors and development partners, access vital information and resources, and  learn from, apply to and participate in AMI projects. Finally, AMI will work  with its members on the endorsement and implementation of Leadership and  Guiding Principles (see Output 10) and on development of a membership fee model  to be applied post-Pilot Phase.<br>\
  <br>\
  <strong>Annual Forum for Agenda-Setting and Learning Continued</strong><br>\
                                                  The <a href="http://www.africanmedialeadersforum.org/">African  Media Leaders Forum</a> (AMLF) is the flagship event of AMI, affording owners and operators an  exciting opportunity to interact with peers, investors, policymakers,  development partners and technology leaders. From its inaugural 2008 event in  Dakar to its recent third annual forum in Yaoundé, the <a href="http://www.africanmedialeadersforum.org/">AMLF</a> has grown from 55 African media CEOs, Managing Directors, Publishers and others  to over 250 today. The <a href="http://www.africanmedialeadersforum.org/">AMLF </a> will continue to act as the key AMI annual event for the showcasing of its  project work and for the examination and agenda setting of critical issues  facing the sector. AMI will continue to attract support for two-thirds of <a href="http://www.africanmedialeadersforum.org/">AMLF</a> costs during the Pilot Phase and will work towards additional revenue streams,  including attendance fees, from 2012.<br>\
  <strong><br>\
  </strong><strong>Collective Advocacy Voice of African Media Owners and  Operators Leveraged</strong> <br>\
                                                For AMI to help strengthen the media sector in Africa,  it needs to influence a wide range of high-level stakeholders that are vital to  the sector’s development. These include governments, investors, media and  technology industries, and development partners. In 2011-2013, AMI will  identify up to eight opportunities in which it will mobilise customised groups  of owners and operators to add their voice, with a special emphasis on  increased professionalism and adaptation within the sector, and on the economic  benefits of media as well as development and political contexts. These fora may  include the AfDB Annual Meeting, WEF African Economic Summit, Mo Ibrahim  Foundation annual Forum, African Union Summit, African Editors Forum, Highway  Africa, annual United Nations General Assembly and Clinton Global Initiative.  AMI members will also use their collective voice through editorials or  mediation in media and governance arenas.</p>\
													              </div>\
													            </td>\
													        </tr>\
													    </tbody>\
													</table>\
												</td>\
                                            </tr>\
                                        </tbody>\
                                    </table>\
                                    </td>\
                                </tr>\
                            </tbody>\
                        </table>\
				';
	
    desc['2_5'] = '\
				<table border="0" cellspacing="0" cellpadding="0" width="710">\
                            <tbody>\
                                <tr>\
                                    <td height="32" background="http://www.africanmediainitiative.org/upload/setup_files/Ami_content_big.png">\
                                    <table border="0" cellspacing="0" cellpadding="0">\
                                        <tbody>\
                                            <tr>\
                                                <td>&nbsp;</td>\
                                                <td><font color="#ffffff" size="2"><strong>Expand Access to Finance and New Revenue Streams</strong> </font></td>\
                                            </tr>\
                                        </tbody>\
                                    </table>\
                                    </td>\
                                </tr>\
                                <tr>\
                                    <td>\
                                    <table border="0" cellspacing="0" cellpadding="10" width="100%" style="background-image: url(http://www.africanmediainitiative.org/upload/setup_files/Ami_content_bigx.png); background-repeat: no-repeat; background-position: right top">\
                                        <tbody>\
                                            <tr>\
                                                <td>\
													<table border="0" cellspacing="0" cellpadding="0" width="100%">\
												    <tbody>\
												        <tr>\
												            <td>\
												            <div>\
												              <p>Improving financial sustainability of media businesses is a top priority if the sector is to play its full part in Africa’s economic and social development. In order to do so, the funding needs of the sector and the requirements of private financial lenders and investors must both be clearly understood. Mechanisms to help bridge “funding gaps” between available and interested capital and media businesses – especially SMEs – need to be established and promoted. A wider investment community for media needs cultivation. And, the sector’s capacity needs to be strengthened to engage in effective business planning, corporate governance development and management, and technological adaptation.</p>\
												              <p>This Priority Area is spearheaded by a consultant who will serve as the Finance Program Lead for the pilot phase. The Finance Program Lead and key advisors will also play a strong role in crafting the Business Incubation Program, described in Priority Area Four, below, to ensure that the objectives are complementary.</p>\
												              <p>AMI’s Pilot Phase activities are efforts to address these needs directly by piloting solutions that can be scaled. AMI’s 2011-2013 Pilot Outputs will include:</p>\
												              <p><strong>Development and Promotion of Media-Specific Funding Support Mechanisms</strong><br />\
											                  AMI will facilitate a policy development process to  develop or extend funding-support mechanisms to better attract or enable loans  and private investment (local and foreign) into the sector. Priority action  will be around the stated interest at the 2010 <a href="http://www.africanmedialeadersforum.org/">AMLF</a> and elsewhere by DFIs and commercial banks to explore the creation of a  pan-African, media-specific loan guarantee and/or lines of credit. Second will  be the exploration of the extension of the World Bank Multilateral Investment  Guarantee Agency (MIGA) services into the media sector, among others.</p>\
												              <p>The perception and reality of political risk will  always be a challenge in attracting investment into the media sector. AMI’s  work in Output 3 to leverage for the first time the collective voice of African  media owners and operators is a concerted attempt to help diminish this risk  through dialogue alongside the development of risk insurance mechanisms and  guarantees.</p>\
<p><strong>Establishment of a “Media Investment Circle”</strong><br>\
Using its technology platform, activities, and reports, AMI will creatively cultivate an expanded group of investors who are interested in the African media sector. Pilot activity will begin with investor education, market documentation and analysis, and, eventually, linkages to media funding opportunities. In doing so, the Media Investment Circle will act as a precursor to a formal deal pipeline and Media Fund. The Media Investment Circle will include a wide range of existing and new funders including DFIs, commercial banks, private equity funds, SME funds, microfinance lenders, patient capital and venture funds, loan funds and donors, many of whom have already expressed keen interest in participating.</p>\
												            </td>\
												        </tr>\
												    </tbody>\
												</table>\
											</td>\
                                            </tr>\
                                        </tbody>\
                                    </table>\
                                    </td>\
                                </tr>\
                            </tbody>\
                        </table>\
				';
	
	desc["3_5"]='\
				<table border="0" cellspacing="0" cellpadding="0" width="710">\
                            <tbody>\
                                <tr>\
                                    <td height="32" background="http://www.africanmediainitiative.org/upload/setup_files/Ami_content_big.png">\
                                    <table border="0" cellspacing="0" cellpadding="0">\
                                        <tbody>\
                                            <tr>\
                                                <td>&nbsp;</td>\
                                                <td><font color="#ffffff" size="2"><strong>Harness the Digital Revolution through Technological Adaptation and Innovation</strong> </font></td>\
                                            </tr>\
                                        </tbody>\
                                    </table>\
                                    </td>\
                                </tr>\
                                <tr>\
                                    <td>\
                                    <table border="0" cellspacing="0" cellpadding="10" width="100%" style="background-image: url(http://www.africanmediainitiative.org/upload/setup_files/Ami_content_bigx.png); background-repeat: no-repeat; background-position: right top">\
                                        <tbody>\
                                            <tr>\
                                                <td>\
													<table border="0" cellspacing="0" cellpadding="0" width="100%">\
													    <tbody>\
													        <tr>\
												              <td>\
													            <div>\
													              <p>The greatest challenge currently facing the media industry everywhere is adaptation to fast-evolving technology with interactive Internet platforms and cheap or free mobile-phone access to multiple news services upending established business models, as well as consumer habits.</p>\
													              <p>This technology opens up enormous opportunities for innovative media companies and public-service journalism alike, especially when the expanding capabilities of mobile phones and the digitisation of radio offer opportunities to diversify content for wider audiences. Nowhere is this truer than in Africa, where radio and mobile phones are the dominant information platforms.</p>\
													              <p>Realising these opportunities will take a deeper understanding of technology adaptation among African media owners and operators, especially small and medium-sized ones. This will require new partnerships and business models that bring together traditional media players with new sources of delivery and innovation. Input from private media houses to AMI and  <a href="http://www.africanmedialeadersforum.org/">AMLF</a> has indicated a huge appetite and unmet need for expert assistance and opportunities for innovation. 2011-2013 Pilot outputs will include:</p>\
													             <p><strong>Testing of Innovative Mobile News Models </strong><br>\
												                AMI will undertake four (4) projects in 4 countries to help identify new models of newsgathering and delivery of news content over mobile. The aim of this exercise is to support innovation of models that have not been developed or scaled, and, to accelerate the marketplace between content providers and mobile operators. Pilots will be chosen by a small Advisory Committee to reflect diversity in audiences, size, geography and media platform and will be designed to test a variety of factors such as the use of SMS and/or smart phones, citizen journalists, etc. AMI will act as a gateway to traditional media partners and discussions are underway with the GSMA Development Fund (global trade body for over 800 mobile operators) to act as the gateway to mobile operators. The Advisory Group may include: Twitter, Global Voices, GSMA Development Fund and various AMI funders.</p>\
													             <p>This priority area and associated activities is led by a fellow provided by the International Center for Journalists’ (ICFJ) Knight International Journalists’ program, which will allow AMI to draw directly upon ICFJ’s legwork and learnings in this arena. The fellow would be funded separately from this core proposal.</p>\
													             <p><strong>Development and Launch of an African Media  Innovation-Challenge Fund</strong><br />\
													               The creation of an Innovation Fund can be an important  tool for incentivising and rewarding risk-taking and innovation in the media  sector that is at risk of moving too slowly to harness technological change. An  African Media Innovation-Challenge Fund, to be promoted through AMI, the <a href="http://www.africanmedialeadersforum.org/">AMLF</a>   and elsewhere, can serve to create significant excitement and awareness for  this work. In conjunction with a small Advisory Committee (possibly shared with  the Mobile Pilots Project), AMI will lead the development process for this Fund  (consultation, design, and fundraising) and act as its Host and implementer  once the Fund is launched, likely at AMLF 2011. AMI and <a href="http://www.africanmedialeadersforum.org/">AMLF</a>  can also creatively promote the winners (and others) in a TED-style showcase.<br />\
													               AMI is seeking planning funds for this activity, but  will aim to cultivate sponsorship for its implantation outside of the core  funding proposal.<br /><br />\
  <strong>Hosting of Seminars to Learn from International and  Regional Case Studies </strong><br />\
												                  Case studies are invaluable opportunities to learn  from others’ successes and failures. While AMI’s technology platform will serve  as an important place to share and showcase case studies, the ability to  closely interact with practitioners in person is critical to understanding what  lessons can be applied at home. In 2011-2013, AMI will organise and host three  day-long seminars in Nairobi in between the annual <a href="http://www.africanmedialeadersforum.org/">AMLF</a>   that AMI members can attend in order to learn first-hand from international and  leading African media companies such as Bloomberg Multimedia, Thomson Reuters,  the Nation Media Group and Naspers. These interactive seminars would be limited  to C-level executives of no more than 20 at a time and would be heavily  focused, but not exclusively, on technological adaptation and innovation within  leading media companies.</p>\
</div>\
													            </td>\
													        </tr>\
													    </tbody>\
													</table>\
												</td>\
                                            </tr>\
                                        </tbody>\
                                    </table>\
                                    </td>\
                                </tr>\
                            </tbody>\
                        </table>\
				';


	desc["4_5"]='\
				<table border="0" cellspacing="0" cellpadding="0" width="710">\
                            <tbody>\
                                <tr>\
                                    <td height="32" background="http://www.africanmediainitiative.org/upload/setup_files/Ami_content_big.png">\
                                    <table border="0" cellspacing="0" cellpadding="0">\
                                        <tbody>\
                                            <tr>\
                                                <td>&nbsp;</td>\
                                                <td><font color="#ffffff" size="2"><strong>Build a Leadership Cadre in the Media Sector through a Commitment to Improved Ethics and Management</strong></font></td>\
                                            </tr>\
                                        </tbody>\
                                    </table>\
                                    </td>\
                                </tr>\
                                <tr>\
                                    <td>\
                                    <table border="0" cellspacing="0" cellpadding="10" width="100%" style="background-image: url(http://www.africanmediainitiative.org/upload/setup_files/Ami_content_bigx.png); background-repeat: no-repeat; background-position: right top">\
                                        <tbody>\
                                            <tr>\
                                                <td>\
													<table border="0" cellspacing="0" cellpadding="0" width="100%">\
													    <tbody>\
													        <tr>\
												              <td>\
													            <div>\
													              <p>The ability of journalists to report on critical issues of public interest and of media to operate freely is inextricably linked to the business of media. The commitment and capability of media houses to enable journalism to be practiced in an editorially sound and economically independent environment is vital to the production of responsible and quality content and the fulfillment of their watchdog and information provision roles. High standards around corporate performance, capacity and productivity are also fundamental assets to improving media businesses’ bottom line.</p>\
                                                                  <p>Economic sustainability does not automatically lead to increased quality content or management, and often the opposite is true as media businesses pursue content solely to drive short-term sales and profits. Yet the existence of successful quality models coupled with expanding media markets among rural, poor audiences can combine to encourage a generation of media leaders to pursue profits and quality, relevant content in equal measure. For this to happen, it will need the buy-in of socially responsible owners and operators.</p>\
                                                                  <p>AMI’s leadership work is specifically geared towards supporting a growing cadre of African media leaders committed to high standards of corporate governance and social responsibility. In this work, AMI will aim to expand a discussion that has often focused narrowly on journalism ethics, codes of conduct and hostile relationships with governments to one that looks at a comprehensive and relevant owner and operator set of standards. AMI will work to help high standards be seen as integral to the bottom line and to the successful implementation of the Declaration of Table Mountain.</p>\
                                                                  <p>This priority area is overseen during the pilot phase by a Management, Ethics and Social Responsibility Program Lead, appointed as a dedicated ICFJ Fellow and funded separately through ICFJ’s Knight International Fellows Program.<br />AMI’s 2011-2013 Pilot Outputs will be:</p>\
                                                                  <p><strong>Development of “Leadership and Guiding Principles” followed by Activities to promote their Adoption and Implementation</strong><br />AMI will facilitate an industry-led process to develop Leadership and Guiding Principles for African Media Owners and Operators. This process will commence quickly with five regional consultations of approximately ten media leaders each and will then be led by a smaller Executive Committee to prepare draft Principles for review and adoption at AMLF 2011.</p>\
                                                                  <p>The process of developing the Leadership and Guiding Principles will build on existing codes and principles including the Declaration of Principles for Freedom of Expression, the Universal Declaration of Human Rights and the International Labour Organisation’s Declaration of Fundamental Principles and Rights at Work. It will also draw from both African benchmarks on corporate governance outside the media sector and international models such as the UN Global Compact and the Code of the Society of Professional Journalists, but as applied to owners and senior managers.</p>\
                                                                  <p>In designing the reporting and oversight of such a set of Principles, attention will be given on how to generate maximum buy-in and effective -- but not overly expensive -- oversight. Development of indicators and some form of public reporting system, most likely online, would be explored as well as peer assessment systems used elsewhere in Africa.</p>\
                                                                  <p>Once adopted, AMI will condition membership based on organisations’ endorsement of the Principles and will lead a marketing campaign to recruit media owners and operators into it. It will also set the scene for the consideration of the Principles as an AMI “kite mark” in future years, and will explore the development of online training materials to support this work.</p>\
                                                                  <p>AMI is pleased that Dr. Christopher Kolade, pro-Chancellor of the Pan-African University in Lagos and lecturer on Ethics, Leadership and Governance in Media has indicated a willingness to Chair this process. Dr. Kolade is the former Director-General of the Nigerian Broadcasting Corporation; former Chairman of Cadbury Nigeria; and previous Nigerian High Commissioner to the United Kingdom.</p>\
                                                                  <p><strong>Piloting of a Media-Specific Business Incubator</strong><br />Over the 2011-2013 Pilot Phase, AMI will work with six media businesses in 6 countries to support the development of improved business plans and to increase their capacity to attract funding and revenues.<br />Elements will include:<br /><br />(a) new revenue and distribution models,<br /><br />(b) technology adaptation and innovation, and<br /><br />(c) corporate governance & professional management.</p>\
                                                                  <p>AMI will solicit applications from AMI members that will be selected based on criteria jointly developed with a small Advisory Group (including leadership of the Media Investment Circle and AMI) to include diversity in size, region, media platform and needs. Advisory services will be built from a selection of leading professionals and institutions, and will be provided through a combination of concerted, on-site and remote mentoring.<br />The aim of these pilots is to:<br />(a) increase the capacity of a specific number of AMI members to access financing and/or increased revenues;<br />(b) create shared learning and case studies for AMI members through access to this process on the technology platform and at the 2011 and 2012 AMLFs; and,<br />(c) lay the foundation for the creation of a sustainable advisory service through membership fees or other support models.</p>\
                                                                  <p>This activity would be managed by the Management, Ethics and Social Responsibility Lead, and implemented with support from a cadre of 3 highly skilled business consultants with demonstrated track records in the media sector management. The program curriculum will draw on ICFJ’s extensive international experience in the field of media management training, including making use of online training materials previously developed by ICFJ management fellows. The program would be developed in close collaboration with the Access to Finance Priority Area advisors and Program Lead, in order to foster shared objectives and to ensure that organizations participate with a goal of ultimately being considered for financing opportunities.</p>\
													              </div>\
													            </td>\
													        </tr>\
													    </tbody>\
													</table>\
												</td>\
                                            </tr>\
                                        </tbody>\
                                    </table>\
                                    </td>\
                                </tr>\
                            </tbody>\
                        </table>\
				';


	body=document.getElementById(id);
	if (body) {
		body.innerHTML  = desc[what];
	}

	// set the link
	body=document.getElementById('readmore');
	if (body) {
		body.innerHTML  = '<a href="' + link + '"><img width=85 height=21 src=upload/setup_files/readmore_x.gif /></a>&nbsp;';
	}
}
function disableAllLeftbarIcons(imageId){
	document.getElementById('login').src="upload/setup_files/member_login_off.png";
	document.getElementById('register').src="upload/setup_files/become_member_off.png";
	document.getElementById('blog').src="upload/setup_files/Ami_Blog_off.png";
	
}
function disableAllOurProgrammeimages(imageId){
	document.getElementById('1_5').src="upload/setup_files/15_grey.png";
	document.getElementById('2_5').src="upload/setup_files/25_grey.png";
	document.getElementById('3_5').src="upload/setup_files/35_grey.png";
	document.getElementById('4_5').src="upload/setup_files/45_grey.png";
	<!--  document.getElementById('5_5').src="upload/setup_files/55_grey.png";  -->
	
}
function EnableActiveIcon(id, Activesrc){
	document.getElementById(id).src=Activesrc;
	SelectedImageID = id;
	SelectedImageSrc = Activesrc;
}
function mouseOverchangeImage(id, Activesrc){
	document.getElementById(id).src=Activesrc;
}
function mouseOutchangeImage(id, Activesrc){
	if(id == SelectedImageID){
		document.getElementById(id).src = SelectedImageSrc;
	}else{
		document.getElementById(id).src = Activesrc;
	}
	
}
// preload leftbar icon
var SelectedImageID;
var SelectedImageSrc;

//OUR PROGRAMME ACTIVE IMAGES
On1_5 = new Image();
On1_5.src = "upload/setup_files/15_blue.png";
On2_5 = new Image();
On2_5.src = "upload/setup_files/25_blue.png";
On3_5 = new Image();
On3_5.src = "upload/setup_files/35_blue.png";
On4_5 = new Image();
On4_5.src = "upload/setup_files/45_blue.png";
<!--  On5_5 = new Image(); On5_5.src = "upload/setup_files/55_blue.png"; -->

//OUR PROGRAMME IMAGES INACTIVE
Off1_5 = new Image();
Off1_5.src = "upload/setup_files/15_grey.png";
Off2_5 = new Image();
Off2_5.src = "upload/setup_files/25_grey.png";
Off3_5 = new Image();
Off3_5.src = "upload/setup_files/35_grey.png";
Off4_5 = new Image();
Off4_5.src = "upload/setup_files/45_grey.png";
<!-- Off5_5 = new Image(); Off5_5.src = "upload/setup_files/55_grey.png"; -->

//OUR PROGRAMME IMAGES MOUSEOVER
Over1_5 = new Image();
Over1_5.src = "upload/setup_files/15_bluex.png";
Over2_5 = new Image();
Over2_5.src = "upload/setup_files/25_bluex.png";
Over3_5 = new Image();
Over3_5.src = "upload/setup_files/35_bluex.png";
Over4_5 = new Image();
Over4_5.src = "upload/setup_files/45_bluex.png";
<!--  Over5_5 = new Image(); Over5_5.src = "upload/setup_files/55_bluex.png";  -->


//LEFT BAR ICONS
blogOn = new Image();
blogOn.src = "upload/setup_files/Ami_Blog_off.png";
registerOn = new Image();
registerOn.src = "upload/setup_files/become_member_off.png";
loginOn = new Image();
loginOn.src = "upload/setup_files/member_login_on.png";

//LEFT BAR ICONS
loginOff = new Image();
loginOff.src = "upload/setup_files/member_login_off.png";
registerOff = new Image();
registerOff.src = "upload/setup_files/become_member_off.png";
blogOff = new Image();
blogOff.src = "upload/setup_files/Ami_Blog_off.png";

submitButton = new Image();
submitButton.src = "upload/setup_files/submit.jpg";


function ShowOurPeopleDetail (whichid, xxxxx){
			DisableAllPeople();
			Enable ('det'+whichid);
			SetBack ('nav'+whichid,'#ffffff');
		}
		
		function DisableAllPeople () {
			Disable('det1');
			Disable('det2');
			Disable('det3');
			Disable('det4');
			Disable('det5');
			Disable('det6');
			Disable('det7');
			Disable('det8');
			Disable('det9');
			Disable('det10');
			Disable('det11');
			
			
			
			SetBack ('nav1','#f0f0f0');
			SetBack ('nav2','#f0f0f0');
			SetBack ('nav3','#f0f0f0');
			SetBack ('nav4','#f0f0f0');
			SetBack ('nav5','#f0f0f0');
			SetBack ('nav6','#f0f0f0');
			SetBack ('nav7','#f0f0f0');
			SetBack ('nav8','#f0f0f0');
			SetBack ('nav9','#f0f0f0');
			SetBack ('nav10','#f0f0f0');
			SetBack ('nav11','#f0f0f0');
		}

function SetBack (id, imgName) {
			body=document.getElementById(id);
		     if (body) {
		     	body.style.backgroundColor = imgName;
		     }
		}

function getInnerHtml(strURL, divid){ 
		document.getElementById(divid).innerHTML="Loading...";
	var req = getXMLHTTP(); // fuction to get xmlhttp object
	 
	  if (req)
	 {
	 req.onreadystatechange = function()
	 
		 {	
			  if (req.readyState == 4) 
			  { //data is retrieved from server
				   if (req.status == 200) 
				   { // which reprents ok status                    
				     document.getElementById(divid).innerHTML=req.responseText;
				   }
				   else
				   { 
				   		alert(req.status);
				      //alert("There was a problem while using XMLHTTP:\n");
				   }
			  }            
		  }        
		req.open("GET", strURL, true); //open url using get method
		req.send(null);
	 }
}
function getXMLHTTP() 
{ //fuction to return the xml http object
	var xmlhttp=false;
		
	try{xmlhttp=new XMLHttpRequest();}
	catch(e)	
	{		
		try{xmlhttp= new ActiveXObject("Microsoft.XMLHTTP");}
		catch(e)
		{
			try{req = new ActiveXObject("Msxml2.XMLHTTP");}
			catch(e1){xmlhttp=false;}
		}
	}
	 	
	return xmlhttp;
}
function validateEmail(form_id,email) {
	var address = document.forms[form_id].elements[email].value;
   if(address){
	   	var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
	   
	   if(reg.test(address) == false) {
	      alert('Error: Invalid Email Address');
		  document.forms[form_id].elements[email].value = "";
	      return false;
	   }
   }
   
}


