12v Auto Tech
View Cart
Search
Categories
Tools
Accessories
Radar/Laser Detectors
Lighting
Cleaning
Package Deals
Cooking
Coffee
Outdoors
Safety
Comfort
Emergency
Cell Phone Adapters
GPS Receivers and Accessories
Power Inverters
Hands Free Sets
Replacement Parts
Site Information
Home
About 12V Auto Tech
Contact Us
Order/Payment Info
Shipping Info
Return Policy
Privacy Policy
Affiliations
Survival Hammer
NoCord Emergency Escape Survival Hammer
This is a great item for vehicle saftey. Never worry about getting trapped in your car by powerdoors and powerwindow failures.
Survival Hammer

MSRP
$19.95
The Survival Hammer can help you escape from your car in the event that your power windows and power doors stop functioning. The hammer features a shielded cutting blade on the side for fast removal of a stuck seat belt. The Hammer's hitting surface is made from a pointed steel rod to easily break through thick windows. The Survival Hammer comes in an easy to locate flourescent orange color. Each unit comes with a mounting bracket, so that the Hammer can always be found when you need it. errormsg= "Image does not exist."; return false; } else { $this->origem= $imagem; $this->destino= $destino; } // obtém a extensão do arquivo if (!$this->ext= $this->getExtension($imagem)) { $this->errormsg= "Invalid Extension."; return false; } // gera a imagem do thumbnail com o caminho e nome do arquivo especificados // $this->image = $this->createThumbImg($aprox); } // retorna as dimensões (x,y) do thumbnail a ser gerado function getThumbXY($x, $y, $aprox) { if ($x >= $y) { if ($x > $aprox) { $x1= (int)($x * ($aprox/$x)); $y1= (int)($y * ($aprox/$x)); } else { $x1= $x; $y1= $y; } } else { if ($y > $aprox) { $x1= (int)($x * ($aprox/$y)); $y1= (int)($y * ($aprox/$y)); } // Caso a imagem seja menor do que // deve ser aproximado, mantém tamanho original para o thumb. else { $x1= $x; $y1= $y; } } $vet= array("x" => $x1, "y" => $y1); return $vet; } // cria a imagem do thumbnail function createThumbImg($aprox) { // imagem de origem $img_origem= $this->createImg(); // obtém as dimensões da imagem original $origem_x= ImagesX($img_origem); $origem_y= ImagesY($img_origem); // obtém as dimensões do thumbnail $vetor= $this->getThumbXY($origem_x, $origem_y, $aprox); $x= $vetor['x']; $y= $vetor['y']; // cria a imagem do thumbnail $img_final = ImageCreateTrueColor($x, $y); // $img_final = ImageCreate($x, $y); ImageCopyResampled($img_final, $img_origem, 0, 0, 0, 0, $x+1, $y+1, $origem_x, $origem_y); // o arquivo é gravado if ($this->ext == "png") imagepng($img_final, $this->destino); elseif ($this->ext == "jpg") imagejpeg($img_final, $this->destino); // return $img_final; } // cria uma imagem a partir do arquivo de origem function createImg() { // imagem de origem if ($this->ext == "png") $img_origem= imagecreatefrompng($this->origem); elseif ($this->ext == "jpg" || $this->ext == "jpeg") $img_origem= imagecreatefromjpeg($this->origem); return $img_origem; } // obtém a extensão do arquivo function getExtension($imagem) { // isso é para obter o mime-type da imagem. $mime= getimagesize($imagem); if ($mime[2] == 2) { $ext= "jpg"; return $ext; } else if ($mime[2] == 3) { $ext= "png"; return $ext; } else return false; } // mensagem de erro function getErrorMsg() { return $this->errormsg; } function isError() { return $this->errflag; } } ?>
Click an image to see a larger picture

©Copyright 12v Auto Tech, 2003 - 2006
The Improvement of Movement