
V = navigator.appVersion;
N = navigator.appName;
U = navigator.userAgent;


if (U.indexOf( "Opera")>=0) 
{
    browser_name    = "Opera";
    browser_id      = "OP";
    browser_version =  parseInt( U.substring(U.indexOf("Opera")+6,U.lastIndexOf("[")));
}
else
if (U.indexOf( "Firefox")>=0) 
{
    browser_name    = "Firefox";
    browser_id      = "FF";
    browser_version =  parseInt( U.substring( U.indexOf( "Firefox")+8,U.length));
}
else
if (N == "Microsoft Internet Explorer")
{
    browser_name    = "Microsoft Internet Explorer";
    browser_id      = "IE";
    browser_version =  parseInt(V.substring(V.indexOf("MSIE")+5,V.lastIndexOf("Windows")));
}
else 
if (U.indexOf( "Chrome")>=0) 
{
    browser_name    = "Chrome";
    browser_id      = "CH";
    browser_version =  parseInt( U.substring( U.indexOf( "Chrome")+9,U.length));
}
else
if (U.indexOf( "Safari")>=0) 
{
    browser_name    = "Safari";
    browser_id      = "SA";
    browser_version =  parseInt( U.substring( U.indexOf( "Chrome")+9,U.length));
}
else
if (U.indexOf( "Netscape")>=0) 
{
    browser_name    = "Netscape";
    browser_id      = "NS";
    browser_version =  parseInt( U.substring( U.indexOf( "Netscape")+9,U.length));
}
else
{
    browser_name    = N;
    browser_id      = "";   
    browser_version = parseInt(V);
}


//document.write( "Version = ",V);document.write( "appname = ",N);document.write( "userA = ",U);



function nothingthere() // this function only applies to IE4, ignored otherwise.
{ 
  event.cancelBubble = true
  event.returnValue = false;
  return false;
}

function norightclick(e)   // This function is used by all others
{ if (window.Event)   // again, IE or NAV ?
  { if (e.which == 2 || e.which == 3)
    { return false; }
  }
  else
  { if (event.button == 2 || event.button == 3)
    { event.cancelBubble = true
      event.returnValue = false;
      return false;
    }
  } 
}
 
//if (document.layers)
//{
//    document.captureEvents(Event.MOUSEDOWN);
//    document.onmousedown = norightclick;
//}
//else
//if (document.all)
//{
//document.oncontextmenu = nothingthere;
//document.ondragstart   = nothingthere;
//document.onselectstart = nothingthere;
////document.onmousedown   = norightclick;
//}

//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com


var message="";
///////////////////////////////////

function clickIE() 
{
if (document.all) 
{
    (message);return false;
}
}

function clickNS(e) 
{
if (document.layers || (document.getElementById &&! document.all)) 
{
    if (e.which==2||e.which==3) 
    {
        (message);return false;
    }
}
}


if (document.layers || (document.getElementById && !document.all)) 
{
    document.captureEvents(Event.MOUSEUP);
    document.onmousedown=clickNS;
}
else
{
    document.onmousedown   = clickNS;
    document.oncontextmenu = clickIE;
    document.ondragstart   = clickIE;
    document.onselectstart = clickIE;
}

document.oncontextmenu=new Function("return false")
    


// ******* foto's **********
// 3e cijfer is foto gemaakt door:

var PicTaken = new Array(
"GEENIDEE - Poprock Coverband",	//0
"Vincent Arler",		//1
"Koen Nieuwenhuize",		//2
"Tom Gruintjes",		//3
"Marco de Gier",		//4
"John Verkerk",			//5
"De Stomme van C.",		//6
"Karen Hubert",			//7
"Fred van der Flier");		//8



var initutils = false;
var MAXPICS   = 546;
var picSizesWH;

