﻿function menuAc(id)
{
    document.getElementById(id).style.display='block';
}
	
function swap(id)
{
    document.getElementById(id).style.display='block';
}
	
function swap2(id)
{
    document.getElementById(id).style.display='none';
}
	
function menuKapat(id) 
{
    document.getElementById(id).style.display='none';
}

function openDv(id)
{
    if(document.getElementById(id).style.display == 'none')
    {
        document.getElementById(id).style.display = 'block';
    }
    else
    {
        document.getElementById(id).style.display = 'none';
    }
}

function openFair(id)
{
    var url = self.location.href;
    if(url.indexOf("=") > 0)
    {
        url = url.split("=");
        if(id == 'dv'+url[1])
        {
            document.getElementById(id).style.display='block';
        }
    }
}

function openVideo()
{
    window.open('movie/video.aspx',null,"scrollbasr=0,toolbar=0,resizeable=0,width=278, height=237");
}

