// myprintln.js
function myprintln(s) { document.writeln(s); }  

/*function PromoFranquicias(){
LeftPosition = (screen.width) ? (screen.width-400)/2 : 0;
TopPosition = (screen.height) ? (screen.height-200)/2 : 0;
settings = 'height=200,width=400,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=1'
win = window.open(strRutaBase + "Tyre/PromoFranquicias.html","PromoFranquicias",settings)
}*/

function Promo(){
LeftPosition = (screen.width) ? (screen.width-600)/2 : 0;
TopPosition = (screen.height) ? (screen.height-120)/2 : 0;
settings = 'height=120,width=600,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=1'
win = window.open(strRutaBase + "/Tyre/Promociones.html","Promo",settings)
}

function Virtual(){
LeftPosition = (screen.width) ? (screen.width-903)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=903,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open(strRutaBase + "/Virtual/index.html","Virtual",settings)
}

function SelLla(){
LeftPosition = (screen.width) ? (screen.width-870)/2 : 0;
TopPosition = (screen.height) ? (screen.height-520)/2 : 0;
settings = 'height=520,width=870,top='+TopPosition+',left='+LeftPosition+',scrollbars=1,resizable=1'
win = window.open("http://www.tyreplus.com.mx/SelLlaV2/","SelLla",settings)
}
function Acapulco(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=Acapulco&logo=logoTyre.png","Acapulco",settings)
}
function Cuernavaca(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=Cuernavaca&logo=logoTyre.png","Cuernavaca",settings)
}
function Monterrey(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=Monterrey&logo=logoTyre.png","Monterrey",settings)
}
function Monterrey2(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=Monterrey2&logo=logoTyre.png","Monterrey2",settings)
}
function Morelia(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=Morelia&logo=logoTyre.png","Morelia",settings)
}
function Puebla(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=puebla&logo=logoTyre.png","Puebla",settings)
}
function Vallarta(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=Vallarta&logo=logoTyre.png","Vallarta",settings)
}
function Tuxtla(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=Tuxtla&logo=logoTyre.png","Tuxtla",settings)
}
function Tijuana(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=Tijuana&logo=logoTyre.png","Tijuana",settings)
}
function Villahermosa(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=Villahermosa&logo=logoTyre.png","Villahermosa",settings)
}
function Queretaro(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=Queretaro&logo=logoTyre.png","Queretaro",settings)
}
function Queretaro1(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=SanJuanRio&logo=logoTyre.png","Queretaro1",settings)
}
function Guadalajara(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=Guadalajara&logo=logoTyre.png","Guadalajara",settings)
}
function Guadalajara2(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=Guadalajara2&logo=logoTyre.png","Guadalajara2",settings)
}
function Guadalajara3(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/VermapaMS.asp?clave=Guadalajara3&logo=logoTyre.png","Guadalajara3",settings)
}
function leon(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/vermapaMS.asp?clave=leon&logo=logoTyre.png","leon",settings)
}
function Xalapa(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/vermapaMS.asp?clave=Veracruz&logo=logoTyre.png","Xalapa",settings)
}
function Cordoba(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/vermapaMS.asp?clave=Cordoba&logo=logoTyre.png","Cordoba",settings)
}
function Durango(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/vermapaMS.asp?clave=Durango&logo=logoTyre.png","Durango",settings)
}
function Tapachula(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/vermapaMS.asp?clave=Tapachula&logo=logoTyre.png","Tapachula",settings)
}
function Hermosillo(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/vermapaMS.asp?clave=Hermosillo&logo=logoTyre.png","Hermosillo",settings)
}
function Laredo(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/vermapaMS.asp?clave=Laredo&logo=logoTyre.png","Laredo",settings)
}
function Reynosa(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/vermapaMS.asp?clave=Reynosa&logo=logoTyre.png","Reynosa",settings)
}
function Celaya(){
LeftPosition = (screen.width) ? (screen.width-660)/2 : 0;
TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
settings = 'height=500,width=660,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0'
win = window.open("../MapasMicrosoft/vermapaMS.asp?clave=Celaya&logo=logoTyre.png","Celaya",settings)
}