function getURL(icon)
{  
		var URL = window.document.URL.toString();
        var Title= document.title.toString();
		var Title_encode = encodeURIComponent(Title);
		var URL_encode = encodeURIComponent(URL);

		switch (icon)
			{
				case "Email": 
				email1= "/news/printPage/messageForm.html?url="+URL+"&title="+Title;
				window.open(email1,"_blank","width=460, height=460, scrollbars=0"); 
				break;

				case "Link": 
				link1 = "/news/printPage/link.html?url="+URL+"&title="+Title;
				window.open(link1,"_blank","width=400,height=380,scrollbars=1");  
				break;

				case "Delicious": 
				news1 = "http://del.icio.us/post?url="+URL_encode+"&amp;title="+ Title_encode+ "&amp;jump=doclose"+ "&amp;partner=prnews";
				window.open(news1,"_blank","toolbar=no, width=700, height=400");
				break;

				case "Digg":
				var x = URL.split('?');
				u = "http://www.prnewswire.co.uk/cgi/news/release" + "?" + x[1];
	  			URL_encode1 = encodeURIComponent(u);
	    	    news1 = "http://digg.com/submit?phase=2&url="+URL_encode1+"&title="+ Title_encode;
	            window.open(news1,"_blank");
				break;

				case "Technorati":
				news1 = "http://technorati.com/search/"+'"'+Title_encode+'"'+"?partnerid=420";
	            window.open(news1,"_blank");
				break;

				default : 
				alert("no icon");
             }

        return true;
}
