offenglish = new Image(60,60)
offenglish.src = "../bilder/up.jpg"
onenglish = new Image(60,60)
onenglish.src = "../bilder/down.jpg"

offdeutsch = new Image(60,60)
offdeutsch.src = "oben.jpg"
ondeutsch = new Image(60,60)
ondeutsch.src = "unter.jpg"

// declare variables
var wms_title
var wms_heading
var wms_text

function generate_page(g_title, g_heading, g_text) {
wms_title=strip_html(g_title)
wms_heading=strip_html(g_heading)
wms_text=strip_html(g_text)
// define contents of page
contents='<head>'+
'<title>'+wms_title+'</title>'+
'<link rel="stylesheet" type="text/css" href="../data/default.css" />'+
'</head>'+
'<body style="background-color:#99ccff">'+
'<p><h3>'+wms_heading+'</h3>'+
wms_text+'</p></div>'
// create window
options =	 "toolbar=0,status=0,menubar=0,scrollbars=0,resizable=0,width=400,height=300";
newwindow=window.open("","mywindow", options);
newwindow.document.write(contents);
newwindow.document.close();
}

function strip_html(wms_word) {
// wms_word = wms_word.replace(/&/,"");
wms_word = wms_word.replace(/>/,"\&gt");
wms_word = wms_word.replace(/</,"\&lt");
return wms_word;
}

function get_email_address() {
//return wms_name + "@" + wms_domain;
//return info@wilson-mediasystems.de;
}
