function menuNews(){
$("#inhoudDiv").fadeOut('fast');
setTimeout( "menuNewsDeel2();", 300); 
}

function menuPhotos(){
$("#inhoudDiv").fadeOut('fast');
setTimeout( "menuPhotosDeel2();", 300);
}

function menuVideos(){
$("#inhoudDiv").fadeOut('fast');
setTimeout( "menuVideosDeel2();", 300);
}

function menuDownloads(){
$("#inhoudDiv").fadeOut('fast');
setTimeout( "menuDownloadsDeel2();", 300);
}

function menuBio(){
$("#inhoudDiv").fadeOut('fast');
setTimeout("menuBioDeel2();", 300);
}

function menuGastenboek(){
$("#inhoudDiv").fadeOut('fast');
setTimeout( "menuGastenboekDeel2();", 300);
}

function menuContact(){
$("#inhoudDiv").fadeOut('fast');
setTimeout("menuContactDeel2();", 300);

}


function gastenboekPlaatsen(){

$('#divBerichtPlaatsen').slideUp('fast');

$('#zwarteLaag').fadeOut('fast');

$('#divBerichtPlaatsesnZwarteAchtergrond').slideUp('fast');

$("#inhoudDiv").fadeOut('fast');

document.getElementById("inhoudDiv").innerHTML = '<div id="divLaden"><div id="divLadenInhoud"><img src="../images/site/laden.gif"></div></div>';

$("#inhoudDiv").fadeIn('fast');

setTimeout('menuGastenboek();', 4300);

}



function allesLatenZien(){

$("#Table_01").show("fast");
document.getElementById('loader').style.visibility= 'hidden';

}

function banner(){

}


function menuNewsDeel2(){

  // Get iframe name 

   iFrameName = document.getElementById("verborgenIframeNews");
   newHTML = "Opera is dope... maar hier werkt het toch echt niet...";
   
   // Get HTML from iFrame (syntax depends on type of browser

    iFrameName.style.display="block";
	
    if (iFrameName.contentDocument) newHTML = iFrameName.contentDocument.body.innerHTML; // NetScape6 syntax
    if (iFrameName.Document) newHTML = iFrameName.Document.body.innerHTML;     // IE5+

    iFrameName.style.display="none" ;
 

  // Assign iframe HTML to div tag 
/*  document.getElementById("menuNieuwsPlaatje").src = 'images/v3/marock-and-roll-website-v3_mouseover_07.jpg';
  document.getElementById("menuContactPlaatje").src = 'images/v3/marock-and-roll-website-v3_13.jpg';
  document.getElementById("menuBoekingenPlaatje").src = 'images/v3/marock-and-roll-website-v3_12.jpg';
  document.getElementById("menuRecensiesPlaatje").src = 'images/v3/marock-and-roll-website-v3_10.jpg';
  document.getElementById("menuGastenboekPlaatje").src = 'images/v3/marock-and-roll-website-v3_08.jpg';
  document.getElementById("menuBiografiePlaatje").src = 'images/v3/marock-and-roll-website-v3_09.jpg';*/

  document.getElementById("inhoudDiv").innerHTML = newHTML;
$("#inhoudDiv").fadeIn('fast');  

}


function menuPhotosDeel2(){

var inhoudBoekingen = "<iframe id='iframeFotos' src='../fotos/' allowtransparency='true' frameborder='0' scrolling=no width='520px' height='1000px'></iframe>";
document.getElementById('inhoudDiv').innerHTML = inhoudBoekingen;
$("#inhoudDiv").fadeIn('fast'); 

}


