function Drill(ColumnType, UniqueID, CallFrom)
{
  var ref = self.location.href.toLowerCase() ;
  var CallFromPart = '' ;
  var indx = ref.indexOf('call') ;
  ref = self.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')
    self.location.href = ref + 'Call?htmltemplate=./artist/viewartist.htm&artistid=' + UniqueID + CallFromPart ;
  else if (ColumnType == 'COMPILATION')
    self.location.href = ref + 'Call?htmltemplate=./album/viewalbum.htm&lmtype=COMPILATION&albumid=' + UniqueID + CallFromPart ;
  else if (ColumnType == 'ALBUM') // same as COMPILATION!
    self.location.href = ref + 'Call?htmltemplate=./album/viewalbum.htm&lmtype=ALBUM&albumid=' + UniqueID + CallFromPart ;
  else if (ColumnType == 'MEDIAPACK') // same as COMPILATION!
    self.location.href = ref + 'Call?htmltemplate=./album/viewalbum.htm&lmtype=MEDIAPACK&albumid=' + UniqueID + CallFromPart ;
  else if (ColumnType == 'TRACK')
    self.location.href = ref + 'Call?htmltemplate=./track/viewtrack.htm&trackid=' + UniqueID + CallFromPart ;
  else if (ColumnType == 'VIDEO')
    self.location.href = ref + 'Call?htmltemplate=./video/viewvideo.htm&lmid=' + UniqueID + CallFromPart ;
  else if (ColumnType == 'LABEL')
    self.location.href = ref + 'Call?htmltemplate=./label/viewlabel.htm&labelid=' + UniqueID + CallFromPart ;
  else if (ColumnType == 'FANCLUB')
    self.location.href = ref + 'Call?htmltemplate=./artist/viewfanclub.htm&fanclubid=' + UniqueID ;
}

function checkkeyword()
{	
    var ref = self.location.href.toLowerCase() ;
    var CallFromPart = '' ;
    var indx = ref.indexOf('call') ;
    ref = self.location.href.substring(0, indx) ;
	  //alert(ref);
    var checksecure=ref.slice(0,5);
	  //alert(checksecure);
    if(checksecure=="https")
    {
			  ref=ref.replace(/https/,"http");
    }

	var searchstring = document.NSearchForm.keyword.value;
    var stringnow = searchstring.replace(/'/g, "");
    var resultstring = stringnow.replace(/"/g, '');
    document.NSearchForm.keyword.value = resultstring;
    document.NSearchForm.action = ref + "Call?htmltemplate=./lm/nsearchres.htm";
    document.NSearchForm.submit();
}

function test(x, fld)
{
  if (x==1)
    fld.bgColor = "#68c0e9" ;
  else
    fld.bgColor = "#bfe0f1" ;
}

function testb(x, fld)
{
  if (x==1)
    fld.bgColor = "#68c0e9" ;
  else
    fld.bgColor = "#bfe0f1" ;
}

function testc(x, fld)
{
  if (x==1)
    fld.bgColor = "#bfe0f1" ;
  else
    fld.bgColor = "#68c0e9" ;

}

function changeLanguage(lg)
{
var ref = self.location.href.toLowerCase() ;
var indx = ref.indexOf('call') ;
ref = self.location.href.substring(0, indx) ;

if(lg=='EN')
self.location.href=ref+"Call?htmltemplate=./menu/setlanguage.htm&language=EN";

if(lg=='DE')
self.location.href=ref+"Call?htmltemplate=./menu/setlanguage.htm&language=DE";
}