function OpenSponsoredLink(urlPuntata)
{
	//ShowFramed(urlPuntata);
	//return;
	
	var nomeFin=new String("MyNameIs");
	var rand=new String(Math.random());
	
	OpenWindow=window.open("", nomeFin+rand.substring(7,13), "height=220,width=500")
	OpenWindow.document.write('<HTML>\n')
	OpenWindow.document.write('<TITLE>Software Planet</TITLE>\n');
	OpenWindow.document.write('<BODY BGCOLOR="#FFFFFF" LINK="#0000FF">\n');
	OpenWindow.document.write('<CENTER><FONT SIZE="+1" COLOR="#FF0000">\nClicca <A HREF="'+urlPuntata+'" target="_blank">qui</A> per accedere alla pagina desiderata<br>\n');
	OpenWindow.document.write('</FONT></CENTER><BR>\n\n');


	//stampiamo a video il banner di BanSwap (per Guadagnare Navigando)

	numPuntata = new String(rand.substring(4,6));
	//numPuntata="111";

	OpenWindow.document.write('<!-- Inizio codice BanSwap -->\n');
	OpenWindow.document.write('<center>\n<a href="http://naturalismedicina.com/cgi-bin/ban/go1?u=IT-575p'+numPuntata+'" target="_blank">\n'); 
    OpenWindow.document.write('<img src="http://naturalismedicina.com/cgi-bin/ban/dis1?u=IT-575p'+numPuntata+'" width="468" ');
	OpenWindow.document.write('height="60" border="0"></a>\n</center>\n');
	OpenWindow.document.write('<!-- Fine codice BanSwap -->\n\n');

//stampiamo a video il banner di NewClick

	//OpenWindow.document.write('<!--Begin NewClick banner code-->\n');
	//settings = 'align=top width=468 height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no';
    
	//if(navigator.appName == "Netscape")
	//{
	//	OpenWindow.document.write('<center>\n<ilayer width=468 height=60 src="http://www.newclick.com/it/asp/banner.asp?id=2433"></ilayer>\n</center>\n');
	//} 
	//else 
	//{
	//	OpenWindow.document.write('<center>\n<iframe '+settings+' src="http://www.newclick.com/it/asp/banner.asp?id=2433"></iframe>\n</center>\n');
	//}
    	//OpenWindow.document.write('<!--End NewClick banner code-->\n\n');

	// banner di click-point
	OpenWindow.document.write('<center><a href="http://www.click-point.com/network/cgi-bin/rd1.cgi?a=16p');
	OpenWindow.document.write(numPuntata+'&amp;s=468x60" target="_blank">');
	OpenWindow.document.write('<img src="http://www.click-point.com/network/cgi-bin/bi1.cgi?a=16p'+numPuntata);
	OpenWindow.document.write('&amp;s=468x60" width="468" height="60" border=0 hspace=0 vspace=0></a></center>\n');

	OpenWindow.document.write('<CENTER><FONT SIZE="-2" COLOR="#FF0000">\nClicca <A HREF="javascript:self.close()">qui</A> per chiudere la finestra</FONT></CENTER>\n');

	OpenWindow.document.write('</BODY>\n');
	OpenWindow.document.write('</HTML>\n');	
}

function ShowFramed(urlPuntata)
{
	var nomeFin=new String("MyNameIs");
	var rand=new String(Math.random());

	OpenWindow=window.open("", nomeFin+rand.substring(7,13), "height=220,width=500");
	
	OpenWindow.document.write('<html><head><title>Software Planet - The Programmer\'s World!!</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>');

	OpenWindow.document.write('<frameset rows="100,*" frameborder="NO" border="0" framespacing="0">\n');
  	OpenWindow.document.write('<frame name="topFrame" scrolling="NO" noresize src="http://www.softwareplanet.net/Edinf/Links/upFrame.htm">\n');
  	OpenWindow.document.write('<frame name="mainFrame" src="'+urlPuntata+'">\n');
	OpenWindow.document.write('</frameset><noframes><body bgcolor="#FFFFFF" text="#000000"></body></noframes></html>\n');
}