
function popupWin() {

text  = "<center><font face='Verdana' color='#FFFFFF' font-size='14px' weight='bold'> \n<br>";
text += "<title>Envia el Enlace a un Amigo</title>\n";
text += "<body background='templates/default/images/fondo.jpg' text='#FFFFFF' link='#D05628' vlink='#FFFFFF' alink='#FFFFFF'>\n";
text += "<form name='myform' action='/set.php' method='POST'>\n";
text += "<h4>Envia el Enlace a un Amigo</h4><br><br>\n";
text += "Nombre de tu Amigo<br><input type=text style='font-size: 13px; font-family: verdana; font-weight: bold; color: #4863A0; BORDER: #000000 1px solid ; BACKGROUND-COLOR: #F8F8F8' name ='zname' size='25'><br>\n";
text += "EMail de tu Amigo<br><input type=text style='font-size: 13px; font-family: verdana; font-weight: bold; color: #4863A0; BORDER: #000000 1px solid ; BACKGROUND-COLOR: #F8F8F8' name = 'to' size='25'><br>\n";
text += "Tu Nombre<br><input type=text style='font-size: 13px; font-family: verdana; font-weight: bold; color: #4863A0; BORDER: #000000 1px solid ; BACKGROUND-COLOR: #F8F8F8' name ='name' size='25'><br>\n";
text += "Tu EMail<br><input type=text style='font-size: 13px; font-family: verdana; font-weight: bold; color: #4863A0; BORDER: #000000 1px solid ; BACKGROUND-COLOR: #F8F8F8' name = 'my' size='25'><br>\n";
text += "Tus Comentarios<br><input type=text style='font-size: 13px; font-family: verdana; font-weight: bold; color: #4863A0; BORDER: #000000 1px solid ; BACKGROUND-COLOR: #F8F8F8' name = 'msg' size='25'><br>\n";
text += "<br><INPUT TYPE='SUBMIT' VALUE='Enviar' STYLE= 'font syze: 12px; color: #FFFFFF; border-color:#000000; border-width:1px; background-color: #9999CC'>\n";
text += "<INPUT TYPE='RESET' VALUE='Borrar' STYLE= 'font syze: 12px; color: #FFFFFF; border-color:#000000; border-width:1px; background-color: #9999CC'>\n";

text += "</form>\n";

newWindow = window.open('','newWin','width=500,height=390');
newWindow.document.write(text);
}
function bookmarksite(title,url){
if (window.sidebar)
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)
	window.external.AddFavorite(url, title);
}