<!--
// Indien niet de hoofdpagina is opgeroepen, verzorgt deze functie
// ervoor dat de hoofdpagina wel wordt opgeroepen.
function AlwaysMain() {
	if (top == self) self.location.href = "index.html"; 
}

function Main_Recl() {
	GenerateMain('R1');
}

function Main_Illu() {
	GenerateMain('I1');
}

function Main_Styl() {
	GenerateMain('S1');
}

function Main_Arts() {
	GenerateMain('A1');
}

// Verzorgt de sturing op het main scherm
function GenerateMain(strItem) {

	var strText = '<html>';
	strText += '<head>';
	strText += '<title>Bizart ontwerpbureau met eigen stijl en visie</title>';
	strText += '<style>td{color:#FFFFFF; font-family:tahoma; font-size:15px;font-weight:bold}</style>';
	strText += '</head>';
	strText += '<BODY BGCOLOR="#2D0247" background=../img/bg_midden.jpg bgproperties=fixed marginwidth=0 marginheight=0 topmargin=0 leftmargin=0>';
	strText += '<table cellpadding=0 cellspacing=0 border=0 width=595 height=72>';
	strText += '<tr><td>';

	if (strItem.charAt(0) == 'R') strText += '<IMG SRC="../img/reclame_nl.gif">';
	if (strItem.charAt(0) == 'I') strText += '<IMG SRC="../img/illustraties_nl.gif">';
	if (strItem.charAt(0) == 'S') strText += '<IMG SRC="../img/styling.gif">';
	if (strItem.charAt(0) == 'A') strText += '<IMG SRC="../img/art.gif">';

	strText += '</td></tr>';
	strText += '</table>';
	strText += '<table cellpadding=2 cellspacing=0 border=0 width=595 height=275>';
	strText += '<tr>';
	strText += '<td width=60><BR></td>';
	strText += '<td align=left width=285>';

	if (strItem.charAt(0) == 'R') strText = GenerateRecl(strText,strItem);
	if (strItem.charAt(0) == 'I') strText = GenerateIllu(strText,strItem);
	if (strItem.charAt(0) == 'S') strText = GenerateStyl(strText,strItem);
	if (strItem.charAt(0) == 'A') strText = GenerateArts(strText,strItem);

	strText += '</td>';
	strText += '</tr>';
	strText += '</table>';
	strText += '</div>';
	strText += '</body>';
	strText += '</html>';

	// Daadwerkelijk schrijven van nieuwe pagina..
	top.main.document.open();
	top.main.document.clear();
	top.main.document.write(strText);
	top.main.document.close();
}

// Verzorgt de sturing op het Reclame scherm
function GenerateRecl(strText,strItem) {

	switch(strItem) {
	 	case 'R1': strText += '<img src=../img/recl_a1.jpg border=0>'; break;
		case 'R2': strText += '<img src=../img/recl_b1.jpg border=0>'; break;
		case 'R3': strText += '<img src=../img/recl_c1.jpg border=0>'; break;
		case 'R4': strText += '<img src=../img/recl_d1.jpg border=0>'; break;
		case 'R5': strText += '<img src=../img/recl_e1.jpg border=0>'; break;
	}
	strText += '</td>';
	strText += '<td>';

	strText += 'DYNAMISCHE DOORBRAAK<BR><BR>CONCEPTEN EN ONTWERPEN<BR>VOOR EEN STIJLVOLLE<BR>';
	strText += 'BINNENKOMST BIJ<BR>TOEKOMSTIGE RELATIES<BR><BR>';

	switch(strItem) {
		case 'R1': strText += 'THEMA KALENDER<BR>'; break;
		case 'R2': strText += 'BRIEFPAPIER<BR>'; break;
		case 'R3': strText += 'INFORMATIEZUIL<BR>'; break;
		case 'R4': strText += 'PUBERKAART<BR>"ALLES IS VET"<BR>'; break;
		case 'R5': strText += 'VERHUISKAARTILLUSTRATIE<BR>'; break;
	}
	return strText;
}


