
    var strTbl = ''; 
   
    function WFT(FolderName, LevelID, Degree, ProductCount, IndexNo, ASPPage, Degree1Level) {
     
     
        strTbl = ''; 
        strTbl = strTbl + "<table id=\"" + LevelID + "\" class=\"bgc";        
        if(Degree == 1){strTbl = strTbl + "1\">";} else{strTbl = strTbl + "2\">";}        
        strTbl = strTbl + "<tr><td class=\"w5\"> </td><td class=\"ac\">";				
		if(Degree == 1){if(LevelID == Degree1Level){strTbl = strTbl + "<img src=\"/images/misc/white_blue_down_arrow.gif\" width=12 height=10 border=0 alt=\"arrow\" />";} else{strTbl = strTbl + "<img src=\"/images/misc/white_blue_arrow.gif\" width=10 height=12 border=0 alt=\"arrow\" />";}}   
	    strTbl = strTbl + "</td>";			
	    for (var x = 2; x <= Degree; x++){strTbl = strTbl + "<td class=\"sc\"> </td>";}			
		strTbl = strTbl + "<td><a id=\"i" + LevelID + "\" href=\"";			
	//	if(Degree == 1){strTbl = strTbl + "?l=" + LevelID;}else {if(ProductCount > 0){strTbl = strTbl + "/s/c/c/" + ASPPage;}else{strTbl = strTbl + "javascript:hideAll();showBlocks('" + IndexNo + "');";}}
	
	// strTbl = strTbl + ASPPage;
	    if(ProductCount > 0){strTbl = strTbl + ASPPage;}else{strTbl = strTbl + "/s/c/list.asp?pc=" + ProductCount + "&l=" + LevelID;}
	    
	
	//	if(Degree == 1){strTbl = strTbl + "/s/c/c/" + ASPPage;}
		
	//	else {if(ProductCount > 0){strTbl = strTbl + "/s/c/c/" + ASPPage;}else{strTbl = strTbl + "javascript:hideAll();showBlocks('" + IndexNo + "');";}}
	
		strTbl = strTbl + "\" class=\"nl\" title=\"" + FolderName + "\">" + FolderName;
        strTbl = strTbl + "</a></td></tr></table>";       
        document.write(strTbl)       
       // if(FolderName=='GPS Overlay Files'){ window.alert(strTbl);}
      //  if(Degree==3 && FolderName=='GPS Overlay Files'){ window.alert(strTbl);}
     //   if(LevelID==227){ window.alert(strTbl);}
      
    }
    
    function eDiv(){document.write("</div>");}
    function sDiv(DivName){document.write("<div id=d" + DivName + " style=\"display:none; margin-left: 0px\">");}
    function nS(){document.write("<div class=navshim>&nbsp;</div>");}