picSizesWH = new Array( 
548,571,0,	//1
297,522,0,	//2
648,432,0,	//3
484,509,0,	//4
388,542,1,	//5
424,707,0,	//6
640,480,4,	//7
640,480,0,	//8
648,432,0,	//9
463,640,8,	//10
638,504,0,	//11
551,477,0,	//12
864,486,0,	//13
640,480,0,	//14
640,480,0,	//15
800,497,0,	//16
676,451,0,	//17
734,489,0,	//18
552,470,0,	//19
823,465,7,      //20
768,556,8,	//21
482,746,8,	//22
461,614,0,	//23
640,479,0,	//24
640,427,8,	//25
480,640,0,	//26
640,480,0,	//27
364,541,0,	//28
480,587,1,	//29
768,512,1,	//30
676,507,0,	//31
606,404,0,	//32
369,448,0,	//33
506,674,0,	//34
768,432,0,	//35
258,464,0,	//36
640,480,4,	//37
640,427,0,	//38
640,480,4,	//39
449,479,0,	//40
640,480,4,	//41
640,480,4,	//42
640,480,4,	//43
640,480,4,	//44
676,507,0,      //45
577,479,4,	//46
640,480,4,	//47
645,484,0, 	//48
640,480,4, 	//49
676,507,0,	//50
253,383,4,	//51
557,544,0,	//52
540,487,0,	//53
523,576,0,	//54
676,507,4,	//55
360,508,0,	//56
550,550,0,	//57
864,486,0,	//58
864,486,0,	//59
640,406,0,	//60
864,486,0,	//61
410,716,0,	//62
302,642,0,	//63
418,725,0,	//64
676,507,0,      //65
404,727,0,	//66
713,475,0,	//67
640,462,8,	//68
300,451,0,	//69
309,746,0,	//70
415,818,0,	//71
400,488,0,	//72
621,480,3,	//73
676,507,0,	//74
640,480,0,	//75
640,420,0,	//76
201,572,0,	//77
676,507,0,	//78
691,454,0,	//79
614,461,3,	//80	
614,461,3,	//81
400,400,0,	//82
800,533,0,	//83
640,360,0,	//84
528,581,0,	//85
304,644,8,	//86
434,739,1,	//87
440,657,0,	//88
343,460,0,	//89
424,600,0,	//90
300,628,0,	//91
614,461,3,	//92
640,480,0,	//93
676,507,0,	//94
640,480,0,	//95
640,480,0,	//96
391,521,0,      //97
512,341,0,	//98
512,341,6,	//99
864,486,0,	//100
512,341,6,	//101
512,341,6,	//102
676,507,6,	//103
640,480,0,	//104
512,341,6,	//105
512,341,6,	//106
539,680,3,	//107
614,461,0,	//108
624,426,0,	//109
640,427,8,	//110
640,427,0,	//111
640,427,0,	//112
676,585,0,	//113
380,758,0,	//114
640,480,0,	//115
500,667,0,	//116
480,640,0,	//117
640,480,3,	//118
600,582,7,	//119
480,640,0,	//120
460,567,0,	//121
640,480,3,	//122
500,752,7,	//123
676,507,0,	//124
346,461,0,	//125
434,640,1,	//126
500,752,7,	//127
380,572,7,	//128
768,576,0,	//129
410,610,0,	//130
800,408,8,	//131
438,686,0,	//132
480,640,0,	//133
661,441,1,	//134
676,507,0,	//135
400,702,8,	//136
400,602,7,	//137
550,522,1,	//138
340,574,1,	//139
300,547,1,	//140
300,650,1,	//141
480,666,8,	//142
577,479,0,	//143
600,580,0,	//144
427,640,1,	//145
427,640,1,	//146
427,640,1,	//147
768,512,1,	//148
510,640,1,	//149	
640,433,1,	//150
427,640,1,	//151
700,499,1,	//152
600,600,1,	//153
427,640,1,	//154
427,640,1,	//155
427,640,1,	//156
427,640,1,	//157
640,427,1,	//158
356,670,1,	//159
500,500,1,	//160
343,461,1,	//161
480,640,1,	//162
639,437,0,	//163
427,640,8,	//164
640,427,1,	//165
427,640,8,	//166
640,427,1,	//167
480,640,1,	//168
500,500,1,	//169
500,455,1,	//170
640,427,1,	//171
640,427,1,	//172
640,427,1,	//173
640,427,1,	//174
550,505,1,	//175
640,427,1,	//176
640,427,1,	//177
640,427,1,	//178
511,640,1,	//179
640,427,1,	//180
640,427,1,	//181
640,454,1,	//182
676,507,0,	//183
676,507,0,	//184
640,427,1,	//185
640,427,1,	//186
427,640,1,	//187
427,599,8,	//188
676,451,1,	//189
676,451,1,	//190
676,451,1,	//191
676,451,1,	//192
451,676,1,	//193
676,451,1,	//194
676,451,1,	//195
750,606,1,	//196
427,640,1,	//197
640,427,1,	//198
640,480,1,	//199
640,427,1,	//200
640,427,1,	//201
640,427,1,	//202
640,427,1,	//203
640,415,1,	//204
429,464,1,	//205
768,512,1,	//206
614,461,0,	//207
500,500,1,	//208
614,461,0,	//209
371,575,0,	//210
400,666,0,	//211
600,494,0,	//212
640,480,0,	//213
427,640,1,	//214
676,507,0,	//215
768,512,1,	//216
480,600,1,	//217
676,507,0,	//218
676,507,0,	//219
333,600,1,	//220
676,507,0,	//221
640,462,8,	//222
600,399,5,	//223
600,399,5,	//224
600,402,5,	//225
768,512,1,	//226
768,512,1,	//227
600,402,5,	//228
508,401,5,	//229
456,401,5,	//230
427,640,1,	//231
768,512,1,	//232
768,512,1,	//233
600,402,5,	//234
600,402,5,	//235
600,402,5,	//236
600,402,7,	//237
768,512,1,	//238
600,402,7,	//239
600,402,5,	//240
768,512,1,	//241
402,600,5,	//242
402,600,5,	//243
402,600,5,	//244
480,401,5,	//245
399,600,5,	//246
308,599,1,	//247
409,614,7,	//248
567,640,7,	//249
450,647,0,	//250
768,512,1,	//251
768,512,1,	//252
768,576,0,	//253
600,528,1,	//254
768,512,1,	//255
768,512,1,	//256
400,600,1,	//257
768,617,1,	//258
768,512,1,	//259
711,512,1,	//260
567,512,1,	//261
324,512,1,	//262
400,600,1,	//263
352,600,1,	//264
427,640,1,	//265
768,512,1,	//266
441,600,1,	//267
768,512,1,	//268
705,512,1,	//269
768,512,1,	//270
768,512,1,	//271
768,512,1,	//272
400,600,1,	//273
500,500,1,	//274
400,600,1,	//275
561,640,1,	//276
438,640,1,	//277
364,600,1,	//278
768,503,1,	//279
427,640,1,	//280
768,512,1,	//281
303,640,1,	//282
612,512,1,	//283
509,600,1,	//284
768,512,1,	//285
768,598,1,	//286
360,640,0,      //287
640,480,0,      //288
768,576,0,      //289
640,480,0,      //290
676,507,0,      //291
676,507,0,      //292
579,600,0,      //293
676,507,0,      //294
676,507,0,      //295
768,512,8,      //296
768,576,0,      //297
768,576,0,      //298
676,507,0,      //299
667,451,8,      //300
640,480,0,      //301
676,507,0,      //302
676,507,0,      //303
447,640,8,      //304
768,432,0,	//305
676,507,0,      //306
640,468,0,      //307
676,507,0,      //308
640,427,8,      //309
860,645,0,      //310
676,507,0,      //311
676,583,0,      //312
676,507,0,      //313
427,640,8,      //314
676,507,0,      //315
748,540,8,      //316
676,507,0,      //317
640,480,0,	//318
640,480,0,	//319
640,480,0,	//320
640,480,0,	//321
480,640,0,	//322
640,480,0,	//323
640,480,0,	//324
768,576,0,	//325
768,576,0,	//326
640,480,0,	//327
438,640,0,	//328
768,511,0,	//329
676,507,0,	//330
400,704,0,	//331
768,576,0,	//332
640,480,0,	//333
510,540,0,	//334
640,480,0,	//335
420,560,0,	//336
480,640,0,	//337
640,480,0,	//338
480,640,0,	//339
480,640,0,	//340
640,427,8,	//341
480,640,0,	//342
640,426,0,	//343
640,426,0,	//344
500,600,0,	//345
514,640,8,	//346
640,427,8,	//347
600,484,8,	//348
400,603,8,	//349
498,460,8,	//350
640,462,8,	//351
800,327,8,	//352
300,654,8,	//353
803,602,0,	//354
803,602,0,	//355
803,602,0,	//356
803,602,0,	//357
803,602,0,	//358
803,602,0,	//359
803,602,0,	//360
803,602,0,	//361
593,424,0,	//362
803,602,0,	//363
602,803,0,	//364
602,803,0,	//365
803,602,0,	//366
602,803,0,	//367
803,602,0,	//368
803,602,0,	//369
803,602,0,	//370
803,602,0,	//371
829,622,0,	//372
647,802,0,	//373
806,605,0,	//374
806,605,0,	//375
806,605,0,	//376
806,605,0,	//377
806,605,0,	//378
678,739,0,	//379
518,691,0,	//380
806,505,0,	//381
874,680,0,	//382
605,806,0,	//383
806,605,0,	//384
806,605,0,	//385
806,605,0,	//386
518,690,0,	//387
806,605,0,	//388
734,614,0,	//389
767,604,0,	//390
806,605,0,	//391
806,605,0,	//392
806,605,0,	//393
806,605,0,	//394
806,605,0,	//395
806,605,0,	//396
806,605,0,	//397
885,701,0,	//398
806,605,0,	//399
806,605,0,	//400
806,605,0,	//401
806,605,0,	//402
806,357,0,	//403
806,605,0,	//404
960,540,0,	//405
960,540,0,	//406
432,768,0,	//407
445,788,0,	//408
616,616,0,	//409
519,862,0,	//410
714,702,0,	//411
864,284,0,	//412
863,406,0,	//413
554,682,0,	//414
921,358,0,	//415
546,819,0,	//416
659,492,0,	//417
538,717,8,	//418
870,702,8,	//419
786,682,8,	//420
819,546,8,	//421
818,440,8,	//422
819,567,8,	//423
546,819,8,	//424
793,667,0,	//425
891,622,0,	//426
806,605,0,	//427
666,787,0,	//428
400,681,0,	//429
818,352,0,	//430
500,758,0,	//431
640,480,0,	//432
682,614,0,	//433
640,480,0,	//434
717,538,0,	//435
717,538,0,	//436
717,538,0,	//437
717,538,0,	//438
717,538,0,	//439
717,538,0,	//440
732,516,0,	//441
554,765,0,	//442
413,669,0,	//443
768,576,0,	//444
768,576,0,	//445
768,576,0,	//446
465,742,0,	//447
768,576,0,	//448
819,614,0,	//449
576,768,0,	//450
671,768,0,	//451
819,614,0,	//452
819,614,0,	//453
541,786,0,	//454
819,614,0,	//455
819,614,0,	//456
819,614,0,	//457
819,614,0,	//458
819,614,0,	//459
819,614,0,	//460
819,614,0,	//461
819,614,0,	//462
819,614,0,	//463
717,538,0,	//464
819,614,0,	//465
819,614,0,	//466
819,614,0,	//467
819,614,0,	//468
819,614,0,	//469
819,614,0,	//470
614,819,0,	//471
912,288,0,	//472
774,632,0,	//473
819,515,0,	//474
655,655,0,	//475
1024,225,0,	//476
302,700,0,	//477
819,614,0,	//478
358,750,0,	//479
475,720,0,	//480
548,720,0,	//481
819,614,0,	//482
816,666,0,	//483
599,720,0,	//484
632,720,0,	//485
402,414,0,	//486
976,390,0,	//487
350,722,0,	//488
546,719,0,	//489
818,473,0,	//490
800,600,0,	//491
739,518,0,	//492
800,600,0,	//493
976,732,0,	//494
914,684,0,	//495
873,690,0,	//496
485,720,0,	//497
796,650,0,	//498
862,632,0,	//499
468,483,0,	//500
682,680,0,	//501
503,696,0,	//502
675,644,0,	//503
982,451,0,	//504
739,651,0,	//505
1033,392,0,	//506
682,651,0,	//507
839,423,0,	//508
363,662,0,	//509
829,658,0,	//510
686,500,0,	//511
839,629,0,	//512
839,315,0,	//513
839,629,0,	//514
839,629,0,	//515
839,629,0,	//516
839,629,0,	//517
356,720,0,	//518
860,645,0,	//519
860,645,0,	//520
860,645,0,	//521
860,645,0,	//522
860,645,0,	//523
860,645,0,	//524
860,645,0,	//525
860,645,0,	//526
860,645,0,	//527
530,707,0,	//528
860,645,0,	//529
860,645,0,	//530
860,645,0,	//531
860,645,0,	//532
860,645,0,	//533
860,645,0,	//534
530,707,0,	//535
530,707,0,	//536
860,645,0,	//537
860,645,0,	//538
860,645,0,	//539
860,645,0,	//540
860,645,0,	//541
860,645,0,	//542
860,645,0,	//543
860,645,0,	//544
860,645,0,	//545
860,645,0);	//546








     
var picresult = new Array( MAXPICS+1);
var picadr1   = new Array( MAXPICS+1);
var picadr2   = new Array( MAXPICS+1);