// Verzorgt de sturing op het Illustratie scherm
function GenerateIllu(strText,strItem) {
 
	switch(strItem) {
		case 'I1': strText += '<img src=../img/illus_a1.jpg border=0>'; break;
		case 'I2': strText += '<img src=../img/illus_b1.jpg border=0>'; break;
		case 'I3': strText += '<img src=../img/illus_c1.jpg border=0>'; break;
		case 'I4': strText += '<img src=../img/illus_d1.jpg border=0>'; break;
		case 'I5': strText += '<img src=../img/illus_e1.jpg border=0>'; break;
	}
	strText += '</td>';
	strText += '<td>';

	strText += 'UIT EEN ANDERE<BR>WERELD<BR><BR>';
	strText += 'ONDERSTEUNENDE<BR>ILLUSTRATIES VOOR<BR>';
	strText += 'UW VERHAAL GEVEN<BR>ER EEN EXTRA<BR>DIMENSIE AAN<BR><BR>';

	switch(strItem) {
		case 'I1': strText += 'ILLUSTRATIE<BR>VOOR EEN CD-HOES<BR>'; break;
		case 'I2': strText += 'GEBOORTEKAART<BR>'; break;
		case 'I3': strText += 'KINDERBOEK<BR>"HET HUIS AAN HET MEER"<BR>'; break;
		case 'I4': strText += 'KLASSIEKE ILLUSTRATIE<BR>GESCHILDERD MET<BR>KRUIDEN, KOFFIE<BR>EN THEE<BR>'; break;
		case 'I5': strText += 'ILLUSTRATIE<BR>"INSPIRED BY DALI"<BR>'; break;
	}
	return strText;
}

// Verzorgt de sturing op het Style scherm
function GenerateStyl(strText,strItem) {

	switch(strItem) {
		case 'S1': strText += '<img src=../img/style_a1.jpg border=0>'; break;
		case 'S2': strText += '<img src=../img/style_b1.jpg border=0>'; break;
		case 'S3': strText += '<img src=../img/style_c1.jpg border=0>'; break;
		case 'S4': strText += '<img src=../img/style_d1.jpg border=0>'; break;
		case 'S5': strText += '<img src=../img/style_e1.jpg border=0>'; break;
	}
	strText += '</td>';
	strText += '<td>';

	strText += 'DE DERDE DIMENSIE<BR><BR>IMAGEBEPALENDE<BR>TOTAALINRICHTING<BR>';
	strText += 'VOOR KANTOOR<BR>OF BEDRIJFSRUIMTE<BR><BR>LAAT DE RUIMTE SPREKEN<BR><BR>';

	switch(strItem) {
		case 'S1': strText += 'LAMP VAN 9M<BR>'; break;
		case 'S2': strText += 'GANGKAST<BR>'; break;
		case 'S3': strText += 'STREETSOFA<BR>'; break;
		case 'S4': strText += 'KUNSTZINNIGE<BR>STRAATVERLICHTING<BR>'; break;
		case 'S5': strText += 'VERLICHTING IN<BR>HISTORISCH GEBOUW<BR>'; break;
	}
	return strText;
}

// Verzorgt de sturing op het Art scherm
function GenerateArts(strText,strItem) {

	switch(strItem) {
		case 'A1': strText += '<img src=../img/art_a1.jpg border=0>'; break;
		case 'A2': strText += '<img src=../img/art_b1.jpg border=0>'; break;
		case 'A3': strText += '<img src=../img/art_c1.jpg border=0>'; break;
		case 'A4': strText += '<img src=../img/art_d1.jpg border=0>'; break;
		case 'A5': strText += '<img src=../img/art_e1.jpg border=0>'; break;
	}
	strText += '</td>';
	strText += '<td>';

	strText += 'DE GROTE<BR>VERWONDERING<BR><BR>SPECIAAL<BR>ONTWORPEN<BR>';
	strText += 'KUNST VOOR<BR>EEN BEDRIJF OF<BR>EVENEMENT BIEDT<BR>';
	strText += 'EEN ANDERE BLIK<BR>OP DE EIGEN<BR>ORGANISATIE<BR><BR>';

	switch(strItem) {
		case 'A1': strText += 'TRANSPARANT<BR>ART 3 X 3M<BR>'; break;
		case 'A2': strText += 'COMMERCIEEL SCHILDERIJ<BR>GEMENGDE TECHNIEKEN<BR>'; break;
		case 'A3': strText += 'KUNST OP GLAS<BR>'; break;
		case 'A4': strText += 'COMMERCIËLE KUNST<BR>'; break;
		case 'A5': strText += 'ZEEPAARD<BR>TRANSPARANT<BR>'; break;
	}
	return strText;
}
//-->

