// (c) radio101.de & salsa.at  
// <META NAME="ROBOTS" content="NOINDEX, NOFOLLOW">

if ((top.frames.length !=0) && (window.name!='salsatecas')) { top.location=self.location; } 

var xx2, yy2, title, rwObj, mouseX, mouseY, docX, docY, pixWindow, config, winPop = "popWin", Picture = "salsa";

function pix(url,winname,xxx,yyy,screenx,screeny) {
	if (pixWindow && !pixWindow.closed)	pixWindow.close();
	if (!title)	title="salsapictures.com - salsatecas.de - salsa.at";
	if (winname==null) winname="_blank"; 
//if (navigator.appName == 'Netscape') { width=xxx+6; height=yyy+6; }
//else if (navigator.appName == 'Microsoft Internet Explorer') { width=xxx+18; height=yyy+18; }
	var data = "left="+Math.floor((screen.availWidth-xxx)/8);
	data+= ",top="+Math.floor((screen.availHeight-yyy)/2);
	data+= ",width="+(xxx > screen.availWidth-10 ? screen.availWidth-10 : xxx);
	data+= ",height="+(yyy > screen.availHeight-10 ? screen.availHeight-10 : yyy);
	data+= ","+(config?config:"scrollbars=no,resizable=no");

	pixWindow = window.open("",Picture,data);
//	pixWindow = window.open(url,winname,"scrollbars=0,toolbar=0,location=0,directories=0,status=0,resizable=1,location=0,copyhistory=0,width="+width+",height="+height+"");
	pixWindow.document.open();
	pixWindow.document.writeln('<ht'+'ml><HE'+'AD>');
	pixWindow.document.writeln('<ti'+'tle>'+title+' - picture No.: '+url+'</ti'+'tle>');
	pixWindow.document.writeln('<scr'+'ipt>\n<!--');
	pixWindow.document.writeln('if (document.layers) document.captureEvents(Event.MOUSEDOWN|Event.MOUSEUP); document.onmousedown=md; document.onmouseup=mu; document.oncontextmenu=cm;');
	pixWindow.document.writeln('function md(evt) { if (evt&&evt.which==3) return false; return true; } function mu(evt) { self.close(); } function cm(evt) { return false; }');
	pixWindow.document.writeln('//-->\n</scr'+'ipt>');
	pixWindow.document.writeln('</he'+'ad>');
	pixWindow.document.writeln('<bo'+'dy background="'+url+'" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">');
	pixWindow.document.writeln('</b'+'ody></HT'+'ML>');
	pixWindow.document.close();
	if (parseInt(navigator.appVersion) >= 4)	pixWindow.focus();
//pixWindow.moveTo(screenx, screeny);  
 }

function enl_txt() {
document.write ("<P><FONT SIZE=2 COLOR=\"#44ff55\">(Die farbig umrandeten Bilder kannst Du zum Vergrößern anklicken und dann mit ALT+F4 wieder schliessen ");
document.write ("<BR><FONT COLOR=\"#ffff22\"> click at the colour-bordered pictures to enlarge them (close that new window: ALT+F4</A>) </FONT>");
document.write (" &nbsp; - &nbsp; <FONT COLOR=\"#ff3300\"> Pulsa sobre la foto para ampliar</FONT>)<BR></FONT>"); } 