if (!initutils)
{
     initutils=true;   
     for (var ipcptr=1; ipcptr <= MAXPICS; ipcptr++) picresult[ipcptr] = false;
}



// ********** artikelen *********
var initart   = false;

var MAXART    = 26;
var artresult = new Array( MAXART+1);
var artadr1   = new Array( MAXART+1);
var artadr2   = new Array( MAXART+1);

if (!initart)
{
     initart=true;   
     for (var ipcptr=1; ipcptr <= MAXART; ipcptr++) artresult[ipcptr] = false;
}




function MSFPpreload(img) 
{
  var a=new Image(); a.src=img; return a; 
}


var tumbid      = 0;
var TN_timerid  = null;
var TN_fadestep = 100;



function fade( tid)
{
TN_fadestep = 80;
fadeaway( tid);
}



function fadeaway( tid)
{
var tumb;
TN_fadestep = TN_fadestep-5;

eval("tumb = B"+tid);
tumb.style.filter='alpha(opacity='+TN_fadestep+')';
tumb.style.opacity=(TN_fadestep/100);
if (TN_fadestep>40) TN_timerid = setTimeout('fadeaway('+tid+');',40);
}



function unfade( tid)
{
var tumb;

TN_fadestep=100;
if (TN_timerid!=null) clearTimeout( TN_timerid);
eval("tumb = B"+tid);
tumb.style.filter='alpha(opacity='+TN_fadestep+')';
tumb.style.opacity=(TN_fadestep/100);
}





