
function showmail (user, domain, extension)
{
    document.write(user + '@' + domain +'.' + extension);
}

function mailtogras() {
    user = 'info';
    domain = 'platformgras';
    extension = 'nl';
    window.location = "mailto:" + user + '@' + domain +'.' + extension;
}

function mailto (user, domain, extension, text) {
    document.write("<a href='mailto:");

    showmail(user, domain, extension);

    document.write("'>" + text + "</a>");
}

// rarara, deze functie opent een nieuw venster
function openwindow( Name, width, height, top, left )
{
    style = "height=" + height + ",width=" + width + ", top=" + top + ", left=" + left + ",status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes";
    newWindow = open( Name , "", style );
    newWindow.opener = self;
}

// same as openwindow() but without preferred location or size
function openwindowNoSize( Name )
{
    style = "status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes";
    newWindow = open( Name , "", style );
    newWindow.opener = self;
}


