/*
	STRUCTURE_FNC.js
	
	Author: Maurits van Mastrigt
	Date: 04-27-2008
	This file contains the structure functions of EBCL.nl
*/

function writeHeader()
{
	/* Banner */
	var header = '<table align="center" width="762" border="0" cellspacing="0" cellpadding="0">\
					<tr>\
						<td width="255"><img src="img/banner_links.jpg" width="255" height="121"></td>\
						\
						<td width="255">\
							<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="255" height="121">\
								<param name="movie" value="swf/banner_logo.swf">\
								<param name="quality" value="high">\
								<embed src="http://www.ebcl.nl/swf/banner_logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="255" height="121" menu=false />\
							</object>\
						</td>\
						\
						<td width="252"><img src="img/banner_rechts.jpg" width="252" height="121"></td>\
						\
					</tr>\
					<tr>\
						<td colspan="3" style="padding:5px;color:white;font-family:arial;"><marquee direction="left" onmouseover="this.stop();" onmouseout="this.start();">\
						<a style="color:white;text-decoration:underline;" href="pdf/Associate degree in twee jaar.pdf" target="_blank">Associate degree - in twee jaar een diploma op hbo-niveau</a>\
						<!--<a style="color:white;text-decoration:underline;" href="pdf/05-27-11 leerdoelen EBCL Junior.pdf" target="_blank">EBCL komt met EBCL junior voor VMBO. Leerdoelencatalogus EBCL junior hier downloaden.</a>\
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\
						<a style="color:white;text-decoration:underline;" href="persbericht-deltion-college.htm">Klik hier voor het persbericht over het EBC*L examen op het Deltion College!</a>-->\
						<!--EBC*L internationaal erkend certificaat voor bedrijfsvoering&nbsp;&nbsp;&nbsp;---&nbsp;&nbsp;&nbsp;EBC*L aanbieden? 06&minus;47759417 of <a style="color:white;text-decoration:underline;" href="mailto:Office@ebcl.nl">E-contact</a>-->\
						<!--<a style="color:white;text-decoration:underline;" href="pdf/Nieuwsbrief%20aug2010.pdf" target="_blank">Klik hier voor de nieuwsbrief van augustus 2010</a>-->\
						<!--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\
						<a style="color:white;text-decoration:underline;" href="http://www.ebcl.eu/ChampionsLeague/Champions_League_nl_2010/index.htm" target="_blank">Klik hier en doe mee aan de Europese EBC*L wedstrijd: kennis over ondernemerschap!</a>-->\
						</marquee></td>\
					</tr>\
				</table>';

	document.write(header);
}