function Tumbnail( picno,tumbpos)
{

var hspace;
var vspace;
var result;
var picval;
var ipcptr;
var picname;
var picWidth;
var maxretry = 10*MAXPICS;



if (picno==0) 
{
    ipcptr = 0;
    result = false;
    while(ipcptr<maxretry && !result)
    {
         ipcptr++;
         picval = Math.floor(Math.random()*MAXPICS)+1;
         result = !picresult[picval];
    }

    picresult[picval]=true;
}
else
{
    picval = picno;
}
    


if (picval<10) picname = "foto0"+picval;else picname = "foto"+picval;

MSFPhover = true;
var gastboek;
vspace=6;
hspace=0;
picWidth  = picSizesWH[(picval-1)*3+0];
picHeight = picSizesWH[(picval-1)*3+1];
tumbid    = tumbid+1;

gastboek = window.document.location.href.indexOf("gastenboek") >= 0 



if (tumbpos == "right")
{
    if (gastboek)
    {
        document.write('<a href="javascript:void(\'\');" target="null" onClick="Fotopopup(\''+picname+'\','+picWidth+','+picHeight+'); return false;" onmouseover="fade( '+tumbid+');" onmouseout="unfade( '+tumbid+');"><img style="border-width: 0.22em; border-style: outset; border-color: 999999 444444 444444 888888;" src="images/button_'+picname+'.jpg" name="B'+tumbid+'" align="'+tumbpos+'" hspace="'+hspace+'" vspace="'+vspace+'" border="0" width="80" height="80" alt="\'Klik\' voor de volledige foto..."></a>');
    }

    else if (browser_id == "IE")
    {
        document.write('<a href="javascript:void(\'\');" target="null" onClick="Fotopopup(\''+picname+'\','+picWidth+','+picHeight+'); return false;" onmouseover="fade( '+tumbid+');" onmouseout="unfade( '+tumbid+');"><img style="border-width: 0.22em; border-style: outset; border-color: 999999 444444 444444 888888;" src="images/button_'+picname+'.jpg" name="B'+tumbid+'" align="'+tumbpos+'" hspace="'+hspace+'" vspace="'+vspace+'" width="80" height="80" alt="\'Klik\' voor de volledige foto..."></a><img src="images/spacer.gif" align="'+tumbpos+'" height="88" border="0" width="10">');
    }	
    else if (browser_id == "OP")
    {
        document.write('<img src="images/spacer.gif" align="'+tumbpos+'" height="80" border="0" width="20"><a href="javascript:void(\'\');" target="null" onClick="Fotopopup(\''+picname+'\','+picWidth+','+picHeight+'); return false;" onmouseover="fade( '+tumbid+');" onmouseout="unfade( '+tumbid+');"><img style="border-width: 0.22em; border-style: outset; border-color: 999999 444444 444444 888888;" src="images/button_'+picname+'.jpg" name="B'+tumbid+'" align="'+tumbpos+'" hspace="'+hspace+'" vspace="'+vspace+'" border="0" width="80" height="80" alt="\'Klik\' voor de volledige foto..."></a>');
    }
    else
    {
        document.write('<img src="images/spacer.gif" align="'+tumbpos+'" height="80" border="0" width="10"><a href="javascript:void(\'\');" target="null" onClick="Fotopopup(\''+picname+'\','+picWidth+','+picHeight+'); return false;" onmouseover="fade( '+tumbid+');" onmouseout="unfade( '+tumbid+');"><img style="border-width: 0.22em; border-style: outset; border-color: 999999 444444 444444 888888;" src="images/button_'+picname+'.jpg" name="B'+tumbid+'" align="'+tumbpos+'" hspace="'+hspace+'" vspace="'+vspace+'" border="0" width="80" height="80" alt="\'Klik\' voor de volledige foto..."></a>');
    }

    
//    else
//    {
//        
//    }

}
else
{
   document.write('<a href="javascript:void(\'\');" target="null" onClick="Fotopopup(\''+picname+'\','+picWidth+','+picHeight+'); return false;" onmouseover="fade( '+tumbid+');" onmouseout="unfade( '+tumbid+');"><img style="border-width: 0.22em; border-style: outset; border-color: 999999 444444 444444 888888;" src="images/button_'+picname+'.jpg" name="B'+tumbid+'" align="'+tumbpos+'" hspace="'+hspace+'" vspace="'+vspace+'" width="80" height="80" alt="\'Klik\' voor de volledige foto..."></a><img src="images/spacer.gif" align="'+tumbpos+'" height="88" border="0" width="10">');
}
}





