document.writeln("<script language=\"JavaScript\">");
document.writeln("<!--");
document.writeln("function uizf(divId_array,showLocality_array)");
document.writeln("{");
document.writeln(" var div_array = new Array();");
document.writeln(" var locality_array = new Array();");
document.writeln(" var intLocality;");
document.writeln(" var intDiv;");
document.writeln(" var intTemp = 1;");
document.writeln(" var intTmp = 1;");
document.writeln(" ");
document.writeln("");
document.writeln(" if (divId_array)");
document.writeln(" {");
document.writeln("  div_array = divId_array.split(\",\");");
document.writeln(" }else{");
document.writeln("  intDiv = 0;");
document.writeln(" }");
document.writeln(" if (showLocality_array)");
document.writeln(" {");
document.writeln("  locality_array = showLocality_array.split(\",\");");
document.writeln("  intLocality = locality_array.length;");
document.writeln("");
document.writeln("  for (var n = 0;n < intLocality;n++)");
document.writeln("  {");
document.writeln("   intTemp *= locality_array[n];");
document.writeln("   ");
document.writeln("  }");
document.writeln("  if (intTemp <= 0)");
document.writeln("  {");
document.writeln("   intLocality = intTemp;");
document.writeln("  }else{");
document.writeln("   intLocality = div_array.length;");
document.writeln("");
document.writeln("  while (intLocality > 0)");
document.writeln("  {");
document.writeln("   intLocality -= 1;");
document.writeln("   document.getElementById(\"\"+ div_array[intLocality] +\"\").style.display = \"none\";");
document.writeln("  }");
document.writeln("   intLocality = 1;");
document.writeln("  }");
document.writeln(" }else{");
document.writeln("  intLocality = 0;");
document.writeln(" }");
document.writeln("");
document.writeln("");
document.writeln(" if (intDiv != 0 && intLocality >0)");
document.writeln(" {");
document.writeln("  intDiv = div_array.length;");
document.writeln("  intLocality = locality_array.length;");
document.writeln("  ");
document.writeln("");
document.writeln("  for (var n = 0;n < intLocality;n++)");
document.writeln("  {");
document.writeln("   intTemp = locality_array[n];");
document.writeln("   ");
document.writeln("   for (var m = n + 1;m < intLocality;m++)");
document.writeln("   {");
document.writeln("    if (locality_array[n] > locality_array[m])");
document.writeln("    {");
document.writeln("     locality_array[n] = locality_array[m];");
document.writeln("     locality_array[m] = intTemp;");
document.writeln("     intTemp = locality_array[n];");
document.writeln("    }");
document.writeln("   }");
document.writeln("  }");
document.writeln("  ");
document.writeln("  intLocality = locality_array.length;");
document.writeln("  intTemp = 0;");
document.writeln("  ");
document.writeln("  \/\/");
document.writeln("  while (intTemp < intLocality)");
document.writeln("  {");
document.writeln("   if ((locality_array[intTemp] - 1) < div_array.length)");
document.writeln("   {");
document.writeln("    intTmp = locality_array[intTemp] - 1;");
document.writeln("    document.getElementById(\"\"+ div_array[intTmp] +\"\").style.display = \"block\";");
document.writeln("   }");
document.writeln("   ");
document.writeln("   intTemp += 1;");
document.writeln("  }");
document.writeln(" }");
document.writeln(" else if(intLocality == 0)");
document.writeln(" {");
document.writeln("  intLocality = div_array.length;");
document.writeln("");
document.writeln("  while (intLocality > 0)");
document.writeln("  {");
document.writeln("   intLocality -= 1;");
document.writeln("   document.getElementById(\"\"+ div_array[intLocality] +\"\").style.display = \"block\";");
document.writeln("  }");
document.writeln(" }else{");
document.writeln("  intLocality = div_array.length;");
document.writeln("");
document.writeln("  while (intLocality > 0)");
document.writeln("  {");
document.writeln("   intLocality -= 1;");
document.writeln("   document.getElementById(\"\"+ div_array[intLocality] +\"\").style.display = \"none\";");
document.writeln("  }");
document.writeln(" }");
document.writeln("}");
document.writeln("");
document.writeln("\/\/-->");
document.writeln("<\/script>");
document.writeln("");
document.writeln("")
