<!-- 	
// by Nannette Thacker
// http://www.shiningstar.net
// This script checks and unchecks boxes on a form
// Checks and unchecks unlimited number in the group...
// Pass the Checkbox group name...
// call buttons as so:
// <input type=button name="CheckAll"   value="Check All"
	//onClick="checkAll(document.myform.list)">
// <input type=button name="UnCheckAll" value="Uncheck All"
	//onClick="uncheckAll(document.myform.list)">
// -->

<!-- Begin
function checkAll(field)
{
for (i = 0; i < field.length; i++)
	field[i].checked = true ;
}

function uncheckAll(field)
{
for (i = 0; i < field.length; i++)
	field[i].checked = false ;
}
//  End -->
	<!--
    function errorMsg()
    {
      alert("Netscape 6 or Mozilla is needed to install a sherlock plugin");
    }
    function addEngine(name,ext,cat,type)
    {
      if ((typeof window.sidebar == "object") && (typeof
      window.sidebar.addSearchEngine == "function"))
      {
        //cat="Web";
        //cat=prompt('In what category should this engine be installed?','Web')
        window.sidebar.addSearchEngine(
          "http://aznv.tv/"+name+".src",
          "http://aznv.tv/"+name+"."+ext,
          name,
          cat );
      }
      else
      {
        errorMsg();
      }
    }
    //-->
    <!-- // Hide from older browsers


    function expandRows(id1,id2,id3,id4,id5,id6,id7,id8,id9,id10,id11,id12,id13,id14,id15,id16,id17,id18,id19,id20)
    {
	    if (id1 != '') expandRow(id1);
	    if (id2 != '') expandRow(id2);
	    if (id3 != '') expandRow(id3);
	    if (id4 != '') expandRow(id4);
	    if (id5 != '') expandRow(id5);
		if (id6 != '') expandRow(id6);
		if (id7 != '') expandRow(id7);
		if (id8 != '') expandRow(id8);
		if (id9 != '') expandRow(id9);
		if (id10 != '') expandRow(id10);
		if (id11 != '') expandRow(id11);
		if (id12 != '') expandRow(id12);
		if (id13 != '') expandRow(id13);
		if (id14 != '') expandRow(id14);
		if (id15 != '') expandRow(id15);
		if (id16 != '') expandRow(id16);
		if (id17 != '') expandRow(id17);
		if (id18 != '') expandRow(id18);
		if (id19 != '') expandRow(id19);
		if (id20 != '') expandRow(id20);
    }

    function expandRow(id)
    {
	    var elm = null;
	    if (document.getElementById)
        {
            // browser implements part of W3C DOM HTML
            // Gecko, Internet Explorer 5+, Opera 5+
            elm = document.getElementById(id);
        }
        else if (document.all)
        {
            // Internet Explorer 4 or Opera with IE user agent
            elm = document.all[id];
        }
        else if (document.layers)
        {
            // Navigator 4
            elm = document.layers[id];
        }

        if (!elm)
        {
            // browser not supported or element not found
        }
        else if (elm.style)
        {
            // browser implements part of W3C DOM Style
            // Gecko, Internet Explorer 4+, Opera 5+
            if (elm.style.display == "none")
                elm.style.display = ""
            else
                elm.style.display = "none"
        }
        else
        {
            // Navigator 4
            elm.visibility = "show"
        }
    }

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=900,height=600,left = 510,top = 240');");
}