function menuVideosDeel2(){

var inhoudBoekingen = "<br><br><img src='../images/site/videosTitel.png'><br><br><br><br>\
<table width='520px'>\
<tr><td width='520px' align='center'>\
<a href='#' onclick='$(\"#divBadplace\").slideDown(\"slow\");$(\"#zwarteLaag\").fadeIn(\"fast\");'><img src='../videos/badplace2.jpg' border='0'></a><br>Bad Place Videoclip<h5>Grey Area & Rakhsh - Camera & edit: Rakhsh</h5>\
<br><br></td></tr>\
<tr><td width='520px' align='center'>\
<a href='#' onclick='$(\"#divBadplaceTrailer\").slideDown(\"slow\");$(\"#zwarteLaag\").fadeIn(\"fast\");'><img src='../videos/preview_badplace_trailer.jpg' border='0'></a><br>Bad Place Trailer<h5>Grey Area & Rakhsh - Camera & edit: Rakhsh</h5>\
<br><br></td></tr>\
<tr><td width='520px' align='center'>\
<a href='#' onclick='$(\"#divOdiumClip\").slideDown(\"slow\");$(\"#zwarteLaag\").fadeIn(\"fast\");'><img src='../videos/preview_odium_clip.jpg' border='0'></a><br>Vergadering - Videoclip<h5>Aura Promo & Grey Area - Camera: Frank Alberti & Rakhsh edit: Rakhsh</h5>\
<br><br></td></tr>\
<tr><td width='520px' align='center'>\
<a href='#' onclick='$(\"#divOdiumTeaser\").slideDown(\"slow\");$(\"#zwarteLaag\").fadeIn(\"fast\");'><img src='../videos/preview_odium_teaser.jpg' border='0'></a><br>Odium Teaser<h5>Aura Promo & Grey Area - Camera: Frank Alberti & Rakhsh edit: Rakhsh</h5>\
<br><br></td></tr>\
<tr><td width='520px' align='center'>\
<a href='#' onclick='$(\"#divABCTherapieClip\").slideDown(\"slow\");$(\"#zwarteLaag\").fadeIn(\"fast\");'><img src='../videos/preview_avi_abctherarie_clip.jpg' border='0'></a><br>ABC Therapie - Videoclip<h5>Camera/edit:Kasper van de Molen & Jesse Simonis</h5>\
<br><br></td></tr>\
</table><br><br><br><br><br><br><br><br>";
document.getElementById('inhoudDiv').innerHTML = inhoudBoekingen;
$("#inhoudDiv").fadeIn('fast'); 


}




function menuDownloadsDeel2(){

var inhoudBoekingen = "<br><br><img src='../images/site/downloadsTitel.png'><br><br><br><br>\
<table width='520px' align='center' cellpadding='0' cellspacing='0' border='0'>\
<tr>\
<td align='center'>\
<a href='../download.php?download=1'><img src='../images/site/odium_thumb.jpg' border='0'></a></td>\
<td align='center'><a href='../download.php?download=2'><img src='../images/site/enter_thumb.jpg' border='0'></a></td>\
</tr>\
<tr>\
<td align='center'><a href='../download.php?download=1'>Odium</a></td>\
<td align='center'>\
<a href='../download.php?download=2'>Enter</a> </td>\
</tr>\
</table>";
document.getElementById('inhoudDiv').innerHTML = inhoudBoekingen;
$("#inhoudDiv").fadeIn('fast'); 

}

/*function menuGastenboekDeel2(){

var inhoudBoekingen = "<br><br><img src='../images/site/guestbookTitel.png'><br><br><br><br>Gastenboek: Coming Soon";
document.getElementById('inhoudDiv').innerHTML = inhoudBoekingen;
$("#inhoudDiv").fadeIn('fast'); 

}*/








function menuGastenboekDeel2(){




   // Get iframe name 
   iFrameName = document.getElementById("verborgenIframeGastenboek");
   newHTML = "TEST";
   
   // Get HTML from iFrame (syntax depends on type of browser
 
    iFrameName.style.display="block";
	
    if (iFrameName.contentDocument) newHTML = iFrameName.contentDocument.body.innerHTML; // NetScape6 syntax
    if (iFrameName.Document) newHTML = iFrameName.Document.body.innerHTML;     // IE5+

    iFrameName.style.display="none" ;
  

  // Assign iframe HTML to div tag 
 /*   document.getElementById("menuNieuwsPlaatje").src = 'images/v3/marock-and-roll-website-v3_07.jpg';
  document.getElementById("menuContactPlaatje").src = 'images/v3/marock-and-roll-website-v3_13.jpg';
  document.getElementById("menuBoekingenPlaatje").src = 'images/v3/marock-and-roll-website-v3_12.jpg';
  document.getElementById("menuRecensiesPlaatje").src = 'images/v3/marock-and-roll-website-v3_10.jpg';
  document.getElementById("menuGastenboekPlaatje").src = 'images/v3/marock-and-roll-website-v3_mouseover_08.jpg';
  document.getElementById("menuBiografiePlaatje").src = 'images/v3/marock-and-roll-website-v3_09.jpg';*/
  document.getElementById("inhoudDiv").innerHTML = newHTML;


$("#inhoudDiv").fadeIn('fast'); 

//document.getElementById('loader').style.visibility= 'hidden'; 
}









