// Lexus SC300

function opensoarer()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=4138&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function openbc()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=3928&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function opencnf()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=3929&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function opencc()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=3930&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function opened()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=3943&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function openei()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=3944&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function openepp()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=3945&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function openexh()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=3946&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function openfc()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=3947&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function openic()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=3952&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function openintakes()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=3953&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function opensuspension()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=3970&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function opentransmission()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=3972&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function openturbokits()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=3973&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function opensc300f1()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=484&SearchYN=N&CatalogID=3449","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function opensc300f2()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=484&SearchYN=N&CatalogID=7601","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function opensc300f3()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=484&SearchYN=N&CatalogID=7693","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}


// Promo & Race Videos

function openpromo()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateM7.asp?SubFolderID=535&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}
function openvideos()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateP.asp?SubFolderID=590&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=480")
}


// Home

function openorder()
{
window.open("http://www.mvpmotorsports.com/asp/mzOrderStatusEnq.asp","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=630,height=480")
}
function openbasket()
{
window.open("http://www.mvpmotorsports.com/asp/gcOrder.asp","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=630,height=480")
}
function openterms()
{
window.open("http://www.mvpmotorsports.com/Merchant/mvpfaq1.htm","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=630,height=480")
}
function openfeedback()
{
window.open("http://www.mvpmotorsports.com/asp/mzTellUs.asp","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=630,height=480")
}
function openvideos()
{
window.open("http://www.mvpmotorsports.com/Templates/frmTemplateP.asp?SubFolderID=590&SearchYN=N","_blank","toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=630,height=480")
}




// Image Popups

PositionX = 100;
PositionY = 100;


defaultWidth  = 800;
defaultHeight = 600;

var AutoClose = true;

if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=200,height=150,left='+PositionX+',top='+PositionY;
function BigImage(imageURL,imageTitle){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title>Loading...</title><style>body{margin:0px;}</style>');writeln('<sc'+'ript>');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=250-(document.body.clientWidth-document.images[0].width);');
writeln('height=100-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');       
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
if (!AutoClose) writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
else writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
writeln('<img name="George" src='+imageURL+' style="display:block"></body></html>');
close();		
}}
