
function make_border_start()
{
	document.write("<br>");
	document.write("<table width='600' cellpadding='10' style='border-width:1px; border-style:solid; border-color:#999999;'>");
	document.write("<tr>");
	document.write("<td valign='top'>");
}

function make_border_end()
{
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
}

function make_footer()
{
	document.write("<br><br>");
	document.write("<table width='100%' cellpadding='1' cellspacing='0'>");
	document.write("<tr>");
	document.write("<td class='footer1'>");
	document.write("Änderungen - bedingt durch Weiterentwicklung oder Neukonstruktion - vorbehalten.</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td height='1' bgcolor='#000000'></td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td class='footer2'>");
	document.write("&copy; 2004 Hermann Weisenstein - Automation- und Fördertechnik<br>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td class='footer'>");
	document.write("<img src='../../images/logo.gif' alt='' align='right'>");
	document.write("Römerweg 8" + "<br>");
	document.write("D-66453 Gersheim-Reinheim" + "<br>");
	document.write("Tel. +49 (0) 68 43 - 82 43" + "<br>");
	document.write("Fax +49 (0) 68 43 - 3 85");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
}

function make_title(Title1, Title2)
{
	document.write("<table cellpadding='0' cellspacing='0' width='100%'>");
	document.write("<tr><td class='contenttitle'>");
	document.write(Title1);
	document.write("</td><td valign='top'>");
	document.write("<a onclick='window.print();'>");
	document.write("<img src='../../images/print.gif' alt='Diese Seite Drucken' border='0' align='right'>");
	document.write("</a>");
	document.write("</td></tr>");
	if(Title2 != "") {
		document.write("<tr><td class='contentdescription'>");
		document.write(Title2);
		document.write("</td></tr>");
	}
	document.write("</table>");
}

function open_html(ImageHTML)
{
	F1 = window.open(ImageHTML,"Image","resizable=yes,scrollbars=yes,top=0");
	F1.focus();
}

function make_image(Image1, Image2, ImageHTML)
{
	var path = "../../drawings/";
	document.write("<br>");

	document.write("<table style='cursor:pointer;' ");
	if(ImageHTML != "")
		document.write("onclick=\"open_html('" + ImageHTML + "')\" ");
	document.write("cellpadding='0' cellspacing='0' width='100%'>");
	document.write("<tr><td>");
	if(Image1 != "") 
		document.write("<img src='" + path + Image1 + "' alt=''>");
	document.write("</td><td>");
	if(Image2 != "") 
		document.write("<img src='" + path  + Image2 + "' alt=''>");
	document.write("</td></tr>");
	document.write("</table>");
}

function make_image1(Image1, ImageHTML)
{
	var path = "../../drawings/";
	document.write("<br>");

	document.write("<table style='cursor:pointer;' ");
	if(ImageHTML != "")
		document.write("onclick=\"open_html('" + ImageHTML + "')\" ");
	document.write("cellpadding='0' cellspacing='0' width='100%'>");
	document.write("<tr><td align='center'>");
	if(Image1 != "") 
		document.write("<img src='" + path + Image1 + "' alt=''>");
	document.write("</tr>");
	document.write("</table>");
}

function make_image3(Image1, Image2, Image3, ImageHTML)
{
	var path = "../../drawings/";
	document.write("<br>");
	document.write("<table style='cursor:pointer;' ");
	if(ImageHTML != "")
		document.write("onclick=\"open_html('" + ImageHTML + "')\" ");
	document.write("cellpadding='0' cellspacing='0' width='100%'>");
	document.write("<tr><td>");
	if(Image1 != "") 
		document.write("<img src='" + path + Image1 + "' alt=''>");
	document.write("</td><td>");
	if(Image2 != "") 
		document.write("<img src='" + path  + Image2 + "' alt=''>");
	document.write("</td><td>");
	if(Image3 != "") 
		document.write("<img src='" + path  + Image3 + "' alt=''>");
	document.write("</td></tr>");
	document.write("</table>");
}

function make_image_scharnierband(ImageHTML)
{
	var path = "../../drawings/";
	document.write("<br>");
	document.write("<table style='cursor:pointer;' ");
	if(ImageHTML != "")
		document.write("onclick=\"open_html('" + ImageHTML + "')\" ");
	document.write("cellpadding='0' cellspacing='0' width='100%'>");
	document.write("<tr><td rowspan='2'>");
	document.write("<img src='" + path  + "sf_a1.gif" + "' alt=''>");
	document.write("</td><td valign='bottom'>");
	document.write("<img src='" + path  + "sf_a3.gif" + "' alt='Antriebslage'>");
	document.write("</td></tr>");

	document.write("<tr><td rowspan='2' valign='bottom'>");
	document.write("<br><img src='" + path  + "sf_a5.gif" + "' alt='Schnitt A-A'>");
	document.write("</td></tr>");

	document.write("<tr><td rowspan='2'>");
	document.write("<img src='" + path  + "sf_a2.gif" + "' alt=''>");
	document.write("</td>");
	document.write("</tr>");

	document.write("<tr><td valign='bottom'>");
	document.write("<img src='" + path  + "sf_a3.gif" + "' alt='Motorlage'>");
	document.write("</td></tr>");

	document.write("</table>");
}
