function formatTopNav(TN_Info,ContentName) 

{

            var oTD = null;
            
            TN_Info = unescape(TN_Info);

            aryTN_Info = TN_Info.split(';') 

            
            sContent = new String();

            for(var t = 1; t < aryTN_Info.length; t++) 

            {


		aryNewTN = aryTN_Info[t].split(',')

                sText = aryNewTN[0];
                sPath = aryNewTN[1];
                sOrder = aryNewTN[2];
                sText = unescape(sText);
                        
                sPathArray = sPath.split('/')
                        for(var p = 0; p < sPathArray.length; p++) 
				            {
								//alert(sPathArray)
								if (p == sPathArray.length -1){
									//alert(sPathArray[p])
									PageName = sPathArray[p].replace(".html","")
									//alert(PageName)
									 
								}
							}
                        //sImgText = sText.replace(/ /g,'_')
						Left_PageName = "nav_left_" + PageName
						ContentName = ContentName.replace(".html","")
						
						if (ContentName == PageName) {
						
							sContent += '<TR><TD><IMG height=29 src="/SiteGen/Uploads/Public/SKINS_DYSPAN_2008/' + Left_PageName + '_on.gif" width=145 border=0 name=' + Left_PageName + '></A></TD></TR>'
							sContent += '<IMG height=1 src="/SiteGen/Uploads/Public/SKINS_DYSPAN_2008/spacer.gif"></TD></TR>'
						
												
						}else {
                  
							
						
							sContent += '<TR><TD><A href="' + sPath + '">'
							sContent += '<IMG onmouseover="Hilite(\'' + Left_PageName + '\',true)" onmouseout="Hilite(\'' + Left_PageName + '\',false)" height=29 src="/SiteGen/Uploads/Public/SKINS_DYSPAN_2008/' + Left_PageName + '.gif" width=145 border=0 name="' + Left_PageName + '"></A></TD></TR><TR><TD height=1>'
							sContent += '<IMG height=1 src="/SiteGen/Uploads/Public/Skin_DYSPAN_2008/spacer.gif"></TD></TR>'
						}
            }

            return sContent

}

         //

            // Rollover

            //

            function Hilite(name,over)

            {

                        //alert(name + "  " + over)

                        if(window.document.images) 

                        {

                                    if (over)

                                    {

                                                window.document.images[name].src = "/SiteGen/Uploads/Public/Skin_Template_Two/" + name + "_on.gif";

                                    } else {

                                                window.document.images[name].src = "/SiteGen/Uploads/Public/Skin_Template_Two/" + name + ".gif";

                                    }

                        }

            }