function writeMenu()
{
	/* Menu */
	var menu = '<table align="center" cellspacing="0" cellpadding="0" id="menu1" class="ddm1">\
			<tr>\
				<td>\
				\
					<a class="item1" href="index.htm">EBC*L</a>\
                        \
     				<a class="item1" href="leerdoelen-cursussen.htm">Cursussen</a>\
						<div class="section">\
							<a class="item2" href="leerdoelen-e-learning.htm">E-learning</a>\
						</div>\
						\
					<a class="item1" href="index.htm">Certificaat</a>\
						<div class="section">\
							<a class="item2" href="certificaat-oorsprong.htm">Oorsprong</a>\
							<a class="item2" href="certificaat-doelstellingen.htm">Doelstellingen</a>\
							<a class="item2" href="certificaat-standaard.htm">De standaard</a>\
							<a class="item2" href="certificaat-niveaus.htm">Niveau&rsquo;s</a>\
							<a class="item2" href="certificaat-voordelen.htm">Voordelen</a>\
						</div>\
						\
					<a class="item1" href="#" style="cursor: default;">Leerdoelen</a>\
						<div class="section">\
							<a class="item2" href="pdf/05-27-11%20leerdoelen%20EBCL%20Junior.pdf" target="_blank">Junior</a>\
							<a class="item2" href="pdf/Leerdoelen EBCL niveau A.pdf" target="_blank">Niveau A (NL)</a>\
                            <a class="item2" href="pdf/Leerdoelen EBCL niveau B.pdf" target="_blank">Niveau B (NL)</a>\
                            <!--<a class="item2" href="#">Niveau C (NL)</a>-->\
							<a class="item2" href="pdf/EBCL Learning Targets Level A.pdf" target="_blank">Level A (EN)</a>\
							<a class="item2" href="pdf/EBCL Learning Targets Level B.pdf" target="_blank">Level B (EN)</a>\
							<!--<a class="item2" href="#">Level C (EN)</a>-->\
						</div>\
						\
					<a class="item1" href="#" style="cursor: default;">Examinering</a>\
						<div class="section">\
							<a class="item2" href="examinering-voorbereiding.htm">Voorbereiding</a>\
							<a class="item2" href="examinering-examen.htm">Examen</a>\
						</div>\
						\
					<a class="item1" href="#" style="cursor: default;">Examenkandidaten</a>\
						<div class="section">\
							<a class="item2" href="kandidaten-introductie.htm">Introductie</a>\
							<a class="item2" href="kandidaten-particulieren.htm">Particulieren</a>\
							<a class="item2" href="kandidaten-bedrijven.htm">Bedrijven</a>\
						</div>\
						\
					<a class="item1" href="#" style="cursor: default;">Opleidingscentrum worden</a>\
						<div class="section">\
							<a class="item2" href="examencentrum-trainingsinstituten.htm">Trainingsinstituten</a>\
							<a class="item2" href="kandidaten-bedrijven.htm">Bedrijven</a>\
							<a class="item2" href="examencentrum-scholen.htm">Scholen</a>\
							<a class="item2" href="examencentrum-hogeronderwijs.htm">Hoger Onderwijs</a>\
							<a class="item2" href="examencentrum-accreditatie.htm">Accreditatieprocedure</a>\
							<a class="item2" href="examencentrum-kosten-opleidingscentrum.htm">Kosten opleidingscentrum</a>\
							<a class="item2" href="examencentrum-formulier.php">Aanvraagformulier EC</a>\
						</div>\
						\
					<a class="item1" href="#" style="cursor: default;">EBC*L Trainer</a>\
						<div class="section">\
							<a class="item2" href="trainers-trainersendocenten.htm">Trainers en docenten</a>\
						</div>\
						\
					<a class="item1" href="tarieven.htm">Tarieven</a>\
						\
					<a class="item1" href="vragen.htm">Vragen (FAQ)</a>\
						\
					<a class="item1" href="#" style="cursor: default;">Nieuwsbrieven</a>\
						<div class="section">\
							<a class="item2" href="pdf/Nieuwsbrief jun2009.pdf" target="_blank">2009 - Juni</a>\
							<a class="item2" href="pdf/Nieuwsbrief dec2009.pdf" target="_blank">2009 - December</a>\
							<a class="item2" href="pdf/Nieuwsbrief mar2010.pdf" target="_blank">2010 - Maart</a>\
							<a class="item2" href="pdf/Nieuwsbrief jul2010.pdf" target="_blank">2010 - Juli</a>\
							<a class="item2" href="pdf/Nieuwsbrief aug2010.pdf" target="_blank">2010 - Augustus</a>\
						</div>\
						\
					<a class="item1" href="#" style="cursor: default;">Organisatie</a>\
						<div class="section">\
                            <a class="item2" href="ebclnederland.htm">EBC*L Nederland</a>\
							<a class="item2" href="organisatie.htm">EBC*L netwerk</a>\
							<a class="item2" href="http://www.ebcl.eu" target="_blank">EBC*L international</a>\
							<a class="item2" href="organisatie-vacatures.htm">Vacatures</a>\
						</div>\
						\
					<a class="item1" href="#" style="cursor: default;">Downloads</a>\
						<div class="section">\
							<a class="item2" href="pdf/Oreillon folder.pdf" target="_blank">Folder EBC*L</a>\
							<a class="item2" href="ppt/12-05-11 algemene totale presentatie EBCL.pptx" target="_blank">EBC*L presentatie</a>\
						</div>\
						\
					<a class="item1" href="opleidingscentra.htm">Opleidingscentra</a>\
					\
					<a class="item1" href="organisaties.htm">Organisaties</a>\
					\
					<a class="item1" href="pers.htm">Pers</a>\
					\
					<a class="item1" href="#" style="cursor: default;">Winkel</a>\
						<div class="section">\
							<a class="item2" href="winkel-bestelformulier.php">Bestelformulier</a>\
						</div>\
						\
					<a class="item1" href="#" style="cursor: default;">Links</a>\
						<div class="section">\
							<a class="item2" href="https://www.smartboxx.nl/ebcl/" target="_blank">E-learning</a>\
							<a class="item2" href="http://www.ebcl.eu/ChampionsLeague/Champions_League_nl_2010/index.htm" target="_blank">EBC*L Champions League</a>\
						</div>\
						\
					<a class="item1" href="contact.htm">Contact</a>\
						\
					<a class="item1" href="middenstandsdiploma.htm">Middenstandsdiploma</a>\
					\
				</td>\
			</tr>\
			</table>';

	document.write(menu);
}

