      function gomarq()
      {
       marqobj1 = document.getElementById("marq1");
       marqobj1.style.marginLeft = parseInt(marqobj1.style.marginLeft) - 1 + "px";
       if (parseInt(marqobj1.style.marginLeft) < -800) marqobj1.style.marginLeft = "800px";
       marqobj2 = document.getElementById("marq2");
       marqobj2.style.marginLeft = parseInt(marqobj2.style.marginLeft) - 1 + "px";
       if (parseInt(marqobj2.style.marginLeft) < -800) marqobj2.style.marginLeft = "800px";
       window.setTimeout("gomarq()",30);
      }
      
	function highlight(i,y)
        {
               if (document.getElementById)
                        {
                        var button = document.getElementById("b"+i);
                        button.style.backgroundPosition="0px "+y+"px";
                        //if(i==2 || i==4) dropdown(i,1);
                        //else dropdown(0,0);
		        }
        }

      function dropdown(i,on)
      {
               if (document.getElementById)
                        {
                            var dropdown = document.getElementById("ddhg");
                            if (i==2)
                            {
                              var dropd1 = document.getElementById("dd2");
                              var dropd2 = document.getElementById("dd4");
                            }
                            else
                            {
                              var dropd2 = document.getElementById("dd2");
                              var dropd1 = document.getElementById("dd4");
                            }


                            if(on==1)
                            {
                             dropdown.style.visibility = "visible";
                             dropd1.style.visibility = "visible";
                             dropd2.style.visibility = "hidden";


                            }
                            else
                            {
                             dropdown.style.visibility = "hidden";
                             dropd1.style.visibility = "hidden";
                             dropd2.style.visibility = "hidden";
                            }
                        }
      }




