function cdh(a,c,l,t,i)
// build mp3 project header
// a = tag name , c = color , l = link , t = title text , i = image name
{
document.write(
'<a name="'+a+'"></a><table border="0" bgcolor="#'+c+'" width="100%" cellspacing="0" cellpadding="8">'+
'<tr><td valign="top" align="center" width="17%"></td><td width="61%" align="center">'+
'<font id="f15" face="Verdana, Arial, Helvetica" size="2"><br><a href="'+l+'.htm" title="Startpage of music project '+t+' | Startpagina van muziekprojekt '+t+'"'+
' target="_blank"">'+
'<b>All '+(a=="CS"?'':'CD releases of ')+t+'</b></a><br><font size="1">'+(a=="NS"?'( * = release date of 1st release on tape )<br>':'')+
'<br>click on the CD image to read more about the CD</td></tr>'+
'<tr><td valign="top" align="center" width="17%"><img border="0" src="images/'+i+'.jpg"></td><td valign="top" width="64%">'
 )
}


function cdl(c,d,n,x,r,t,p,u)
// display cd info left
// c = color , d = project directory , n = cd number , x = cd title
// r = release date , t = number of tracks , p = playing time
// u = 2nd cd number for cat.nr and image
{
vn=(u==''?n:u) ;
document.write(
'<table border="0" bgcolor="#'+c+'" width="100%" cellspacing="0" cellpadding="8"><tr>'+
'<td width="1%" onmouseover="vcx=this.bgColor;this.bgColor='+"'"+'#FFFFFF'+"'"+'" onmouseout="this.bgColor=vcx">'+
// "<a href='"+d+"/sgcd"+n+".htm' title='Go to info page of \""+x+"\" | Ga naar info pagina van \""+x+"\"'"+
"<a href='"+d+"/sgcd"+n+".htm' title='Go to info page of / Ga naar info pagina van: \""+x+"\"'"+
' target="_blank"><img border="0" src="images/sgcd'+vn+'s.jpg" width="70px"></a></td>'+
'<td><font size="1"><b>'+x+'</b><br>Catalog # sgcd'+vn+'<br>Tracks: '+t+'<br>Playing time: '+p+'<br>Release date: '+r+
(n<30?"*":'')+'</td>'
 )
}


function cdr(d,n,x,r,t,p,l,u)
// display cd info right
// d = project directory , n = cd number , x = cd title
// r = release date , t = number of tracks , p = playing time
// l = deviding line , u = 2nd cd number for cat.nr and image
{
vn=(u==''?n:u) ;
document.write(
'<td align="right"><font size="1"><b>'+x+'</b><br>Catalog # sgcd'+vn+'<br>Tracks: '+t+'<br>Playing time: '+p+'<br>'+
(n<30?"*":'')+'Release date: '+
r+'</td><td width="1%" onmouseover="vcx=this.bgColor;this.bgColor='+"'"+'#FFFFFF'+"'"+'" onmouseout="this.bgColor=vcx">'+
// "<a href='"+d+"/sgcd"+n+".htm' title='Go to info page of \""+x+"\" | Ga naar info pagina van \""+x+"\"'"+
"<a href='"+d+"/sgcd"+n+".htm' title='Go to info page of / Ga naar info pagina van \""+x+"\"'"+
' target="_blank"><img border="0" src="images/sgcd'+vn+'s.jpg" width="70px"></a></td></tr></table>'+
(l==1?'<table border="0" cellspacing="0" cellpadding="0"><tr><td height="4px"></td></tr></table>':'')
 )
}


function cdt(h)
// build goto_TOP links
// h = add height of cell (630)
{
document.write(
'<table border="0" '+(h==1?'height="630px" ':'')+'width="100%" cellspacing="0" cellpadding="0"><tr><td valign="top">'+
'<font face="Verdana, Arial, Helvetica" size="1"><a href="cdlist.htm#TOP" title="Jump to top of page | Ga naar begin van pagina"'+
' style="text-decoration: none;"><b>TOP</b>'+
// '</a></td></tr></table>'+(h==1?'':'</td></tr><tr><td height="1">&nbsp;</td></tr></table>'+(h==2?'':'<br><br>') )

'</a></td></tr></table>'+(h==1?'':'</td></tr><tr><td height="1px">&nbsp;</td></tr></table>'+(h==2?'':
'<table class="sb" border="0" width="100%" cellspacing="4" cellpadding="0"><tr><td class="sb" width="100%"></td></tr></table>') )

 )
}

