
// url with x: opens in new window
// url with y: opens in top frame (a change since version 3.0+)
// url standard: opens in same frame

function jumping(url) {
 if(url == "nothing") { document.forms[0].reset(); document.forms[0].elements[0].blur(); return; }
 if(url == "bookmark") { bookmark_this_page(); return; }
 if(url == "email") { location.href = 'mailto:?subject=Ciao,%20ho%20trovato%20una%20immagine%20carina.&amp;body=' + window.location.href;  return; }
 if(url == "greatpic") { Bild_gross_in_neuem_Fenster(); return; }
 if(url == "fototransfer") { fototransfer(); return; }
 if(url == "opedo") { opedo(); return; }
 var xyz = url.slice(0,5);
 if (xyz == "xhttp") {var url2 = url.replace("xhttp","http"); window.open(url2,"_blank");  return; }
 if (xyz == "xwyp/") {var url2 = url.replace("xwyp/","wyp/"); window.open(url2,"_blank");  return; }
 if (xyz == "yhttp") {var url2 = url.replace("yhttp","http"); top.location.href = url2 ;  return; }
 if (parent.frame_name) { parent.frame_name.location.href = url ; } else { location.href = url ; }
}

function bookmark_this_page() { 
 if (document.all) {  window.external.AddFavorite(location.href, document.title); }
 else { alert('Per gli utenti con Netscape: utilizza la combinazione di tasti CTRL + D   /   Bitte benutzen Sie die Tasten Strg + D wenn Sie mit Netscape unterwegs sind !'); }
}

function make_drop_down_menue() {
 document.write('<form name="formpics">') ;
 document.write('<select name="menupics" onChange="jumping(this.form.menupics.options[this.form.menupics.options.selectedIndex].value)"  valign="middle">') ;
 document.write('<option value="http://www.miss777.com/faccine/"> Immagini</option>') ;
 document.write('<option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Ridere.html">Ridere</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Saltellare.html">Saltellare</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Rabbia.html">Rabbia</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Personaggi.html">Personaggi</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Oggetti.html">Oggetti</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Paura.html">Paura</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Innocenza.html">Innocenza</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Scritte.html">Scritte</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Tristezza.html">Tristezza</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Varie.html">Varie</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Stupore.html">Stupore</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Sonno.html">Sonno</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Simboli.html">Simboli</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Lingua.html">Lingua</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Ammiccare.html">Ammiccare</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Feste.html">Feste</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Fiori.html">Fiori</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Indifferenza.html">Indifferenza</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Dolore.html">Dolore</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Cibo.html">Cibo</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Confusione.html">Confusione</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Diavoli.html">Diavoli</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Disgusto.html">Disgusto</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Bevande.html">Bevande</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Azioni.html">Azioni</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Animali.html">Animali</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Arrossire.html">Arrossire</option><option style="background-color:#FFF0F5" value="http://www.miss777.com/faccine/Amore.html">Amore</option> ') ;
 document.write('</select></form>') ;
}

function Bild_ganz_gross_in_neuem_Fenster(bild,w,h,coloritis) {
var wF = w - (-0);
var hF = h - (-12);
if ("yes" == "no") {var code = ' onblur="window.close();"' ;} else { var code = "";}
if ((screen.width < wF)||(screen.height < hF)) { window.open(bild, "_blank", "status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes");}
else { 
BildOrginal = window.open("about:blank","_blank","width="+wF+",height="+hF+",left=0,top=0");
BildOrginal.document.open();
BildOrginal.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>'+bild+'</title></head></HEAD><body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" bgcolor="#'+coloritis+'"'+code+'><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" valign="top"><img src="'+bild+'"><br><font size="1" face="Verdana, Arial"><a href="javascript:window.close()" title="Bitte hier klicken, um dieses Fenster zu schließen">Fenster schlie&szlig;en</a></font></td></tr></table></body></html>');
BildOrginal.document.close();
BildOrginal.focus();}
}

function kopieren(inhalt)
{
zwischenspeicher.innerText = inhalt.innerText;
ablage = zwischenspeicher.createTextRange();
ablage.execCommand("Copy");
}

function bb_code(bild_url) { document.getElementById("kopiertext").value = '[IMG]'+bild_url+'[/IMG]' ; }
function html_code(bild_url) { document.getElementById("kopiertext").value = '<IMG SRC="'+bild_url+'">' ; }
function url_code(bild_url) { document.getElementById("kopiertext").value = bild_url ; }


// hier beginnt die bildpartner.de Galerie-Schnittstelle		2002-11-27
// Provisionierung ueber affili.net - Ihre Affilinet ID bitte in der Config.php eintragen
// ACHTUNG: diese Schnittstelle darf nur in unveraenderter Form eingesetzt werden. Mehr Informationen dazu entnehmen Sie der Dokumentation und der Nutzungslizenz fuer den Einsatz der bildpartner.de Galerie-Schnittstelle.
// Mit der Nutzung der bildpartner Galerie-Schnittstelle erkennen Sie die Geltung der Nuzuungslizenz Nutzungslizenz der bildpartner.de Galerie-Schnittstelle und der AGBs der adconsys AG an.
// Kontakt: partner@bildpartner.de
// www.bildpartner.de
// (c) 2002 adconsys AG, www.adconsys.de

function picturetransfer(url, ref, format) {
	if (!format) format = '';
	fotowin=window.open('http://partners.webmasterplan.com/click.asp?ref='+ref+'&b=0&type=text&tnb=5&site=2587&diurl=http://www.bildpartner.de/upload/picup_af.php/'+format+'/'+url+'','fotowin','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=300,height=250');
	fotowin.focus();
}

function preise(mode) {
	// Aufruf der Preisliste
	// mode = "" (leer) => gesamte Preisliste
	// mode = fotos => Preisliste fuer Fotos und Poster
	// mode = geschenke => Preisliste fuer Geschenke
	
	preiswin=window.open('http://www.bildpartner.de/preise_ext.php?mode='+mode+'','preiswin','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=560,height=450');
	preiswin.focus();
}

