function makeLeftNavigation(prodName,famName){
  var len=prodName.indexOf(UtfToUnicode("*"));
  var productname=prodName.substr(0, len);
  var gentype=prodName.substr(len+10, (prodName.length)-1);
	var productIndex=-1;
  productIndex=parseInt(product_lines[productname],10);
	var productfamilyname=famName;
  productname=productname.replace(UtfToUnicode("LNP"),UtfToUnicode("LNP*"));
	document.write("<DIV id='nav2'>");
	document.write("<UL class='breadcrumb'>");
  document.write("<LI><a href='/gep/Plastics/"+lang+"/Home/Home/home.html'>"+ucodeHome+"</a></LI>");
	document.write("<LI><a href=\"/gep/Plastics/"+lang+"/ProductsAndServices/ProductsAndServices/products_and_services.html\">"+ucodeProductsandServices+"</a></LI>");
	document.write("<LI><a href='"+product_lines[productIndex]["link"]+"'>"+productname+"* "+gentype+"</a></LI>");
  document.write("</UL>");
  document.write("<UL class='breadcrumb'>");
  document.write("<LI class=\"pos1 selected\">"+productfamilyname+"</LI>");
  document.write("<LI class=\"pos1 selected\">"+ucodeSeries+"</LI>");
	document.write("</UL>");
  if(productIndex >=0){
  if( product_lines[productIndex][productfamilyname]["series_n"].length > 0){
	   for(j=0;j<product_lines[productIndex][productfamilyname]["series_n"].length;j++){
		    document.write("<UL class='navitemList'>");
		    document.write("<LI><a href="+product_lines[productIndex][productfamilyname]["series_l"][j]+">"+product_lines[productIndex][productfamilyname]["series_n"][j]+"</a></LI>");
		    document.write("</UL>");
	   }
	}
	}
	document.write("<UL class='navitemList'>");
	document.write("<LI><a href='/gepapp/Plastics/servlet/ProductsAndServices/Product/series?sltPrdline="+product_lines[productIndex]["nam_n"]+"&sltPrdFamily="+productfamilyname+"&search=Search"+"'> "+ucodeAll+" "+productname+"* "+productfamilyname+" "+gentype+"</a></LI>");
	document.write("</UL>");
	document.write("</DIV>");
}
function makeFamilySeriesList(prodName,familyName,famName){
  var len=prodName.indexOf(UtfToUnicode("*"));
  var productname=prodName.substr(0, len);
  var gentype=prodName.substr(len+10, (prodName.length)-1);
	var productIndex=parseInt(product_lines[productname],10);
	var productfamilyname=famName;
	var prodFamNam = familyName; 
  productname=productname.replace(UtfToUnicode("LNP"),UtfToUnicode("LNP*"));
  document.write("<table><tr><td width=500>");
	document.write("<h5>"+ucodeSeries+"</h5></td></tr><tr></tr></table>"); 
	 if( product_lines[productIndex][productfamilyname]["series_n"].length > 0){
 		for(j=0;j<product_lines[productIndex][productfamilyname]["series_n"].length;j++){
    		document.write("> <a href="+product_lines[productIndex][productfamilyname]["series_l"][j]+"> "+product_lines[productIndex][productfamilyname]["series_n"][j]+"</a> ");
				document.write(product_lines[productIndex][productfamilyname]["teaser"][j]+"<br/>");
		}
  }      	
      document.write("> <a href='/gepapp/Plastics/servlet/ProductsAndServices/Product/series?sltPrdline="+product_lines[productIndex]["nam_n"]+"&sltPrdfamily="+prodFamNam+"&search=Search"+"'> "+ucodeAll+" "+productname+"* "+productfamilyname+" "+gentype+"</a>");
}
function makeFamLeftNavigation(prodName,familyName,famName,prod){
  var len=prodName.indexOf(UtfToUnicode("*"));
  var productname=prodName.substr(0, len);
  var pnm = prod;
  var gentype=prodName.substr(len+10, (prodName.length)-1);
	var productIndex=-1;
  productIndex=parseInt(product_lines[productname],10);
	var productfamilyname=famName;
	var prodFamNam = familyName;
  productname=productname.replace(UtfToUnicode("LNP"),UtfToUnicode("LNP*"));
	document.write("<DIV id='nav2'>");
	document.write("<UL class='breadcrumb'>");
  document.write("<LI><a href='/gep/Plastics/"+lang+"/Home/Home/home.html'>"+ucodeHome+"</a></LI>");
	document.write("<LI><a href=\"/gep/Plastics/"+lang+"/ProductsAndServices/ProductsAndServices/products_and_services.html\">"+ucodeProductsandServices+"</a></LI>");
	document.write("<LI><a href='"+product_lines[productIndex]["link"]+"'>"+productname+"* "+gentype+"</a></LI>");
  document.write("</UL>");
  leftNavProperties(pnm);
  document.write("<UL class='breadcrumb'>");
  document.write("<LI class=\"pos1 selected\">"+productfamilyname+"</LI>");
  document.write("<LI class=\"pos1 selected\">"+ucodeSeries+"</LI>");
	document.write("</UL>");
  if(productIndex >=0){
  if( product_lines[productIndex][productfamilyname]["series_n"].length > 0){
	   for(j=0;j<product_lines[productIndex][productfamilyname]["series_n"].length;j++){
		    document.write("<UL class='navitemList'>");
		    document.write("<LI><a href="+product_lines[productIndex][productfamilyname]["series_l"][j]+">"+product_lines[productIndex][productfamilyname]["series_n"][j]+"</a></LI>");
		    document.write("</UL>");
	   }
	}
	}
	document.write("<UL class='navitemList'>");
	document.write("<LI><a href='/gepapp/Plastics/servlet/ProductsAndServices/Product/series?sltPrdline="+product_lines[productIndex]["nam_n"]+"&sltPrdFamily="+prodFamNam+"&search=Search"+"'> "+ucodeAll+" "+productname+"* "+productfamilyname+" "+gentype+"</a></LI>");
	document.write("</UL>");
	document.write("</DIV>");
}
function leftNavProperties(product)
{
    var perf="";
  	var perf_prop_name=new Array();
    var perf_prop_link=new Array();
    var prod = product;
    var count=0;
   for (var i=0;i<performance_prop.length;i++){
        if(performance_prop_product[i] == product){
        perf_prop_name[count]=performance_prop[i];
        perf_prop_link[count]=performance_prop_link[i];
        count++;
      }
   }   
	     	for(var k=0;k<count;k++){
        for (var j=k+1;j<count;j++){
   	 	   	if(perf_prop_name[k]> perf_prop_name[j]){
				   var temp=perf_prop_name[k];
		   	   perf_prop_name[k]=perf_prop_name[j];
				   perf_prop_name[j]=temp;
           temp=perf_prop_link[k];
				   perf_prop_link[k]=perf_prop_link[j];
				   perf_prop_link[j]=temp;
   			}
     }
	}	
     if(count>0){
        document.write("<UL class=\"breadcrumb\">");
	      document.write("<LI class=\"posl selected\">"+ucodePerfProp+"</LI>");
      	document.write("</UL>");
    }
      	for (var p=0;p<count;p++){
        perf= perf_prop_name[p].replace('+','%23');
        perf= perf_prop_name[p].replace(' ','');
        document.write("<UL class=\"navitemList\">");
        document.write("<LI><a href='"+perf_prop_link[p]+"'>"+perf_prop_name[p]+"</a></LI>"); 
          document.write("</UL>");
          }
}
