
<root>
	<title set="waNotizie">&lt;a name=&quot;inizio&quot;&gt;Traspi.net notizie&lt;/a&gt;</title>

	<part>
		<destination mode="replace" zone="waNotizie" create="true" />

 <data><![CDATA[



	<div id="paginanotizia" class="iBlock">






			<h2>Non berti la patente</h2>
			<h1>a cura di Redazione<br />30 Lug 10</h1>

<style>
#notiziamauro{font-size: small; font-weight:normal;padding: 10px 10px 10px 10px;text-align: justify}
</style>

<div id="notiziamauro">
<img src='/foto/41141(1).jpg' alt='Non berti la patente' vspace='7' hspace='7' border='0' align='right' height='397' width='504'>Parte questo fine settimana la campagna dell'Assessorato alla Polizia Municipale del Comune di Torino destinata ai frequentatori dei locali pubblici per ricordare loro i rischi della guida sotto l'influenza dell'alcol.<BR><BR>Sottobicchieri, tovagliette, e adesivi con lo slogan <b>"Non berti la patente"</b> saranno distribuiti dagli Agenti della Polizia municipale oggi pomeriggio, ai titolari dei locali del Quadrilatero Romano, dei Murazzi, di piazza Vittorio Veneto e di San Salvario.<BR><BR>La campagna, che consta di 880 manifesti, 20 mila adesivi, 20 mila sottobicchieri e 10 mila tovagliette, ricorda attraverso slogan e disegni quanto &#232; previsto dal Codice della Strada in caso di guida in stato di ebbrezza.<BR><BR><i>"Non vogliamo trasmettere messaggi inquietanti</i> - spiega l'assessore alla Polizia Municipale Domenico Mangone - <i>ma cercare di responsabilizzare<BR>soprattutto i pi&#249; giovani ricordando che l'abuso di alcol rappresenta un grave rischio per loro e per gli altri"</i>.<BR><BR><BR><BR>
</div>


<div align=center>precedente<br /><a href="notizia.asp?idnotizia=10367#_Notizie" rev="async">Premiato il Castello di Racconigi</a></div>

<div align=center>successivo<br /><a href="notizia.asp?idnotizia=10397#_Notizie" rev="async">Italian Tattoo Artists per due giorni a Torino</a></div>




<script>


function attivoeventi() {
//alert('X1');
var pix=document.getElementById("notiziamauro").getElementsByTagName("img");
for (i=0; i<pix.length; i++) {
w=pix[i].width;
h=pix[i].height;
kw=w/150; //massima larghezza
kh=h/150; //massima altezza
k=1;
if (kw > k)  { k=kw};
if (kh > k) { k=kh};
w=parseInt(w/k);
h=parseInt(h/k);
//alert(w + ' x ' +h);
pix[i].width=w;
pix[i].height=h;

//test vedo le foto a tutta pagina

pix[i].addEventListener('click',function () {
  schermointero(this);
},false);


//alert("ok");

}
//alert('X4');
};

//alert('001');

sostituisco='paginanotizia';
//sostituisco='WebApp';

attivoeventi();
//alert('001');
var memoriamauro='';

function schermointerooff(t1e) {
 //var t1f=document.getElementById("pienoschermo");
 //t1f.innerHTML='';
 //t1f.style.display='none';
 var t1f=document.getElementById(sostituisco);
 t1f.innerHTML=memoriamauro;
 memoriamauro='';
 window.onorientationchange=null;
 attivoeventi();
}


function dumpProps(obj, parent) {
   // Go through all the properties of the passed-in object 
   for (var i in obj) {
      // if a parent (2nd parameter) was passed in, then use that to 
      // build the message. Message includes i (the object's property name) 
      // then the object's property value on a new line 
      if (parent) { var msg = parent + "." + i + "\n" + obj[i]; } else { var msg = i + "\n" + obj[i]; }
      // Display the message. If the user clicks "OK", then continue. If they 
      // click "CANCEL" then quit this level of recursion 
      if (!confirm(msg)) { return; }
      // If this property (i) is an object, then recursively process the object 
      if (typeof obj[i] == "object") { 
         if (parent) { dumpProps(obj[i], parent + "." + i); } else { dumpProps(obj[i], i); }
      }
   }
}

function eventoresize() {
  t1ex=document.getElementById('immagineingrandita');
  //alert(t1ex.id);
  //alert(t1ex.style.visibility);
  //alert(t1ex.style.display);
  //dumpProps(document.getElementById(sostituisco).style);
  


  if (window.innerWidth==320) {ingrandisciverticale(t1ex)} else  {ingrandisciorizzontale(t1ex)};
}


function schermointero(t1e) {
 //var t1f=document.getElementById("pienoschermo");
 //t1f.innerHTML='<img width=320 height=480 onclick="schermointerooff()" src="' + t1e.src + '" border=0>';
 //t1f.style.display='block';
 //t1f.style.position="fixed";
 //t1f.style.top="0px";
 //t1f.style.left="0px";
//alert (window.innerWidth);
// alert (window.innerHeight);
var t1f=document.getElementById(sostituisco);
memoriamauro=t1f.innerHTML;
//alert('OK');
//alert(window.innerWidth);
window.onorientationchange=eventoresize;
//alert('OK');
if (window.innerWidth==320) {ingrandisciverticale(t1e)} else  {ingrandisciorizzontale(t1e)};
};

function ingrandisciorizzontale(t1e2) {
var t1f=document.getElementById(sostituisco);
window.scrollTo(0, 54);
w=t1e2.width;
h=t1e2.height;
kw=w/(356+86); //massima larghezza
kh=h/(302-72); //massima altezza
k=0;
if (kw > k)  { k=kw};
if (kh > k) { k=kh};
w=parseInt(w/k);
h=parseInt(h/k);
//alert(w + ' x ' +h);
t1f.innerHTML='<p align=center><img id="immagineingrandita" width=' + w + ' height=' + h + ' onclick="schermointerooff()" src="' + t1e2.src + '" border=0><br />clicca sull\'immagine per tornare alla notizia</p>';
}

function ingrandisciverticale(t1e2) {
var t1f=document.getElementById(sostituisco);
window.scrollTo(0, 54);
w=t1e2.width;
h=t1e2.height;
kw=w/280; //massima larghezza
kh=h/(325+53); //massima altezza
k=0;
if (kw > k)  { k=kw};
if (kh > k) { k=kh};
w=parseInt(w/k);
h=parseInt(h/k);
//alert(w + ' x ' +h);
t1f.innerHTML='<p align=center><img id="immagineingrandita" width=' + w + ' height=' + h + ' onclick="schermointerooff()" src="' + t1e2.src + '" border=0><br />clicca sull\'immagine per tornare alla notizia</p>';
}


</script>







</div>



<!-- <div id="pienoschermo" style="display: none">vuoto</div> -->



<div id="iFooter">&copy;2008 Traspi.net<br /><a href="#inizio">Torna su</a> &nbsp; <a href="http://www.traspi.net/traspihomepage.asp?IDCategoria=1&iphone=nocheck"> Versione normale</a></div>

]]></data>
</part>
</root>