function KrantTumbnail( picno,tumbpos)
{
var hspace;
var vspace;
var result;
var picval;
var ipcptr;
var picname;
var picWidth;
var picSizesWH;

picSizesWH = new Array(
524-12,370-12,	//1
178-12,645-12,	//2 
417-12,791-12,	//3 
193-12,531-12,	//4
357-12,309-12,	//5 
516-12,412-12,	//6
451-12,421-12,	//7
676-12,364-12,	//8
167-12,438-12, 	//9
220-12,483-12,	//10
300-12,628-12,	//11 
379-12,281-12,	//12
424-12,600-12,	//13 
343-12,460-12,  //14
874-12,378-12,  //15
537-12,507-12,  //16
287-12,324-12,  //17
264-12,598-12,  //18
232-12,470-12,  //19
422-12,412-12,  //20
394-12,548-12,  //21
194-12,485-12,  //22
562-12,190-12,  //23
644-12,460-12,  //24
382-12,769-12,  //25
400-12,566-12); //26
if (picno==0) 
{
    ipcptr = 0;
    result = false;
    while(ipcptr<100 && !result)
    {
         ipcptr++;
         picval = Math.floor(Math.random()*MAXART)+1;
         result = !picresult[picval];
    }

    picresult[picval]=true;
}
else
{
    picval = picno;
}
    

picname   = "artikel"+picval;
MSFPhover = false;
vspace    = 6;
hspace    = 0;
picWidth  = picSizesWH[(picval-1)*2+0];
picHeight = picSizesWH[(picval-1)*2+1];
tumbid=tumbid+1;
document.write('<a href="javascript:void(\'\');" target="null" onClick="Krantpopup(\''+picname+'\','+picWidth+','+picHeight+'); return false;" onmouseover="fade('+tumbid+');" onmouseout="unfade('+tumbid+');"><img style="border-width: 0.22em; border-style: outset; border-color: 999999 444444 444444 888888;" src="images/button_'+picname+'.jpg" id="B'+tumbid+'"  align="'+tumbpos+'" hspace="0" vspace="'+vspace+'" border="0" width="80" height="80" alt="\'Klik\' voor de volledige foto..."></a><img align="'+tumbpos+'" src="images/spacer.gif" height="88" border="0" width="10">');
}





