// JavaScript Document
function tour(URL) {
var winl = (screen.width - 530) / 2;
var wint = (screen.height - 240) / 2;
winprops = 'height=240,width=530,top='+wint+',left='+winl+',scrollbars=no,resizable=no'
win = window.open(URL, 'mapa', winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function tourqt(URL) {
var winl = (screen.width - 530) / 2;
var wint = (screen.height - 265) / 2;
winprops = 'height=265,width=530,top='+wint+',left='+winl+',scrollbars=no,resizable=no'
win = window.open(URL, 'mapa', winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function banner(URL) {
var winl = (screen.width - 400) / 2;
var wint = (screen.height - 300) / 2;
winprops = 'height=300,width=400,top='+wint+',left='+winl+',scrollbars=no,resizable=no'
win = window.open(URL, 'mapa', winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function legal() {
var winl = (screen.width - 500) / 2;
var wint = (screen.height - 400) / 2;
winprops = 'height=400,width=500,top='+wint+',left='+winl+',scrollbars=yes,resizable=no'
win = window.open('legal.htm', 'legal', winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function rulegal() {
var winl = (screen.width - 500) / 2;
var wint = (screen.height - 400) / 2;
winprops = 'height=400,width=500,top='+wint+',left='+winl+',scrollbars=yes,resizable=no'
win = window.open('ru_legal.htm', 'legal', winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function amic(URL) {
var winl = (screen.width - 600) / 2;
var wint = (screen.height - 200) / 2;
winprops = 'height=300,width=600,top='+wint+',left='+winl+',scrollbars=no,resizable=no'
win = window.open(URL, 'amic', winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function imprimir(URL) {
var winl = (screen.width - 625) / 2;
var wint = (screen.height - 400) / 2;
winprops = 'height=400,width=625,top='+wint+',left='+winl+',scrollbars=yes,resizable=no'
win = window.open(URL, 'print', winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function promo(URL) {
var winl = (screen.width - 625) / 2;
var wint = (screen.height - 400) / 2;
winprops = 'height=400,width=625,top='+wint+',left='+winl+',scrollbars=yes,resizable=no'
win = window.open(URL, 'print', winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function credits() {
var winl = (screen.width - 200) / 2;
var wint = (screen.height - 200) / 2;
winprops = 'height=200,width=200,top='+wint+',left='+winl+',scrollbars=no,resizable=no'
win = window.open('credits.htm', 'credits', winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function openWindow(theURL,winName,features) {
		if (winName.window) winName.focus;
		popupWin = window.open(theURL,winName,features)
		popupWin.focus;
}
function openWindow2(URL, action) {
var winl = (screen.width - 400) / 2;
var wint = (screen.height - 100) / 2;
winprops = 'height=100,width=400,top='+wint+',left='+winl+',scrollbars=no,resizable=no'
win = window.open(URL, 'action', winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function imatge(URL) {
var winl = (screen.width - 600) / 2;
var wint = (screen.height - 200) / 2;
winprops = 'height=200,width=600,top='+wint+',left='+winl+',scrollbars=no,resizable=no'
win = window.open(URL, 'amic', winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function pdf(URL) {
var winl = (screen.width - 625) / 2;
var wint = (screen.height - 400) / 2;
winprops = 'height=400,width=625,top='+wint+',left='+winl+',scrollbars=yes,resizable=no'
win = window.open(URL, 'pdf', winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function close(URL) {
win = window.close(URL)
//if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