function writeLeftPanel()
{
	/* Left Panel */
	var leftPanel_start = '<td class="left_panel">';
	
	var leftPanel_end = '</td>';
						/*<br />\
						<a href="ebcl-wedstrijd-informatie.htm" style="text-decoration: none; text-align: center; line-height: 20px; display: block; margin: 5px; padding: 3px; border: 1px solid #AAA; background-color: #CCC;">\
							<span style="color: #A41C30; font-size: 17px;">EBC*L wedstrijd</span><br />\
							<span style="color: #12111F; font-size: 15px;">18 november 2011</span><br /><br />\
							<span style="color: #12111F; font-size: 9px;">Klik hier voor meer informatie</span>\
						</a>'; /*'<br /><center><a href="http://www.ebcl.eu/ChampionsLeague/Champions_League_nl_2010/index.htm" target="_blank">\
						<img src="./images/ebcl_cl.png" alt="EBC*L Champions League" title="EBC*L Champions League" />\
						</a></center>';/*
						<center style="margin-top: 20px;">\
							<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="160" width="160">\
								<param name="movie" value="http://www.ebcl.nl/swf/logo.swf">\
								<param name="quality" value="best">\
								<param name="play" value="true">\
								<embed height="160" pluginspage="http://www.macromedia.com/go/getflashplayer" src="swf/logo.swf" type="application/x-shockwave-flash" width="160" quality="best" play="true" menu=false>\
							</object>\
						</center>\
						\
					</td>';*/
			
	document.write(leftPanel_start);
	writeMenu();
	document.write(leftPanel_end);
}

function writeContent_start()
{
	/* Start of content */
	var content_start = '<td bgcolor="white" width="414" valign="top">\
							<table width="521" border="0" cellpadding="0" cellspacing="0">\
								<tr>\
									\
									<td width="20" height="50%" valign="top" style="background-image: url(&quot;img/leiste_links.gif&quot;); background-position: top; background-repeat: repeat-y; background-color: white" align="center"></td>\
									\
									<td class="content" width="481" height="400" valign="top">';
	
	document.write(content_start);
}

function writeContent_end()
{
	/* End of content */
	var content_end = '</td>\
							<td width="20" valign="top"  style="background-image: url(&quot;img/leiste_rechts.gif&quot;); background-position: top; background-repeat: repeat-y; background-color: white" align="center">\
					</tr>\
				</table>\
			\
			</td>\
			\
			<td valign="top" WIDTH="313" style="background-color: D7D7D7" align="center">\
			</td>';
	
	document.write(content_end);
}

function writeFooter()
{
	/* Footer */
	var footer = '<table align="center" width=763 height=18 BGCOLOR="#660000">\
		<tr height="15">\
			<td width="682" height="24" align="center" valign="middle">\
				<p class="tele">\
					<font color="#ffffff"><strong>EBC*L The Netherlands</strong></font>\
				</p>\
			</td>\
		</tr>\
	</table>\
	\
	<table align="center" width=763 height=18 BGCOLOR="#ffffff" cellspacing="0px" cellpadding="0px" style="margin-bottom: 5px;">\
		<tr height="15">\
			<td width="682" height="18" align="center" valign="middle">\
				<img src="img/left_under.png" id="corner" style="float: left; margin: 0px; padding: 0px;" />\
				<img src="img/right_under.png" id="corner2" style="float: right; margin: 0px; padding: 0px;" />\
				<p class="copy" style="padding-top: 5px;">Copyright &copy; 2010 <font color="#730031"><strong>EBC*L</strong></font> The Netherlands</p>\
			</td>\
		</tr>\
	</table>';
	
	document.write(footer);
}

function writeIEFix()
{
	if (navigator.appName == "Microsoft Internet Explorer")
	{
		document.write('<style type="text/css">.content h1{margin-top: 18px;} .tele, .copy{padding-left: 87px;}</style>');
		document.getElementById('corner').style.display="none";
		document.getElementById('corner2').style.display="none";
	}
}
