// Funcions per a la publicitat

function mostrapubli (posicio) {

var publi = new Array();

publi['publisuperior1'] = new Array(
{start:'0', end:'80', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "5706313928";google_ad_width = 728; google_ad_height = 90;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'},
{start:'81', end:'84', src:'<a href="/wiki/Pencaires">  <img src="/imatges/Baners_SC_collabora.gif" alt="Col·laboreu amb Softcatalà" />  </a>'},
{start:'85', end:'86', src:'<a href="/wiki/Rebost:Ubuntu">  <img src="/imatges/Baners_SC_ubuntu.gif" alt="Ubuntu en català" />  </a>'},
{start:'87', end:'89', src:'<a href="/wiki/Rebost:Fedora">  <img src="/imatges/Baners_SC_fedora.gif" alt="Fedora en català" />  </a>'},
{start:'90', end:'100', src:'<a href="/wiki/Publicitat">  <img src="/imatges/Baners_SC_anuncieuvos.gif" alt="Voleu anunciar-vos a Softcatalà?" />  </a>'}
);

publi['publisuperior1_portada'] = new Array(
{start:'0', end:'85', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "5706313928";google_ad_width = 728; google_ad_height = 90;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'},
{start:'86', end:'91', src:'<a href="/wiki/Pencaires">  <img src="/imatges/Baners_SC_collabora.gif" alt="Col·laboreu amb Softcatalà" />  </a>'},
{start:'92', end:'100', src:'<a href="/wiki/Publicitat">  <img src="/imatges/Baners_SC_anuncieuvos.gif" alt="Voleu anunciar-vos a Softcatalà?" />  </a>'}
);

publi['publisuperior1_corrector'] = new Array(
{start:'0', end:'85', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "5706313928";google_ad_width = 728; google_ad_height = 90;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'},
{start:'86', end:'91', src:'<a href="/wiki/Pencaires">  <img src="/imatges/Baners_SC_collabora.gif" alt="Col·laboreu amb Softcatalà" />  </a>'},
{start:'92', end:'100', src:'<a href="/wiki/Publicitat">  <img src="/imatges/Baners_SC_anuncieuvos.gif" alt="Voleu anunciar-vos a Softcatalà?" />  </a>'}
);

publi['publisuperior1_traductor'] = new Array(
{start:'0', end:'85', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "5706313928";google_ad_width = 728; google_ad_height = 90;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'},
{start:'86', end:'91', src:'<a href="/wiki/Pencaires">  <img src="/imatges/Baners_SC_collabora.gif" alt="Col·laboreu amb Softcatalà" />  </a>'},
{start:'92', end:'100', src:'<a href="/wiki/Publicitat">  <img src="/imatges/Baners_SC_anuncieuvos.gif" alt="Voleu anunciar-vos a Softcatalà?" />  </a>'}
);

publi['publisuperior1_wiki'] = new Array(
{start:'0', end:'85', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "5706313928";google_ad_width = 728; google_ad_height = 90;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'},
{start:'86', end:'91', src:'<a href="/wiki/Pencaires">  <img src="/imatges/Baners_SC_collabora.gif" alt="Col·laboreu amb Softcatalà" />  </a>'},
{start:'92', end:'100', src:'<a href="/wiki/Publicitat">  <img src="/imatges/Baners_SC_anuncieuvos.gif" alt="Voleu anunciar-vos a Softcatalà?" />  </a>'}
);


publi['publisuperior1_rebost'] = new Array(
{start:'0', end:'85', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "5706313928";google_ad_width = 728; google_ad_height = 90;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'},
{start:'86', end:'91', src:'<a href="/wiki/Pencaires">  <img src="/imatges/Baners_SC_collabora.gif" alt="Col·laboreu amb Softcatalà" />  </a>'},
{start:'92', end:'100', src:'<a href="/wiki/Publicitat">  <img src="/imatges/Baners_SC_anuncieuvos.gif" alt="Voleu anunciar-vos a Softcatalà?" />  </a>'}
);

publi['publisuperior1_forum'] = new Array(
{start:'0', end:'85', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "5706313928";google_ad_width = 728; google_ad_height = 90;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'},
{start:'86', end:'91', src:'<a href="/wiki/Pencaires">  <img src="/imatges/Baners_SC_collabora.gif" alt="Col·laboreu amb Softcatalà" />  </a>'},
{start:'92', end:'100', src:'<a href="/wiki/Publicitat">  <img src="/imatges/Baners_SC_anuncieuvos.gif" alt="Voleu anunciar-vos a Softcatalà?" />  </a>'}
);

publi['publisuperior2'] = new Array(
{start:'0', end:'75', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "7786340015";google_ad_width = 234;google_ad_height = 60;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'},
{start:'76', end:'77', src:'<a href="/wiki/Pencaires">  <img src="/imatges/234x90_SC_collabora.gif" alt="Col·laboreu amb Softcatalà" />  </a>'},
{start:'78', end:'80', src:'<a href="/wiki/Rebost:Ubuntu">  <img src="/imatges/234x90_SC_ubuntu.gif" alt="Ubuntu en català" />  </a>'},
{start:'81', end:'82', src:'<a href="/wiki/Rebost:Fedora">  <img src="/imatges/234x90_SC_fedora.gif" alt="Fedora en català" />  </a>'},
{start:'83', end:'86', src:'<a href="/wiki/Rebost:Thunderbird">  <img src="/imatges/234x90_SC_thunderbird.gif" alt="Thunderbird en català" />  </a>'},
{start:'87', end:'88', src:'<a href="/wiki/Rebost:OpenOffice.org">  <img src="/imatges/234x90_SC_ooo.gif" alt="Ubuntu en català" />  </a>'},
{start:'89', end:'91', src:'<a href="/wiki/Rebost:Firefox">  <img src="/imatges/234x90_SC_firefox.gif" alt="Firefox en català" />  </a>'},
{start:'92', end:'100', src:'<a href="/wiki/Publicitat">  <img src="/imatges/234x90_SC_anuncieuvos.gif" alt="Voleu anunciar-vos a Softcatalà?" />  </a>'}
);

publi['portada_requadre'] = new Array(
{start:'0', end:'100', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "9249602166";google_ad_width = 250;google_ad_height = 250;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'}
);

publi['noticia_requadre'] = new Array(
{start:'0', end:'100', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "1052143446";google_ad_width = 250;google_ad_height = 250;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'}
);

publi['corrector_requadre'] = new Array(
{start:'0', end:'100', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "1490155369";google_ad_width = 250;google_ad_height = 250;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'}
);

publi['corrector_requadre2'] = new Array(
);

publi['traductor_requadre'] = new Array(
{start:'0', end:'100', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "7692647293";google_ad_width = 250;google_ad_height = 250;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'}
);

publi['wiki_requadre'] = new Array(
{start:'0', end:'100', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "5301774086";google_ad_width = 200;google_ad_height = 200;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'}
);

publi['wiki_requadre2'] = new Array(
);

publi['planeta_requadre'] = new Array(
{start:'0', end:'100', src:'<script type="text/javascript">google_ad_client = "pub-5137971297629213";google_ad_slot = "3163698756";google_ad_width = 250;google_ad_height = 250;<\/script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>'}
);

publi['planeta_requadre2'] = new Array(
);


var nombreale=Math.floor(Math.random()*100); 
for (i=0; i<publi[posicio].length; i++) {

		if (((publi[posicio][i].start)<=nombreale) && ((publi[posicio][i].end)>=nombreale) ) {

			document.write(publi[posicio][i].src);
			break;
		}

	}	

} 
