
function csomopont(title,nev,gsmnev) {

		mszel= window.screen.width;
		mmag= window.screen.height;
		szel = mszel - 30;
		mag = mmag - 70;
		xpos = 10;
		ypos = 10;
		tablex= szel-20;
		cx = tablex - 80;
		cy = mag - 100;

		cspont=window.open('','_blank','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,width='+szel+',height='+mag+',left='+xpos+',top='+ypos+',screenx='+xpos+',screeny='+ypos+',resizable=0');

		cspont.document.writeln('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">');
		cspont.document.writeln('<html>');
		cspont.document.writeln('<head>');
		cspont.document.writeln('<title>Rigips csomópont:  ' + title + '  --  ' + nev + '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</title>');
		cspont.document.writeln('<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">');
		cspont.document.writeln('<LINK REL="stylesheet" HREF="../../../styles/basic.css">');
		cspont.document.writeln('<LINK REL="stylesheet" HREF="../../../styles/termek.css">');
		cspont.document.writeln('</head>');
		cspont.document.writeln('');
		cspont.document.writeln('<body marginwidth="0" marginheight="0">');
		cspont.document.writeln('');
		cspont.document.writeln('<script language="javascript" src= "gdl/htmls/communicator.js">');
		cspont.document.writeln('</script>');
		cspont.document.writeln('');
		cspont.document.writeln('<script language="javascript">');
		cspont.document.writeln('');
		cspont.document.writeln('Init ("cspont", "");');
		cspont.document.writeln('');
		cspont.document.writeln('function ViewModes (mode)');
		cspont.document.writeln('{');
		cspont.document.writeln('Plugin_JavaCommand ("UI_MODE", mode);');
		cspont.document.writeln('}');
		cspont.document.writeln('');
		cspont.document.writeln('function ParamSettings ()');
		cspont.document.writeln('{');
		cspont.document.writeln('Plugin_JavaCommand ("MenuCommand", "ParameterSettings");');
		cspont.document.writeln('return false;');
		cspont.document.writeln('}');
		cspont.document.writeln('');
		cspont.document.writeln('</SCRIPT>');
		cspont.document.writeln('');
		cspont.document.writeln('<div class="FrontHeadings">');
		cspont.document.writeln('<form name="showType">');
		cspont.document.writeln('<table class="noBorder" width="' + tablex + '" cellpadding="0" cellspacing="0">');
		cspont.document.writeln('<tr>');
		cspont.document.writeln('<td class="noBorder" width="25">&nbsp;</td>');
		cspont.document.writeln('<td class="noBorder">');
		cspont.document.writeln('<div class="Left">');
		cspont.document.writeln('<h3>' + nev + '</h3>');
		cspont.document.writeln('</div>');
		cspont.document.writeln('<td class="noBorder">');
		cspont.document.writeln('</tr>');
		cspont.document.writeln('<tr>');
		cspont.document.writeln('<td class="noBorder" width="25">&nbsp;</td>');
		cspont.document.writeln('<td class="noBorder" valign="top">');
		cspont.document.writeln('<object class="object" ID = "GeneralView" CLASSID="CLSID:64D9B72C-E42A-490e-9181-221E1E035A14"');
		cspont.document.writeln('WIDTH="' + cx + '" HEIGHT="' + cy + '">');
		cspont.document.writeln('<param NAME="Src" VALUE="gdl/rigips.lib/' + gsmnev + '.gsm">');
		cspont.document.writeln('<param NAME="GdlListTxt" VALUE="../../GDLList.txt">');
		cspont.document.writeln('<param NAME="MasterGDL" VALUE="../../Master.gdl">');
		cspont.document.writeln('<param NAME="showType" VALUE="Drawing2D">');
		cspont.document.writeln('<param NAME="SkyColor" VALUE="#F7FAFD">');
		cspont.document.writeln('<param NAME="EarthColor" VALUE="#F7FAFD">');
		cspont.document.writeln('<param NAME="DisableMenus" VALUE="#6007A0">');
		cspont.document.writeln('<param NAME="Logo" VALUE="false">');
		cspont.document.writeln('<param NAME="SIMILAR" VALUE="YES">');
		cspont.document.writeln('<embed name=GeneralView src="../gdl/rigips.lib/' + gsmnev + '.gsm" width="' + cx + '" height="' + cy + '" MasterGdl="../../Master.gdl" GdlListTxt="../../GDLList.txt" PLUGINSPAGE="" ');
		cspont.document.writeln('DisableMenus="#6007A0" showtype="Drawing2D" Similar="YES" type="model/vnd.gs-gdl">');
		cspont.document.writeln('</object>');
		cspont.document.writeln('</td>');
		cspont.document.writeln('<td class="noBorder" width="15">&nbsp;</td>');
		cspont.document.writeln('<td class="noBorder" valign="top">');
		cspont.document.writeln('<table class="noBorder" width="40" cellpadding="0" cellspacing="0">');
		cspont.document.writeln('<tr>');
		cspont.document.writeln('<td class="noBorder" align="center" height="46" valign="middle">');
		cspont.document.writeln('<a href="javascript:" onclick="ParamSettings ();" >');
		cspont.document.writeln('<img src="gdl/htmls/picts/settings.jpg" alt="Paraméter beállítások" border="0" align="absmiddle"></a>');
		cspont.document.writeln('</td>');
		cspont.document.writeln('</tr>');
		cspont.document.writeln('<tr>');
		cspont.document.writeln('<td class="noBorder" align="center" height="46" valign="middle">');
		cspont.document.writeln('<a href="javascript:" onclick="Plugin_JavaCommand (\'MenuCommand\', \'SaveObject\'); return false;" >');
		cspont.document.writeln('<img src="gdl/htmls/picts/save.jpg" alt="Rajz mentése" border=0 align=absmiddle></a>');
		cspont.document.writeln('</td>');
		cspont.document.writeln('</tr>');
		cspont.document.writeln('<tr>');
		cspont.document.writeln('<td class="noBorder" align="center" height="42" valign="middle">');
		cspont.document.writeln('<a href="javascript:ViewModes (\'ZOOM_IN_MODE\');">');
		cspont.document.writeln('<img src="gdl/htmls/picts/zoomin.jpg" alt="Nagyítsd" border=0 align=absmiddle></a>');
		cspont.document.writeln('</td>');
		cspont.document.writeln('</tr>');
		cspont.document.writeln('<tr>');
		cspont.document.writeln('<td class="noBorder" align="center" height="42" valign="middle">');
		cspont.document.writeln('<a href="javascript:ViewModes (\'ZOOM_OUT_MODE\');">');
		cspont.document.writeln('<img src="gdl/htmls/picts/zoomout.jpg" alt="Kicsinyítsd" border=0 align=absmiddle></a>');
		cspont.document.writeln('</td>');
		cspont.document.writeln('</tr>');
		cspont.document.writeln('<tr>');
		cspont.document.writeln('<td class="noBorder" align="center" height="42" valign="middle">');
		cspont.document.writeln('<a href="javascript:ViewModes (\'PAN_MODE\');">');
		cspont.document.writeln('<img src="gdl/htmls/picts/pan.jpg" alt="Told el" border=0 align=absmiddle></a>');
		cspont.document.writeln('</td>');
		cspont.document.writeln('</tr>');
		cspont.document.writeln('<tr>');
		cspont.document.writeln('<td class="noBorder" align="center" height="42" valign="middle">');
		cspont.document.writeln('<a href="javascript:ViewModes (\'FIT_IN_MODE\');">');
		cspont.document.writeln('<img src="gdl/htmls/picts/fitin.jpg" alt="Mindent mutass" border=0 align=absmiddle></a>');
		cspont.document.writeln('</td>');
		cspont.document.writeln('</tr>');
		cspont.document.writeln('<tr>');
		cspont.document.writeln('<td class="noBorder" align="center" height="46" valign="middle">');
		cspont.document.writeln('<a href="javascript:ViewModes (\'RESET_MODE\');">');
		cspont.document.writeln('<img src="gdl/htmls/picts/reset.jpg" alt="Visszaállítás" border=0 align=absmiddle></a>');
		cspont.document.writeln('</td>');
		cspont.document.writeln('</tr>');
		cspont.document.writeln('</table>');
		cspont.document.writeln('</td>');
		cspont.document.writeln('</tr>');
		cspont.document.writeln('</table>');
		cspont.document.writeln('</form>');
		cspont.document.writeln('');
		cspont.document.writeln('</body>');
		cspont.document.writeln('</html>');
		cspont.document.writeln('');
		cspont.document.close();

}



