// fast_page_functions.js

function GoTo(where) {
	var myLocation = self.location.toString();
	myLocation = myLocation.replace ( /#.*$/, "");
	myLocation += "#"+where;
	self.location = myLocation;
}
var submenu_header="<tr><td width=100%>\n";
	submenu_header+="<table cellspacing=0 cellpadding=0 border=0 width=100%><tr>\n";
	submenu_header+="<td width=2><img src=\"../img/pxclear.gif\" width=2 height=1 border=0></td>\n";
	submenu_header+="<td width=20 bgcolor=\"#ffffff\"><img src=\"../img/pxclear.gif\"></td>\n";
	submenu_header+="<td width=100% colspan=2 bgcolor=\"#ffffff\"><img src=\"../img/pxclear.gif\"></td>\n";
	submenu_header+="<td width=8 height=2 bgcolor=\"#ffffff\"><img src=\"../img/pxclear.gif\" width=8 height=2 border=0></td>\n";
	submenu_header+="</tr><tr><td width=2></td>\n";
	submenu_header+="<td width=20 background=\"../img/common/menu_left_empty.gif\"><img src=\"../img/pxclear.gif\" width=20 height=1 border=0></td>";
	submenu_header+="<td colspan=3 width=100% bgcolor=\"#940000\" align=\"right\"><img src=\"../img/common/menu_left_upright.gif\" width=\"8\" height=\"8\" border=\"0\" alt=\"\"></td>\n";
//	submenu_header+="<td width=8 height=8 background=\"../img/common/menu_left_upright.gif\"><img src=\"../img/pxclear.gif\" width=8 height=8 border=0></td></tr>\n";

var submenu_footer="<tr>\n";
	submenu_footer+="<td width=2><img src=\"../img/pxclear.gif\" width=2 height=1 border=0></td>\n";
	submenu_footer+="<td colspan=4 background=\"../img/common/menu_left_down.gif\" height=10>\n";
	submenu_footer+="<img src=\"../img/pxclear.gif\" width=1 height=10></td></tr></table>\n";
	submenu_footer+="</td></tr>\n";

var row_separator="<tr><td height=4></td>\n";
	row_separator+="<td colspan=4 background='../img/common/menu_left_empty.gif' ";
	row_separator+="class='left' align='left' valign='top'>";
	row_separator+="<img src='../img/pxclear.gif'></td></tr>\n";

var row_separator_sm="<tr><td height=1></td>\n";
	row_separator_sm+="<td colspan=4 background='../img/common/menu_left_empty.gif' ";
	row_separator_sm+="class='left' align='left' valign='top'>";
	row_separator_sm+="<img src='../img/pxclear.gif'></td></tr>\n";

var white_row_separator="<tr><td height=7></td>\n";
	white_row_separator+="<td colspan=4 background='../img/common/menu_left_separator.gif' ";
	white_row_separator+="class='left' align='left' valign='top'>";
	white_row_separator+="<img src='../img/pxclear.gif'></td></tr>\n";

function display_menu_header(dayanddate){
  var out_text="<table cellspacing=0 cellpadding=0 border=0 background=\"../img/common/menu_bck.gif\" width=100%><tr><td width=100%>\n";
  out_text+="<table cellspacing=0 cellpadding=0 border=0 background=\"../img/pxclear.gif\" width=100%><tr><td height=2></td></tr>\n";
  out_text+="<tr><td width=120>\n"
	out_text+="<table cellspacing=0 cellpadding=0 border=0 width=100%><tr><td width=3>\n";
	out_text+="<img src='../img/pxclear.gif' width=3 height=1 border=0></td>\n";
	out_text+="<td class='left' height=28 valign='bottom'><a href=\"../cgi-bin/home_page.cgi?lang=nl\"><img src=\"../img/common/menu_logo_s.gif\" width=110 height=22 border=0></a>\n";
	out_text+="<img src=\"../img/pxclear.gif\" width=117 height=1 border=0></td>\n";
  out_text+="</tr><tr><td></td><td class='left' height=32 valign='bottom'><span class='bnr'><span class='white'>"+dayanddate+"</span></span></td></tr></table></td>\n";
	out_text+="<td width=100% height=65><table cellspacing=0 cellpadding=0 border=0 width=100%><tr>\n";
	document.write(out_text);
}

function display_menu_footer(){
	var out_text="</tr></table></td>\n";
	out_text+="<td width=77><img src=\"../img/pxclear.gif\" width=77 height=1 border=0></td>\n";
	out_text+="</tr><tr>\n";
	out_text+="<td height=2 bgcolor=\"#940000\"><img src=\"../img/pxclear.gif\"></td></tr>\n";
	out_text+="</table></td></tr></table>\n";
	document.write(out_text);
}

// input: level0_name[], level0_page[], level0_active, lang
function display_menu() {
  var out_text="";
  for(var i=0;i<level0_name.length;i++){
    out_text+="<td width=72>";
		out_text+="<a href=\""+level0_page[i]+"\" onmouseover='btn_over("+i+")' ";
		out_text+="onmouseout='btn_out("+i+")'";
		if(level0_page[i].toString().indexOf("leave.cgi")!=-1) out_text+=" target='_blank'";
		out_text+="><img src='../img/common/"+lang+"/btn_"+i+"_";
		out_text+=(i==level0_active)?"on":"off";
		out_text+=".gif' width=72 height=65 border=0 name='btn_"+i+"' alt=\""+level0_name[i]+"\"></a></td>\n";
		if(i<level0_name.length-1) out_text+="<td></td>\n";
  }
	document.write(out_text);
}

// input: level1_name[], level1_page[], level2_name[], level2_page[], level1_active, level2_active
function display_submenu(){
  if(level1_name.length==0) return;
	var out_text=submenu_header;

  for(var i=0;i<level1_name.length;i++){
    out_text+="<tr><td width=2></td>\n";
		out_text+="<td width=20 background='../img/common/menu_left_empty.gif' class='left' align='left' valign='top'>\n";
		out_text+="<img src='../img/common/menu_left_";
		out_text+=(i==level1_active)?"on":"off";
		out_text+=".gif' width=15 height=13 border=0></td>\n";
		out_text+="<td colspan=2 width=100% bgcolor='#940000' class='left' valign='top'>\n";
		out_text+="<a href=\""+level1_page[i]+"\" class='main'>"+level1_name[i]+"</a></td>\n";
		out_text+="<td bgcolor='#940000'><img src='../img/pxclear.gif'></td></tr>\n";

		out_text+=row_separator;

		if(i==level1_active){
		  for(var j=0;j<level2_name.length;j++){
				out_text+="<tr><td width=2></td>\n";
				out_text+="<td width=20 background='../img/common/menu_left_empty.gif' class='left' align='left' valign='top'>\n";
				out_text+="<img src='../img/pxclear.gif'></td>\n";
				out_text+="<td width=9 bgcolor='#940000' class='left' align='left' valign='top'>\n";
				out_text+="<img src='../img/common/menu_sub_left_";
				out_text+=(j==level2_active)?"on":"off";
				out_text+=".gif' width=9 height=13 border=0></td>\n";
				out_text+="<td width=100% bgcolor='#940000' class='left' valign='top'>\n";
				out_text+="<a href=\""+level2_page[j]+"\" class='main'>"+level2_name[j]+"</a></td>\n";
				out_text+="<td bgcolor='#940000'><img src='../img/pxclear.gif'></td></tr>\n";
				out_text+=row_separator;
			}
		}
	}
	out_text+=submenu_footer;
	document.write(out_text);
}

// input: myTsLink (array), myTsTitle;
function DisplayMyTs() {
	var out_text=submenu_header;
	out_text+="<tr><td width=2></td>\n";
	out_text+="<td width=20 background='../img/common/menu_left_empty.gif' class='left' align='left' valign='top'>\n";
	out_text+="<img src='../img/pxclear.gif' width=15 height=13 border=0></td>\n";
	out_text+="<td colspan=2 width=100% bgcolor='#940000' class='left' valign='top'>\n";
	out_text+="<a href=\""+myTsTitleLink+"\" class=\"main\"><b>";
	out_text+=myTsTitle+"</b></a><br></td>\n";
	out_text+="<td bgcolor='#940000'><img src='../img/pxclear.gif'></td></tr>\n";

	for (var i=0; i<myTsLink.length; i++) {
		if (i == 0) out_text+=row_separator;
//		out_text+=row_separator;

		out_text+="<tr><td width=2></td>\n";
		out_text+="<td width=20 background='../img/common/menu_left_empty.gif' "+
				  "class='right' align='right' valign='top'>\n";
		out_text+="<img src='../img/common/menu_sub_left_off.gif' width=9 "+
				  "height=13 border=0>\n";
		out_text+="<img src='../img/pxclear.gif' width=2 height=2 border=0></td>\n";
		out_text+="<td colspan=2 bgcolor='#940000' class='left' valign='top'>\n";
		out_text+="<a href=\""+myTsLink[i]+"\" class=\"main\">"+myTsLinkTxt[i]+"</a>";
		out_text+="</td>\n";
		out_text+="<td bgcolor='#940000'><img src='../img/pxclear.gif'></td></tr>\n";
		out_text+="\n";
	}
	out_text+=submenu_footer;
	document.write(out_text);
}

// input: q_string_category, cv_warenkorb, wk_text, cv_anzeigen
function display_wk(){
//  if(level1_name.length==0) return;
	var out_text=submenu_header;
	out_text+="<tr><td width=2></td>\n";
	out_text+="<td width=20 background='../img/common/menu_left_empty.gif' class='left' align='left' valign='top'>\n";
	out_text+="<img src='../img/pxclear.gif' width=15 height=13 border=0></td>\n";
	out_text+="<td colspan=2 width=100% bgcolor='#940000' class='left' valign='top'>\n";
	out_text+="<a href=\"../cgi-bin/shop.cgi?mode=warenkorb";
	if(q_string_category) out_text+="&category="+q_string_category;
	out_text+="\" class='main'>"+cv_warenkorb+"</a><br></td>\n";
	out_text+="<td bgcolor='#940000'><img src='../img/pxclear.gif'></td></tr>\n";

	out_text+=row_separator;

	out_text+="<tr><td width=2></td>\n";
	out_text+="<td width=20 background='../img/common/menu_left_empty.gif' class='left' align='left' valign='top'>\n";
	out_text+="<img src='../img/pxclear.gif' width=15 height=13 border=0></td>\n";
	out_text+="<td colspan=2 width=100% bgcolor='#940000' class='left' valign='top'>\n";
	out_text+="<span class='small'><span class='white'>"+wk_text+"</span></span></td>\n";
	out_text+="<td bgcolor='#940000'><img src='../img/pxclear.gif'></td></tr>\n";

	out_text+=row_separator;

	out_text+="<tr><td width=2></td>\n";
	out_text+="<td width=20 background='../img/common/menu_left_empty.gif' class='right' align='right' valign='top'>\n";
	out_text+="<img src='../img/common/menu_sub_left_off.gif' width=9 height=13 border=0>\n";
	out_text+="<img src='../img/pxclear.gif' width=2 height=2 border=0></td>\n";
	out_text+="<td colspan=2 bgcolor='#940000' class='left' valign='top'>\n";
	out_text+="<a href=\"../cgi-bin/shop.cgi?mode=warenkorb";
	if(q_string_category) out_text+="&category="+q_string_category;
	out_text+="\" class='main'>"+cv_anzeigen+"</a></td>\n";
	out_text+="<td bgcolor='#940000'><img src='../img/pxclear.gif'></td></tr>\n";
	out_text+="\n";

	out_text+=row_separator;

	out_text+="<tr><td width=2></td>\n";
	out_text+="<td width=20 background='../img/common/menu_left_empty.gif' class='right' align='right' valign='top'>\n";
	out_text+="<img src='../img/pxclear.gif width=9 height=13 border=0>\n";
	out_text+="<img src='../img/pxclear.gif' width=2 height=2 border=0></td>\n";
	out_text+="<td colspan=2 bgcolor='#940000' class='left' valign='top'>\n";
	out_text+="<table border='0' cellpadding='0' cellspacing='0'>\n";
	out_text+="<tr><td><img src='../img/common/visa_logo.gif' width='35' height='21' border='0' alt=''></td>";
	out_text+="<td><img src='../img/pxclear.gif' width='3' height='1' border='0' alt=''></td>";
	out_text+="<td><img src='../img/common/amex_logo.gif' width='40' height='21' border='0' alt=''></td>";
	out_text+="<td><img src='../img/pxclear.gif' width='3' height='1' border='0' alt=''></td>";
	out_text+="<td><img src='../img/common/mastercard_logo.gif' width='35' height='21' border='0' alt=''></td>";
//  	out_text+="</tr>";
// 	out_text+="<tr><td colspan='3'><img src='../img/pxclear.gif' width='1' height='2' border='0' alt=''></td></tr>";
// 	out_text+="<tr><td colspan='3'><img src='../img/common/mastercard_logo.gif' width='35' height='21' border='0' alt=''></td>";
// 	out_text+="<td><img src='../img/pxclear.gif' width='3' height='1' border='0' alt=''></td>";
// 	out_text+="<td><img src='../img/common/diners_logo.jpg' width='40' height='21' border='0' alt=''></td>";
	out_text+="</tr></table></td>\n";
	out_text+="<td bgcolor='#940000'><img src='../img/pxclear.gif'></td></tr>\n";
	out_text+="\n";

	out_text+=submenu_footer;
	document.write(out_text);
}

//input: navi_name[], navi_page[]
function display_navi(){
  var out_text=submenu_header;

	for(var i=0;i<navi_name.length;i++){
	  out_text+="<tr><td width=2></td>\n";
		out_text+="<td width=20 background='../img/common/menu_left_empty.gif' class='right' align='right' valign='top'>\n";
		out_text+="<img src='../img/common/menu_sub_left_off.gif' width=9 height=13 border=0>\n";
		out_text+="<img src='../img/pxclear.gif' width=2 height=2 border=0></td>\n";
		out_text+="<td colspan=2 bgcolor='#940000' class='left' valign='top'>\n";
		out_text+="<a href=\""+navi_page[i]+"\" class='main'>";
		out_text+=navi_name[i]+"</a></td>\n";
		out_text+="<td bgcolor='#940000'><img src='../img/pxclear.gif'></td></tr>\n";

		if(i<navi_name.length-1) out_text+=row_separator_sm;
	}

	out_text+=submenu_footer;
	document.write(out_text);
}

//input: cv_suchen, cv_advanced
function display_search(){
  var out_text="<tr><td colspan=2 height=12><img src=\"../img/pxclear.gif\"></td></tr>\n";
  out_text+=submenu_header;

	out_text+="<tr><td width=2></td>\n";
	out_text+="<td colspan=3 background='../img/common/menu_left_empty.gif' class='left' valign='top'>&nbsp;&nbsp;<span class='main'>";
	out_text+=cv_suchen+"</span></td><td bgcolor='#940000'><img src='../img/pxclear.gif'></td></tr>\n";

  out_text+=row_separator;

	out_text+="<tr><form name='searchform' action='../cgi-bin/search.cgi?mode=search' method='post'><td width=2></td>\n";
	out_text+="<td colspan=3 background='../img/common/menu_left_empty.gif' class='left' valign='top'><table cellspacing=0 cellpadding=0 border=0 background='../img/pxclear.gif'><tr><td class='left'>&nbsp;&nbsp;<input type='text' class='small' size=8 name='searchtext' value='' maxlength=256>\n";
	out_text+="</td><td valign='bottom'><input type='image' src='../img/common/search.gif' width=18 height=18 border=0 name='Suchen' alt='Suchen'></td></tr></table></td>\n";
	out_text+="<td bgcolor='#940000'><img src='../img/pxclear.gif'></td></form></tr>\n";

	out_text+=row_separator;
	out_text+=white_row_separator;
	out_text+=row_separator;

	out_text+="<tr><td width=2></td>\n";
	out_text+="<td colspan=3 background='../img/common/menu_left_empty.gif' class='left' align='left' valign='top'>\n";
	out_text+="<table cellspacing=0 cellpadding=0 border=0 bgcolor='#940000' background='../img/pxclear.gif' align='left'><tr><td valign='top' background='../img/common/menu_left_empty.gif' align='left' class='left'>\n";
	out_text+="<img src='../img/pxclear.gif' width=9 height=1 border=0></td><td valign='top' class='left'><img src='../img/common/menu_sub_left_off.gif' width=9 height=13 border=0><img src='../img/pxclear.gif' width=2 height=13 border=0></td>\n";
	out_text+="<td><a href=\"../cgi-bin/search.cgi?mode=display\" class='main'>\n";
	out_text+=cv_advanced+"</a></td></tr></table></td>\n";
	out_text+="<td bgcolor='#940000'><img src='../img/pxclear.gif'></td></tr>\n";
	out_text+="\n";
	out_text+="\n";

	out_text+=submenu_footer;
	document.write(out_text);
}

// input: end_main_text[];
function end_main() {
	var out_text="<p><span class=\"small\">\n";
	out_text+="<a class='gray' href=\"javascript:focus();history.back()\">\n";
	out_text+="<img src='../img/common/to_back.gif' width=9 height=9 border=0>&nbsp;"+end_main_text[0]+"</a>&nbsp;";
	out_text+="<img src='../img/pxclear.gif' width=3 height=1 border=0>\n";
	out_text+="<a class='gray' href=\"javascript:focus();self.scroll(0,0)\">\n";
	out_text+="<img src='../img/common/to_top.gif' width=9 height=9 border=0>&nbsp;"+end_main_text[1]+"</a>&nbsp;";
	out_text+="<img src='../img/pxclear.gif' width=3 height=1 border=0>\n<a class='gray' href=\"../cgi-bin/index.cgi?page=timesystem/home"+lang_text+".html\">\n";
	out_text+="<img src='../img/common/home.gif' width=9 height=9 border=0>&nbsp;"+end_main_text[2]+"</a>&nbsp;";
	out_text+="</span></td></tr><tr><td height=\"15\"></td></tr></table></td>";
	document.write(out_text);
}

function popup_nl(){
popup_window=window.open('../html/popup.html','popup_window','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=300');
  popup_window.focus();
}

// input: bnr_title[], bnr_text[], bnr_page[], bnr_pic[], cv_gehe_zu
function display_bnrs() {
	var out_text="";
	for(var i=0;i<bnr_page.length;i++) {
	  out_text+="<tr><td height=10></td></tr>\n";
	  out_text+="<tr><td width=100%>\n";
		out_text+="<table cellspacing=0 cellpadding=0 border=0 width=100%>\n";
		out_text+="<tr><td width=4><img src=\"../img/pxclear.gif\" width=4 height=1 border=0></td>\n";
		out_text+="<td width=100%><img src=\"../img/pxclear.gif\" width=87 height=1 border=0></td>\n";
		out_text+="<td width=5><img src=\"../img/pxclear.gif\" width=5 height=1 border=0></td>\n";
		out_text+="<td width=7><img src=\"../img/pxclear.gif\" width=7 height=1 border=0></td>\n";
		out_text+="<td width=5><img src=\"../img/pxclear.gif\" width=5 height=1 border=0></td></tr>\n";

		out_text+="<tr><td colspan=2 background=\"../img/common/bnr/bnr_topleft_0.gif\" height=11><img src=\"../img/pxclear.gif\" width=1 height=11 border=0></td>\n";
		out_text+="<td colspan=2 background=\"../img/common/bnr/bnr_topright_0.gif\"><img src=\"../img/pxclear.gif\" width=12 height=11 border=0></td><td></td></tr>\n";

		out_text+="<tr><td background=\"../img/common/bnr/bnr_left_0.gif\"><img src=\"../img/pxclear.gif\" width=4 height=1 border=0></td>\n";
		out_text+="<td colspan=2 background=\"../img/common/bnr/bnr_middle_0.gif\" valign=\"top\" align=\"center\" class=\"center\"><span class=\"bnr\"><span class='white'><b>"+bnr_title[i]+"</b></span></span><br class=\"small\"><br class=\"small\"></td>\n";
		out_text+="<td background=\"../img/common/bnr/bnr_right_0.gif\"><img src=\"../img/pxclear.gif\" width=7 height=1 border=0></td><td></td></tr>\n";

		out_text+="<tr><td background=\"../img/common/bnr/bnr_whiteleft.gif\"><img src=\"../img/pxclear.gif\" width=4 height=2 border=0></td>\n";
		out_text+="<td colspan=2 bgcolor=\"#ffffff\" valign=\"top\" align=\"center\" class=\"center\"><img src='../img/pxclear.gif' border=0 class='black'></td>\n";
		out_text+="<td background=\"../img/common/bnr/bnr_whiteright.gif\"><img src=\"../img/pxclear.gif\" width=7 height=1 border=0></td><td></td></tr>\n";

		out_text+="<tr><td background=\"../img/common/bnr/bnr_left.gif\"><img src=\"../img/pxclear.gif\" width=4 height=4 border=0></td><td colspan=2 bgcolor=\"#eeeeee\" valign=\"top\" align=\"center\" class=\"center\"><img src='../img/pxclear.gif' border=0 class='black'></td>\n";
		out_text+="<td background=\"../img/common/bnr/bnr_right.gif\"><img src=\"../img/pxclear.gif\" width=7 height=1 border=0></td><td></td></tr>\n";
		var my_pic_location="news/bnr/"+bnr_pic[i];
		if(bnr_page[i].search(/\monatsangebot/i) != -1){
			my_pic_location="shop/"+bnr_pic[i];
		}
		out_text+="<tr><td background=\"../img/common/bnr/bnr_left.gif\"><img src=\"../img/pxclear.gif\" width=4 height=1 border=0></td>\n<td colspan=2 bgcolor=\"#eeeeee\" valign=\"top\" align=\"center\" class=\"center\"><a href=\""+bnr_page[i]+"\"";
		if (bnr_page[i].toString().indexOf("leave.cgi")!=-1) out_text+=" target=\"_blank\"";
		out_text+="><img src='../img/"+my_pic_location+"' border=1 class='black'></a></td>";
		out_text+="<td background=\"../img/common/bnr/bnr_right.gif\"><img src=\"../img/pxclear.gif\" width=7 height=1 border=0></td><td></td></tr>\n";

		out_text+="<tr><td background=\"../img/common/bnr/bnr_left.gif\"><img src=\"../img/pxclear.gif\" width=4 height=4 border=0></td>\n";
		out_text+="<td colspan=2 bgcolor=\"#eeeeee\" valign=\"top\" align=\"center\" class=\"center\"><img src='../img/pxclear.gif' border=0 class='black'></td>\n";
		out_text+="<td background=\"../img/common/bnr/bnr_right.gif\"><img src=\"../img/pxclear.gif\" width=7 height=1 border=0></td><td></td></tr>\n";

		out_text+="<tr><td background=\"../img/common/bnr/bnr_left.gif\"><img src=\"../img/pxclear.gif\" width=4 height=1 border=0></td>\n";
		out_text+="<td colspan=2 bgcolor=\"#eeeeee\" valign=\"top\" align=\"center\" class=\"center\"><span class=\"bnr\">"+bnr_text[i]+"</span></td>\n";
		out_text+="<td background=\"../img/common/bnr/bnr_right.gif\"><img src=\"../img/pxclear.gif\" width=7 height=1 border=0></td><td></td></tr>\n";

		out_text+="<tr><td background=\"../img/common/bnr/bnr_left.gif\"><img src=\"../img/pxclear.gif\" width=4 height=1 border=0></td>\n";
		out_text+="<td colspan=2 bgcolor=\"#eeeeee\" valign=\"top\" align=\"center\" class=\"left\" height=3><img src=\"../img/pxclear.gif\"></td>\n";
		out_text+="<td background=\"../img/common/bnr/bnr_right.gif\"><img src=\"../img/pxclear.gif\" width=7 height=1 border=0></td><td></td></tr>\n";

		out_text+="<tr><td background=\"../img/common/bnr/bnr_left.gif\"><img src=\"../img/pxclear.gif\" width=4 height=1 border=0></td>\n";
		out_text+="<td colspan=2 bgcolor=\"#eeeeee\" valign=\"top\" align=\"right\" class=\"right\"><a href=\""+bnr_page[i]+"\"";
		if (bnr_page[i].toString().indexOf("leave.cgi")!=-1) out_text+=" target=\"_blank\"";
		out_text+="><span class=\"small\"><b>"+cv_gehe_zu+"</b></span></a></td>\n";
		out_text+="<td background=\"../img/common/bnr/bnr_right.gif\"><img src=\"../img/pxclear.gif\" width=7 height=1 border=0></td><td></td></tr>\n";

		out_text+="<tr><td colspan=3 background=\"../img/common/bnr/bnr_bottomleft.gif\" height=11 valign=\"top\" align=\"center\" class=\"center\"><img src=\"../img/pxclear.gif\" width=1 height=border=0></td>\n";
		out_text+="<td background=\"../img/common/bnr/bnr_bottomright.gif\"><img src=\"../img/pxclear.gif\" width=7 height=1 border=0></td><td></td></tr>\n";
		out_text+="</table></td></tr>\n";
	}
	document.write(out_text);
}

function SendMail (name, email) {
	mailwindow=window.open("../cgi-bin/leave.cgi?name="+name+"&url=mailto:"+email,"mailwindow","toolbar=no,location=no,diretories=no,scrollbars=no,status=no,menubar=no,resizable=no,top=50,left=50,height=50,width=50");
}

function open_new_window(address){
	new_window=window.open(address);
}
