/* 
 This file was generated by Dashcode.  
 You may edit this file to customize your widget or web page 
 according to the license.txt file included in the project.
 */

//
// Function: load()
// Called by HTML body element's onload event when the web application is ready to start
//
function load()
{
    dashcode.setupParts();
}


function showVeranstaltungenView(event)
{
    var main = document.getElementById('views');
    var veranstaltungen = document.getElementById('veranstaltungen');
    
    if (views && views.object && veranstaltungen) {
        views.object.setCurrentView(veranstaltungen);
    }
}

function flipToInfos(event)
{
    var views = document.getElementById('views');
    var infos = document.getElementById('infos');
    
    if (views && views.object && infos) {
        views.object.setCurrentView(infos, true);
    }
}

function flipToMain(event)
{
    var views = document.getElementById('views');
    var main = document.getElementById('main');
    
    if (views && views.object && main) {
        views.object.setCurrentView(main, true);
    }
}

function flipToLinks(event)
{
    var views = document.getElementById('views');
    var links = document.getElementById('links');
    
    if (views && views.object && links) {
        views.object.setCurrentView(links, true);
    }
}

function gotoBayreutherBarock(event)
{
    location.href = "http://www.bayreuther-barock.bayreuth.de/frameset1.htm?undefined";
}

function gotoStadtBayreuth(event)
{
    location.href = "http://www.bayreuth.de/tourismus_kultur_freizeit/tourismus/wilhelmine_von_preussen_1036.html";
}


function gotoPreussischeGesellschaft(event)
{
    location.href = "http://preussen.org/";
}


function gotoFreundeStaatsoper(event)
{
    location.href = "http://www.opernfreunde.at/cms/cms1/index.php";
}

function gotoBlog(event)
{
    location.href = "http://wilhelmine.wordpress.com";
}


function sendEmail(event)
{
    location.href = "mailto:arthur@rogame.com";
}
