<!--
function P7_writeStyles(op,a){ //v1.5 by PVII
if(op==0||document.getElementById){var tS="<sty"+"le type=\"text/css\">";
tS+=a+"<"+"/sty"+"le>";document.write(tS);document.close();}
}

function toggle(arg1,arg2)
{
	//v1.4 by PVII
 	var k = document.getElementById(arg2);
 	if (k.className == 'closed')
 	{
 		JB_swapClass(arg1,arg2,'open','closed','li');
 		return false;
 	}
}

function JB_swapClass()
{
	//v1.4 by PVII, uitgeklede versie by JB
	var i,x,tB,j=0,tA=new Array(),arg=JB_swapClass.arguments;
	if(document.getElementsByTagName && document.getElementById)
	{
		list = document.getElementById(arg[0]);
		for(i=4;i<arg.length;i++)
		{
			tB=list.getElementsByTagName('li');
			for(x=0;x<tB.length;x++)
			{
				tA[j]=tB[x];j++;
			}
		}
		for(i=0;i<tA.length;i++)
		{
  			if(tA[i].className)
			{
				if(tA[i].id==arg[1])
				{
					tA[i].className=(tA[i].className=='closed')?'open':'closed';
				}
				else if(tA[i].className=='open')
				{
					tA[i].className='closed';
				}
			}
		}
	}
}

function bestelling(nr)
{
	// SET MESSAGE VALUES
	var to1 = "dehelling"; //ivm. spam
	var to2 = "@"; //ivm. spam
	var to3 = "gmail.com"; //ivm. spam
	var cc = "";
	var bcc = "";
	var subject = "De Helling: bestellen";
	var body = 
	"Ik bestel 1 exemplaar van De Helling " + nr +
	"\nPrijs per stuk: Euro 7,50" +
	"\n \nNaam: " +
	"\nAdres: " +
	"\nPostcode: " +
	"\nWoonplaats: "
	
	// BUILD MAIL MESSAGE COMPONENTS 
	var doc = "mailto:" + to1 + to2 + to3 + 
	"?cc=" + cc + 
	"&bcc=" + bcc + 
	"&subject=" + escape(subject) + 
	"&body=" + escape(body); 
	
	// POP UP EMAIL MESSAGE WINDOW
	window.location = doc;
}

// the following PVII (www.projectseven.com) function writes the styles that control menu hiding and showing
// so that browsers with script disabled can see a fully expanded menu without having to toggle
// the entire menu onLoad, allowing the onLoad event to simply expose a single menu
//-->

