// 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-400)/2 : 0;
TopPosition = (screen.height) ? (screen.height-630)/2 : 0;
settings = 'height=630,width=400,top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=1'
win = window.open(strRutaBase + "Tyre/Promos/Vales/Vales.htm","Vales",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("http://www.tyreplus.com.mx/Tyreplus_virtual/Tyre%20Plus%20Interactivo_Project2.html","Virtual",settings)
}

function SelLla(){
LeftPosition = (screen.width) ? (screen.width-870)/2 : 0;
TopPosition = (screen.height) ? (screen.height-595)/2 : 0;
settings = 'height=595,width=870,top='+TopPosition+',left='+LeftPosition+',scrollbars=1,resizable=1'
//win = window.open("http://www.tyreplus.com.mx/SelLlaV2/","SelLla",settings)
win = window.open(strRutaBase + "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 Colima(){
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=Colima&logo=logoTyre.png","Colima",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 DF_Molina(){
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=Molina&logo=logoTyre.png","Molina",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 CdObregon(){
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=CdObregon&logo=logoTyre.png","CdObregon",settings)
}
function DF_Patriotismo(){
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=Patriotismo&logo=logoTyre.png","Patriotismo",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 Queretaro2(){
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=QueretaroII&logo=logoTyre.png","QueretaroII",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)
}
function Morelia2(){
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=Morelia2&logo=logoTyre.png","Morelia2",settings)
}
function DF_Aguilas(){
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=DF_Aguilas&logo=logoTyre.png","DF_Aguilas",settings)
}
function DF_Coyoacan(){
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=DF_Coyoacan&logo=logoTyre.png","DF_Coyoacan",settings)
}
function SL(){
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=SLP&logo=logoTyre.png","SLP",settings)
}
function Puebla2(){
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=Puebla2&logo=logoTyre.png","Puebla2",settings)
}
function CiudadVictoria(){
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=CiudadVictoria&logo=logoTyre.png","CiudadVictoria",settings)
}
