function Drill(ColumnType, UniqueID, CallFrom)
{
  var ref = parent.ONMainFrame.location.href.toLowerCase() ;
  var CallFromPart = '' ;
  var indx = ref.indexOf('call') ;
  ref = parent.ONMainFrame.location.href.substring(0, indx) ;
  //alert(ref);
  var checksecure=ref.slice(0,5);
  //alert(checksecure);
  if(checksecure=="https")
  {
          ref=ref.replace(/https/,"http");
          //alert(ref);
  }
  //var checkframes=parent.frames.length;
  //if(checkframes != 6)
  //alert(checkframes);
  if (typeof(CallFrom) != 'undefined')
    CallFromPart = '&callfrom=' + CallFrom ;

  if (ColumnType == 'ARTIST')
    parent.ONMainFrame.location.href = ref + 'Call?htmltemplate=./artist/viewartist.htm&artistid=' + UniqueID + CallFromPart +'&startline=1&endline=35' ;
  else if (ColumnType == 'COMPILATION')
    parent.ONMainFrame.location.href = ref + 'Call?htmltemplate=./album/viewalbum.htm&lmtype=COMPILATION&albumid=' + UniqueID + CallFromPart ;
  else if (ColumnType == 'ALBUM') // same as COMPILATION!
    parent.ONMainFrame.location.href = ref + 'Call?htmltemplate=./album/viewalbum.htm&lmtype=ALBUM&albumid=' + UniqueID + CallFromPart ;
  else if (ColumnType == 'MEDIAPACK') // same as COMPILATION!
    parent.ONMainFrame.location.href = ref + 'Call?htmltemplate=./album/viewalbum.htm&lmtype=MEDIAPACK&albumid=' + UniqueID + CallFromPart ;
  else if (ColumnType == 'TRACK')
    parent.ONMainFrame.location.href = ref + 'Call?htmltemplate=./track/viewtrack.htm&trackid=' + UniqueID + CallFromPart ;
  else if (ColumnType == 'VIDEO')
    parent.ONMainFrame.location.href = ref + 'Call?htmltemplate=./video/viewvideo.htm&lmid=' + UniqueID + CallFromPart ;
  else if (ColumnType == 'LABEL')
    parent.ONMainFrame.location.href = ref + 'Call?htmltemplate=./label/viewlabel.htm&labelid=' + UniqueID + CallFromPart ;
  else if (ColumnType == 'FANCLUB')
    parent.ONMainFrame.location.href = ref + 'Call?htmltemplate=./artist/viewfanclub.htm&fanclubid=' + UniqueID ;
}

function rowcolor(x, fld)
{
  if (x==1)
    fld.style.backgroundColor = "#C0C9DA" ;
  else
    fld.style.backgroundColor = "#FFFFFF" ;
}

function rowcolorLeft(x, fld)
{
  if (x==1)
    fld.style.backgroundColor = "#C0C9DA" ;
  else
    fld.style.backgroundColor = "#F1F3F7" ;
}

function testb(x, fld)
{
  if (x==1)
    fld.color = "#AFAFAF" ;
  else
    fld.color = "#AFAFAF" ;
}

function testc(x, fld)
{
  if (x==1)
    fld.color = "#AFAFAF" ;
  else
    fld.color = "#AFAFAF" ;

}

function changeLanguage(lg)
{
var ref = self.location.href.toLowerCase() ;
var indx = ref.indexOf('call') ;
ref = self.location.href.substring(0, indx) ;

if(lg=='EN')
parent.ONMainFrame.location.href=ref+"Call?htmltemplate=./menu/setlanguage.htm&language=EN";

if(lg=='DE')
parent.ONMainFrame.location.href=ref+"Call?htmltemplate=./menu/setlanguage.htm&language=DE";
}