function Fotopopup( naam,breedte,hoogte) 
{
   var left = Math.max( 0,((screen.width -breedte)/2)-00);
   var top  = Math.max( 0,((screen.height-hoogte )/2)-20);
   var w    = Math.min( breedte,screen.width -10);
   var h    = Math.min( hoogte ,screen.height-60);
   
  
   if  (!window.venster || venster.closed); else venster.close();
      venster=open('fotopopup.htm',naam,'titlebar=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,addressbar=no,top=' + top + ',left=' + left + ',width=' + w + ',height=' + h);
}





function Krantpopup( naam,breedte,hoogte) 
{
var scrollbar;
var left;
var top;
var w;
var h;

scrollbar = (breedte>screen.width-10) || (hoogte>screen.height-60);
left = Math.max( 0,((screen.width -breedte-10)/2));
top  = Math.max( 0,((screen.height-hoogte -60)/2));
if  (!window.venster || venster.closed); else venster.close();
if (scrollbar) 
{
   w    = Math.min( breedte+22,screen.width -10);
   h    = Math.min( hoogte +22,screen.height-60);
venster = window.open('krantpopup.htm',naam,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,top=' + top + ',left=' + left + ',width=' + w + ',height=' + h);
}
else
{
   w    = Math.min( breedte+12,screen.width -10);
   h    = Math.min( hoogte +12,screen.height-60);
venster = window.open('krantpopup.htm',naam,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,top=' + top + ',left=' + left + ',width=' + w + ',height=' + h);   
}
}





function KillApplet()
{

if (navigator.javaEnabled())
{
    if (parent.banner_left.location.href.indexOf("2.htm")!=-1 ||
        parent.banner_left.location.href.indexOf("3.htm")!=-1)
    {	
        parent.banner_left.location.href = "banner_left1.htm";
    }
}
}





function newWindow(aPage,w,h)
{
if  (!window.venster || venster.closed); else venster.close();
venster=open(aPage,"","top=0,left=0,width="+w+",height="+h+",resizable=1");
}





function MP3Player( SongName)
{
var t;
var l;
var w;
var h;

w = 300;
h = 160+34;//;320+34;djcat
l = screen.width-w-100;
t = h+100;
if  (!window.venster || venster.closed); else venster.close();
//venster=open("http://www.cu2.nl/cu2music/standalone.php?songid="+SongID,"","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,top="+t+",left="+l+",width="+w+",height="+h+",resizable=no");
venster=open("audioplayer.htm",SongName,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,top="+t+",left="+l+",width="+w+",height="+h+",resizable=no");
}