﻿function openLocation(url) 
{
    props = window.open("http://" + url, 'SPONSOR', '');
}
function openInnerLocation(url) 
{
    document.location = url;
}
function hoverMyOption(element)
{
    element.style.backgroundColor = "#737373";
    element.style.borderLeft = "solid 1px #C8C8C8";
    element.style.borderRight = "solid 1px #C8C8C8";
    
}
function outMyOption(element)
{
    element.style.backgroundColor = "#373737";
    element.style.borderLeft = "solid 1px #373737";
    element.style.borderRight = "solid 1px #373737";
}
function openBerichtContainer(berichtid) 
{
    //hide 'PLUS'
    document.getElementById('reactiesContainer_open_' + berichtid).style.display = "none";
    document.getElementById('reactiesContainer_close_' + berichtid).style.display = "";
    document.getElementById('reacties_bericht_' + berichtid).style.display = "";
}
function closeBerichtContainer(berichtid) 
{
    //hide 'PLUS'
    document.getElementById('reactiesContainer_open_' + berichtid).style.display = "";
    document.getElementById('reactiesContainer_close_' + berichtid).style.display = "none";
    document.getElementById('reacties_bericht_' + berichtid).style.display = "none";
}
function openBerichtReactieContainer(berichtid) 
{
    document.getElementById('reacties_bericht_' + berichtid + '_reactieplaatsen').style.display = "";
}
function closeBerichtReactieContainer(berichtid) 
{
    document.getElementById('reacties_bericht_' + berichtid + '_reactieplaatsen').style.display = "none";
}
function showBusfiche(url)
{
    props = window.open(url, 'Busfiche', 'toolbars=0, scrollbars=1, location=0, statusbar=0, menubars=0, resizable=0, width=980px, height=750px');
}
function showBusficheSimple(url) 
{
    props = window.open(url, 'Busfiche', 'toolbars=0, scrollbars=1, location=0, statusbar=0, menubars=0, resizable=0, width=680px, height=500px');
}
