<!--
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

try {
var pageTracker = _gat._getTracker("UA-4204574-2");
pageTracker._trackPageview();
} catch(err) {};


function displayWindow(url, title, width, height) 
{
	window.open(url,title,'width=' + width + ',height=' + height + ',resizable=no,scrollbars=no,menubar=no,status=no');
}


function amusicRelease(MySelect) {
	var temp, item, val;
	temp = "http://" + location.host + "/ar_entertainment/music/newrelease.asp?ent=2&ID=";
	if(MySelect.options[MySelect.selectedIndex].value != "-")
  	{ 	
  		urltmp = temp + MySelect.options[MySelect.selectedIndex].value
		top.location.href=urltmp
  	}	
}

function emusicRelease(MySelect) {
	var temp, item, val;
	temp = "http://" + location.host + "/entertainment/music/newrelease.asp?ent=3&ID=";
	if(MySelect.options[MySelect.selectedIndex].value != "-")
  	{ 	
  		urltmp = temp + MySelect.options[MySelect.selectedIndex].value
		top.location.href=urltmp
  	}	
}

function musicAudio(MySelect, artID) {
	var temp, item, val;
	temp = "http://" + location.host + "/entertainment/music/art_lounge_music_b.asp?ID=";
	if(MySelect.options[MySelect.selectedIndex].value != "-")
  	{ 	
  		urltmp = temp + artID
  		urltmp = urltmp + "&SingleName=" + MySelect.options[MySelect.selectedIndex].text
  		urltmp = urltmp + "&audioFile=" + MySelect.options[MySelect.selectedIndex].value
		parent.frames("main").location.href=urltmp
  	}
}

function nmusicAudio(MySelect, artID, pg) {
	var temp, item, val;
	if (pg == "AR") {
		temp = "http://" + location.host + "/ar_entertainment/music/newrelease.asp?ID=";
	}
	else {
		temp = "http://" + location.host + "/entertainment/music/newrelease.asp?ID=";
	}

	if(MySelect.options[MySelect.selectedIndex].value != "-")
  	{ 	
  		urltmp = temp + artID
  		urltmp = urltmp + "&SingleName=" + MySelect.options[MySelect.selectedIndex].text
  		urltmp = urltmp + "&audioFile=" + MySelect.options[MySelect.selectedIndex].value
		parent.location.href=urltmp
  	}

}

function musicLRelease(MySelect,lpage) {
	var temp, item, val;
	if (lpage == "LP") {
		temp = "http://" + location.host + "/entertainment/music/lounge_frame.asp?ID=";
	}
	else { 
		temp = "http://" + location.host + "/entertainment/music/art_lounge_music_b.asp?ID=";
	}
	
	if(MySelect.options[MySelect.selectedIndex].value != "-")
  	{ 	
  		urltmp = temp + MySelect.options[MySelect.selectedIndex].value
		if (lpage == "LP") {
		   	location.href=urltmp
		}
		else {
	   		top.frames["main"].location.href=urltmp
	   	}
  	}	
}

function SwapOut(name,tname) {
	var temp;
	temp = "document."+ name +".src = "+ tname +"f.src";
	eval(temp);
	return true;
}

function SwapBack(name,tname) {
	var temp;
	temp = "document."+ name +".src = "+ tname +".src";
	eval(temp);
	return true;
}

function addBookmark() {
  var ID, Url, strcon, Title, cnt, fno, form_s;
  strcon = "&" ;
	form_s = document.forms.length;
	cnt = 0;
	fno = 0;
	while (cnt < form_s) {
		if (document.forms[cnt].name == "MyForm") {
			fno = cnt;
			break ;
		}	
		cnt++;	
	}
	if (fno > 0 ) {
	  ID = window.document.MyForm.ID.value;
	  Title = window.document.MyForm.Title.value;
		Url = location.href.toString();
	  if (Url.search("News=") == -1) 
			strcon = "?" ;
  
	  if (Url.search("ID=") == -1)
		{ 
		 Url= Url + strcon;
		 Url = Url + "ID=" + ID;
		}

	  if (window.external)
		  external.AddFavorite(Url ,"ThisisCyberia.com - " + Title);
	  else
		  alert("Your browser doesn't support this feature.");
	}
	else {
	  var Title, Url;
	  Title = window.document.title;
	  Url = location.href.toString();
	  if (window.external)
	    external.AddFavorite(Url,Title);
		else
	    alert("Your browser doesn't support this feature.");
	}
		
}

function reSize()
{
	var i;
	var oBody;
	var oFrame;
	for (i=0;i<parent.frames.length;i++)
	{
		if (window.name == parent.frames(i).name)
		{
		oBody	=	parent.frames(i).document.body;
		oFrame	=	parent.document.all(parent.frames(i).name);
		oFrame.style.height = oBody.scrollHeight + (oBody.offsetHeight - oBody.clientHeight);
		}
	}
}
//-->