// (c) radio101.de & salsa.at  
// <META NAME="ROBOTS" content="NOINDEX, NOFOLLOW">

d=document; 

var xx2, yy2, title, rwObj, mouseX, mouseY, docX, docY, pixWindow, config, winPop = "popWin", Picture = "salsa";

function pix_free(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);  
 }

// SCHWARZES BRETT: NO PW    
function pix_anno(url,winname,xxx,yyy,screenx,screeny) { if (navigator.appName == 'Netscape') { width=xxx+16; height=yyy+16; }
else if (navigator.appName == 'Microsoft Internet Explorer') { width=xxx+28; height=yyy+28; }
if (winname==null) winname="_blank"; var url2='http://www.salsatecas.net/guest/partnerboerse/' + url ; 
var wo = location.href.substring(0, 13) ;
if ( (wo == 'file:///D:/IN') || (wo == 'file:///D|/IN' ) ) { var url2= '' + url ; } 

var pixWindow = window.open(url2,winname,"scrollbars=0,toolbar=0,location=0,directories=0,status=0,resizable=1,location=0,copyhistory=1,width="+width+",height="+height+"");
pixWindow.location.href = url2; pixWindow.moveTo(screenx, screeny); 
 }


// copyright: radio101.de  & www.salsa.at //

