<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <?php include("includes/header.php");?>
 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<title>Proyecto dpoo</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="iecss.css" />
<![endif]-->
<script>
PositionX = 100;
PositionY = 100;


defaultWidth  = 500;
defaultHeight = 500;
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=150,height=100,left='+PositionX+',top='+PositionY;
function popImage(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(300,300);');
writeln('width=300-(document.body.clientWidth-document.images[0].width);');
writeln('height=300-(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=ffffff scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
else writeln('</head><body bgcolor=ffffff scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
writeln('<img name="George" src='+imageURL+' style="display:block"></body></html>');
close();		
}}

</script>
<script type="text/javascript" src="js/boxOver.js"></script>
<script type="text/javascript" src="mootools-release-1.11.js"></script>
<script type="text/javascript" src="thumbnoo.js"></script>
</head>
<body>

<div id="main_container">
	<div class="top_bar">
    	<div class="top_search">
        	<div class="search_text"><a href="index.php?ad=">Busqueda avanzada</a></div>
            <form action="index.php" method="GET">
            <input type="text" class="search_input" name="ad" />
            <input type="submit" src="images/search.gif" /></form>

        </div>
        
           
    </div>
	<div id="header">
        
        <div id="logo">
            
	    </div>
        
        <div class="oferte_content">
        	<div class="top_divider"><img src="images/header_divider.png" alt="" title="" width="1" height="164" /></div>
        	<div class="oferta">
            
           		<div class="oferta_content">
                	
                	
                                        <div class="oferta_details">
                            <div class="oferta_title"></div>
                            <div class="oferta_text">

                            </div>
 
                    </div>
                </div>
                <div class="oferta_pagination">
                              
                </div>        

            </div>
            <div class="top_divider"><img src="images/header_divider.png" alt="" title="" width="1" height="164" /></div>
        	
        </div> <!-- end of oferte_content-->
        

    </div>
    
    <div id="main_content"> 
   
            <div id="menu_tab">
            <div class="left_menu_corner"></div>
                    <ul class="menu">
                         <li><a href="index.php" class="nav1">  Home </a></li>
                         
                         <li class="divider"></li>
                         <li><a href="documentacion.html" class="nav6">Contact Us</a></li>
                         <li class="divider"></li>
                         <li class="currencies">
                         </li>
                    </ul>

             <div class="right_menu_corner"></div>
            </div><!-- end of menu tab -->
            
    <div class="crumb_navigation">
    
    
    </div>        
            
    
   <div class="left_content">
    <div class="title_box">A&ntilde;o</div>
    
        <ul class="left_menu">
        <li class="odd"><a href="index.php?anio=2010">2010</a></li>
        <li class="even"><a href="index.php?anio=2009">2009</a></li>
         <li class="odd"><a href="index.php?anio=2008">2008</a></li>
         <li class="odd"><a href="index.php?anio=2007">2007</a></li>
        <li class="even"><a href="index.php?anio=2006">2006</a></li>
         <li class="odd"><a href="index.php?anio=2005">2005</a></li>
         <li class="odd"><a href="index.php?anio=2004">2004</a></li>
        <li class="even"><a href="index.php?anio=2003">2003</a></li>
         <li class="odd"><a href="index.php?anio=2002">2002</a></li>
         <li class="odd"><a href="index.php?anio=2001">2001</a></li>
        <li class="even"><a href="index.php?anio=2000">2000</a></li>
         <li class="odd"><a href="index.php?anio=old">Antes</a></li>
        </ul> 
        
        
     
   
        
    
   </div><!-- end of left content -->    
   </div><!-- end of left content -->
  

   
   <div class="center_content">
   <?php $i = new vehiculo();
   if(isset($_GET["id"])){
			$id=$_GET["id"];
			$i = $i->getvehiculo($id);}
	else{location("index.php");
} ?>
   	<div class="center_title_bar"> Detalle <?php echo $i->getmarca();?> </div>
    
    	<div class="prod_box_big">
        	<div class="top_prod_box_big"></div>
            <div class="center_prod_box_big">            
                 
                 <div class="product_img_big">
                 <a <img src="<?php echo $i->getfoto();?>" width="150" height="150" class="thumbnoo h:374 w:500" style="float: left" /></a>
                 
                 </div>
                     <div class="details_big_box">
                         <div class="product_title_big"><?php echo $i->getmarca();?> <?php echo $i->getmodelo();?></div>
                         <div class="specifications">
                            Disponibilidad: <span class="blue">
                              <?php if($i->getvendido()!='0'){ echo "No Disponible";}
							  		else{ echo "Disponible";}?>
                            </span><br />

                            Aņo: <span class="blue"><?php echo $i->getanio();?></span><br />
                            
                            kilometraje: <span class="blue"><?php echo $i->getkilometraje();?></span><br />
                            
                            Color: <span class="blue"><?php echo $i->getcolor();?></span><br />
                         </div>
                         <div class="prod_price_big"><span class="price">$<?php echo $i->getprecio();?></span></div>
                         
                         <a href="#" class="addtocart">add to cart</a>
                         <a href="#" class="compare">compare</a>
                     </div>                        
            </div>
            <div class="bottom_prod_box_big"></div>                                
        </div>
    
   
   
   </div><!-- end of center content -->
   
<div class="right_content">
   	
    <div class="title_box">Marcas</div>
    
        <ul class="left_menu">
        <li class="odd"><a href="index.php?marca=chevrolet">Chevrolet</a></li>
        <li class="even"><a href="index.php?marca=kia">Kia</a></li>
        <li class="odd"><a href="index.php?marca=subaru">Subaru</a></li>
        <li class="even"><a href="index.php?marca=ford">Ford</a></li>
        <li class="odd"><a href="index.php?marca=renault">Renault</a></li>
        <li class="even"><a href="index.php?marca=peugeot">Peugeot</a></li>
        <li class="odd"><a href="index.php?marca=hyundai">Hyundai</a></li>
        <li class="even"><a href="index.php?marca=Aston Martin">Aston Martin</a></li>
        <li class="even"><a href="index.php?marca=dodge">Dodge</a></li>
        <li class="even"><a href="index.php?marca=ferrari">Ferrari</a></li>
        <li class="even"><a href="index.php?marca=Cadillac">cadillac</a></li>
        <li class="even"><a href="index.php?marca=Jaguar">Jaguar</a></li>
       <li class="even"><a href="index.php?marca=porsche">Porsche</a></li>
     </ul>    
       
     
   </div><!-- end of right content -->   
   
            
   </div><!-- end of main content -->
   
   
   <div class="footer">
   

        <div class="left_footer">
        <img src="images/footer_logo.png" alt="" title="" width="170" height="49"/>
        </div>
        
        <div class="center_footer">
                </div>
        
        <div class="right_footer">
        <a href="index.php">home</a>
         <a href="documentacion.html">contact us</a>
        </div>   
   
   </div>                 


</div>
<!-- end of main_container -->
</body>
</html>