    function display(sID) {

    oObj = document.getElementById(sID);
    if (oObj) {
    oObj.style.display='inline';
    }
    }

    function hide(sID) {
    oObj = document.getElementById(sID);
    if (oObj) {
    oObj.style.display='none';
    }
    }

    function gettab(id){

    for (i=1;i<=3;i++)
    {
    if (id == i)
    {
    display("content"+i);
    document.getElementById("tab"+i).className ='selected';
    }else{
    hide("content"+i);
    document.getElementById("tab"+i).className ='select';
    }
    }

    }
    function rotate(id,settime){
    if (id >3){id=1;}
    gettab(id);
    id++;
    timer = setTimeout("rotate("+id+","+settime+")", settime);

    }

