// PopUpWin.js
function newWindow(TatigusPicture,X,Y) {
var AX=X+50;
var AY=Y+50;
if (screen) {
var leftpos=screen.width;
var toppos=screen.height;
leftpos = (leftpos-AX)/2;
leftpos =parseInt(leftpos,10)
toppos = (toppos-AY)/2;
toppos =parseInt(toppos,10)
}
else {
leftpos = 30
toppos = 10
}
TatiGusWindow=window.open("",'TatiGusWin', 'scrollbars=no,width=' +AX+',height='+AY+',left='+leftpos+',top='+toppos)
TatiGusWindow.document.write ( "
Imagen<\/TITLE><\/HEAD>" );
TatiGusWindow.document.write ( "" );
TatiGusWindow.document.write ( "
" );
TatiGusWindow.document.write ("
");
TatiGusWindow.document.write ( "<\/center><\/BODY><\/HTML>" );
TatiGusWindow.document.close() // close layout stream
TatiGusWindow.focus()
}
function newWindowFree(TatigusPicture,X,Y) {
var AX=X+50;
var AY=Y+50;
if (screen) {
var leftpos=screen.width;
var toppos=screen.height;
leftpos = (leftpos-AX)/2;
leftpos =parseInt(leftpos,10)
toppos = (toppos-AY)/2;
toppos =parseInt(toppos,10)
}
else {
leftpos = 30
toppos = 10
}
TatiGusWindow=window.open("",'TatiGusWin', 'scrollbars=no,width=' +AX+',height='+AY+',left='+leftpos+',top='+toppos)
TatiGusWindow.document.write ( "Imagen<\/TITLE><\/HEAD>" );
TatiGusWindow.document.write ( "" );
TatiGusWindow.document.write ( "
" );
TatiGusWindow.document.write ("
");
TatiGusWindow.document.write ( "<\/center><\/BODY><\/HTML>" );
TatiGusWindow.document.close() // close layout stream
TatiGusWindow.focus()
}
function newWindowWBars(TatigusPicture,X,Y) {
var AX=X+20;
var AY=Y+20;
if (screen) {
var leftpos=screen.width;
var toppos=screen.height;
leftpos = (leftpos-X)/2;
leftpos =parseInt(leftpos,10)
toppos = (toppos-Y)/2;
toppos =parseInt(toppos,10)
}
else {
leftpos = 30
toppos = 10
}
TatiGusWindow=window.open("",'TatiGusWin', 'scrollbars=yes,width=' +AX+',height='+AY+',left='+leftpos+',top='+toppos)
TatiGusWindow.document.write ( "Imagen<\/TITLE><\/HEAD>" );
TatiGusWindow.document.write ( "" );
TatiGusWindow.document.write ( "
" );
TatiGusWindow.document.write ("
");
TatiGusWindow.document.write ( "<\/center><\/BODY><\/HTML>" );
TatiGusWindow.document.close() // close layout stream
TatiGusWindow.focus()
}