function menuBioDeel2(){
var inhoudBiografie = "<br><br><img src='../images/site/bioTitel.png'><br><br>Avi is an MC who raps in English as well as in Dutch. His style is best described as a versatile mix of hip hop and raggamuffin.<br><br>He is known for his collaborations with Keynote Speakerz and Hof van Jaeden, both renowned forces in the Dutch hip hop scene.<br><br>The MC and beat creator checked the mic for the first time in 1995. While broadening his horizons by playing the drums, African drums and bass guitar, Avi also developed his beat creating skills.<br><br>In 2008, Avi released his, Master Surreal produced debut 'Enter' and allowed people on his own desert island for the first time.<br><br>In 2009 he released the album 'Odium'. At the moment Avi is working on some projects which will be released soon.<br>"

//  document.getElementById("menuNieuwsPlaatje").src = 'images/v3/marock-and-roll-website-v3_07.jpg';
  //document.getElementById("menuContactPlaatje").src = 'images/v3/marock-and-roll-website-v3_13.jpg';
 // document.getElementById("menuBoekingenPlaatje").src = 'images/v3/marock-and-roll-website-v3_12.jpg';
 // document.getElementById("menuRecensiesPlaatje").src = 'images/v3/marock-and-roll-website-v3_10.jpg';
 // document.getElementById("menuGastenboekPlaatje").src = 'images/v3/marock-and-roll-website-v3_08.jpg';
 // document.getElementById("menuBiografiePlaatje").src = 'images/v3/marock-and-roll-website-v3_mouseover_09.jpg';

document.getElementById('inhoudDiv').innerHTML = inhoudBiografie;
$("#inhoudDiv").fadeIn('fast'); 
}











function menuRecensies(){

$("#inhoudDiv").fadeOut('fast');
setTimeout("menuRecensiesDeel2();", 300); 
}





function menuFotos(){

document.getElementById("loader2").style.visibility = "visible";
document.getElementById('inhoudZwarteLayer').innerHTML = '<iframe id="verborgenIframeFotos" style="visibility:hidden;" onload="this.style.visibility ='+"'visible'"+ '; document.getElementById('+"'loader2'"+').style.visibility ='+"'hidden';"+ '"src="http://www.jasperbel.nl/fotografie/portfolioN" allowtransparency="true" frameborder="0" width="950px" scrolling="no" height="594px"></iframe>'; 
$("#zwarteLayerKliko").show("fast");
}

function verbergen(){
$("#zwarteLayerKliko").hide("fast");
$("#divCommentFormulier").hide("fast");
document.getElementById("loader2").style.visibility = "hidden";
document.getElementById('inhoudZwarteLayer').innerHTML ="";
}






function menuContactDeel2(){

var inhoudContact = "<div id='centreren_in_main'>\
<br><br><img src='../images/site/contactTitel.png'><br><br><form name='form1' action='../forms/contact.php' method='post' target='iframeVerborgenContact' onsubmit='document.getElementById('iframeVerborgenContact').src='../forms/contact.php';>\
<br><br>\
Name <input name='naam' style='background:transparent; border-style: solid; border-color: grey; border-width: 1px; color: white;' type='text' id='naam' tabindex='1' size='25'><br>\
E-mail <input name='email' style='background:transparent; border-style: solid; border-color: grey; border-width: 1px; color: white;' type='text' id='email' tabindex='1' size='25'><br>\
Telephone number <input name='telnummer'  style='background:transparent; border-style: solid; border-color: grey; border-width: 1px; color: white;' type='text' id='telnummer' tabindex='1' size='25'><br>\
Message <textarea style='background:transparent; border-style: solid; border-color: grey; border-width: 1px; color: white;' rows='8' cols='30' name='opmerkingen' type='text' id='opmerkingen' tabindex='1'></textarea>\
<br><br><input type='submit' id='bestelbutton' onClick='setTimeout(\"contactKlaar();\", 300);' value='Verstuur'>\
</form>\
<iframe name='iframeVerborgenContact' id='iframeVerborgenContact'></iframe>\
</div>";
// document.getElementById("menuNieuwsPlaatje").src = 'images/v3/marock-and-roll-website-v3_07.jpg';
// document.getElementById("menuContactPlaatje").src = 'images/v3/marock-and-roll-website-v3_mouseover_13.jpg';
// document.getElementById("menuBoekingenPlaatje").src = 'images/v3/marock-and-roll-website-v3_12.jpg';
// document.getElementById("menuRecensiesPlaatje").src = 'images/v3/marock-and-roll-website-v3_10.jpg';
// document.getElementById("menuGastenboekPlaatje").src = 'images/v3/marock-and-roll-website-v3_08.jpg';
// document.getElementById("menuBiografiePlaatje").src = 'images/v3/marock-and-roll-website-v3_09.jpg';
document.getElementById('inhoudDiv').innerHTML = inhoudContact;
$("#inhoudDiv").fadeIn('fast');  

}

function contactKlaar(){

$("#inhoudDiv").fadeOut('fast');
setTimeout("contactKlaarDeel2();", 300);
}

function contactKlaarDeel2(){
var inhoudContactKlaar = "<table height='420px' valign='center'><tr><td  width='742px' align='center' height='420px' valign='center'> <b>Your message has been sent. If necessary, you'll get one back!</b> </td></tr></table>";

document.getElementById('inhoudDiv').innerHTML = inhoudContactKlaar;
$("#inhoudDiv").fadeIn('fast');

}




