function checkdomanda() {
	var domanda;
	if (document.getElementById('datareflogin').value!="") {
		domanda=document.getElementById('datareflogin').value;
		if (domanda.length>14) {
			if (domanda.length<230) {
				document.formd.action='http://www.bloo.it/login/domande.php#sendd'; 
				document.formd.target='_self'; 
				document.formd.submit();
			} else {
				alert('Attenzione!\nLa domanda e\' troppo lunga!');
			}
		} else {
			alert('Attenzione!\nLa domanda e\' troppo corta!');
		}
	} else {
		alert("Attenzione!\nNon hai inserito la domanda!");
	}
}

function checkdomandahome(campo) {
	var domanda;
	if (document.getElementById(campo).value!="") {
		domanda=document.getElementById(campo).value;
		if (domanda.length>14) {
			if (domanda.length<230) {
				document.formd2.action='http://www.bloo.it/login/domande.php#sendd'; 
				document.formd2.target='_self'; 
				document.formd2.submit();
			} else {
				alert('Attenzione!\nLa domanda e\' troppo lunga!');
			}
		} else {
			alert('Attenzione!\nLa domanda e\' troppo corta!');
		}
	} else {
		alert("Attenzione!\nNon hai inserito la domanda!");
	}
}


function piniziale() {

if (document.all) {

  document.body.style.behavior = 'URL(#default#homepage)';

  document.body.setHomePage("http://www.bloo.it");

 } else {

  alert("Funzione abilitata solo per Internet Explorer");

 }

}



function mOvr(src,clrOver){

	src.style.cursor = 'hand';

	src.bgColor = clrOver;

	src.background='http://www.bloo.it/img/bg_tit_vuoto_c_over.gif';

}

function mOut(src,clrIn){

	src.style.cursor = 'default';

	src.bgColor = clrIn;

	src.background='';

}



function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



MM_preloadImages('http://img.bloo.it/nocover.gif');

MM_preloadImages('http://img.bloo.it/foto_shop_nd2.gif');

MM_preloadImages('http://img.bloo.it/foto_shop_nd3.gif');

MM_preloadImages('http://img.bloo.it/foto_shop_nd.gif');

MM_preloadImages('http://img.bloo.it/n_loader.gif');

MM_preloadImages('http://img.bloo.it/icona_appartamenti_on.gif');

MM_preloadImages('http://img.bloo.it/icona_hotel_on.gif');

MM_preloadImages('http://img.bloo.it/icona_shopping_on.gif');

MM_preloadImages('http://img.bloo.it/bubble.gif');
MM_preloadImages('http://img.bloo.it/bubble_filler.gif');



function MM_findObj(n, d) { //v4.01

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

  if(!x && d.getElementById) x=d.getElementById(n); return x;

}



function MM_showHideLayers() { //v6.0

  var i,p,v,obj,args=MM_showHideLayers.arguments;

  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];

    if (obj.style) { obj=obj.style; v=(v=='show')?'block':(v=='hide')?'none':v; }

    obj.display=v; }

}



function showhidepost(divs,bts) {

	if (document.getElementById(divs).style.display=="none") {

		//document.getElementById(divs).style.display="block";

		MM_showHideLayers(divs,'','show');

		document.getElementById(bts).src="http://www.bloo.it/img/nolines_minus.gif";

	} else {

		MM_showHideLayers(divs,'','hide');

		//document.getElementById(divs).style.display="none";

		document.getElementById(bts).src="http://www.bloo.it/img/nolines_plus.gif";

	}

}





function safemail(name, domain, display) {

	displayed=(typeof(display)=="undefined") ? name+"@"+domain : display

	document.write('<a href=mailto:' + name + '@' + domain + '>' + displayed + '</a>');

}

function MM_jumpMenu(targ,selObj,restore){ //v3.0

  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");

  if (restore) selObj.selectedIndex=0;

}

// Messaggi alert

function MM_popupMsg(msg) { //v1.0

	document.MM_returnValue = confirm(msg);

}

function MM_popupMsg_box(msg) { //v1.0

	document.MM_returnValue = confirm(msg);
	
	return document.MM_returnValue;
}

function clk(tb,iditem,cl,clurl,ftr) {

	if(document.images) {

		new Image().src="http://www.bloo.it/self_clk.php?tb="+tb+"&iditem="+iditem+"&cl="+cl+"&clurl="+clurl+"&ftr="+ftr;

	}

	return true;

}

function MM_openBrWindow(theURL,winName,features) { //v2.0

  window.open(theURL,winName,features);

}



function centrafinestra(url, width, height){

	if (document.all){

		var x = window.screenLeft;

		var y = window.screenTop;

		var w = window.screen.width;

		var h = window.screen.height;

	} else {

		var x = window.screenX;

		var y = window.screenY;

		var w = window.screen.width;

		var h = window.screen.height;

	}

	var cntx = x + Math.round((w - width) / 4);

	var cnty = y + Math.round((h - height) / 4);

	window.open (url, null, 'left=' + cntx + ',top=' + cnty + ',width=' +width + ',height=' + height);

}



function toggleLayer(whichLayer)

{

if (document.getElementById)

{

// this is the way the standards work

var style2 = document.getElementById(whichLayer).style;

style2.display = style2.display? "":"block";

}

else if (document.all)

{

// this is the way old msie versions work

var style2 = document.all[whichLayer].style;

style2.display = style2.display? "":"block";

}

else if (document.layers)

{

// this is the way nn4 works

var style2 = document.layers[whichLayer].style;

style2.display = style2.display? "":"block";

}

}



function toggleLayerswap(whichLayer,id_label,label,labelor)

{

if (document.getElementById)

{

// this is the way the standards work

var style2 = document.getElementById(whichLayer).style;

	if (style2.display=="none") {

		style2.display = style2.display? "":"block";

	} else {

		style2.display="none";

	}

}

else if (document.all)

{

// this is the way old msie versions work

var style2 = document.all[whichLayer].style;

style2.display = style2.display? "":"block";

}

else if (document.layers)

{

// this is the way nn4 works

var style2 = document.layers[whichLayer].style;

style2.display = style2.display? "":"block";

}

if (id_label!=null) {
	if (document.getElementById(id_label).innerHTML==labelor) {
		document.getElementById(id_label).innerHTML=label;
	} else {
		document.getElementById(id_label).innerHTML=labelor;
	}
}

}



function ondaflex(th)

  {

  // struttura:

  // <table border="0" cellpadding="0" cellspacing="0">

  //   <tr><td colspan="2"></td></tr>

  //   [ <tr><td><img></td><td><a onMouseOver="ondaflex(this)">text</a></td></tr> ] x n volte

  //   <tr><td colspan="2"></td></tr>

  // </table>

  // La prima e l'ultima riga sono utilizzate come BUFFER vuoti per gestire l'effetto "BORDO"

  //

  // compatibilità con la modalità "evento"

  if (!th || !th.nodeName)

    th = this;

  // START SIZE & END SIZE

  var startsize = 12;

  var endsize = 4;

  var s = startsize;



  // Ottimizzazione

  try

    {

    window.screen.updateInterval = 1000;

    }

  catch(e)

    {

    }



  try

    {

    // il tag <tr> corrente

    var trobj = th.parentNode.parentNode;

    // il tag <a>

    var aobj = trobj.lastChild.firstChild;

    // il tag <img>

    var iobj = trobj.firstChild.firstChild;

    // per gestire l'effetto bordo

    var tot = 0;

    aobj.style.fontSize = ''+s+'px';

    iobj.height = (s / 2);



    // Adesso scendiamo

    for(s = startsize, trobj = trobj.nextSibling; trobj; trobj = trobj.nextSibling)

      {

      if (aobj = trobj.lastChild.firstChild)

        aobj.style.fontSize = ''+s+'px';

      else

        {

        //for(tot = 0; s > 2;s--)

        //  tot += s;

        // effetto bordo

        //trobj.lastChild.style.height = ''+(tot / 1)+'px';

        }

      if (iobj = trobj.firstChild.firstChild)

        iobj.height = (s / 2);



      if (s > endsize)

        s--;

      }

    // ripristiniamo il tag centrale

    trobj = th.parentNode.parentNode;

    // Adesso risaliamo la china

    for(s = startsize, trobj = trobj.previousSibling; trobj; trobj = trobj.previousSibling)

      {

      if (aobj = trobj.lastChild.firstChild)

        aobj.style.fontSize = ''+s+'px';

      else

        {

        //for(tot = 0; s > 2;s--)

        //  tot += s;

        // effetto bordo

        //trobj.lastChild.style.height = ''+(tot / 1)+'px';

        }

      if (iobj = trobj.firstChild.firstChild)

        iobj.height = (s / 2);



      if (s > endsize)

        s--;

      }

    }

  catch(e)

    {

    }



  try

    {

    window.screen.updateInterval = 0;

    }

  catch(e)

    {

    }

  }

  

  

 function TextScroll(scrollname, div_name, up_name, down_name)

{

    this.div_name = div_name;

    this.name = scrollname;

    this.scrollCursor = 0;

    this.speed = 30;

    this.timeoutID = 0;

    this.div_obj = null;

    this.up_name = up_name;

    this.dn_name = down_name;



{

        if (document.getElementById) {

            div_obj = document.getElementById(this.div_name);

            if (div_obj) {

                this.div_obj = div_obj;

                this.div_obj.style.overflow = 'hidden';

            }

            div_up_obj = document.getElementById(this.up_name);

            div_dn_obj = document.getElementById(this.dn_name);

            if (div_up_obj && div_dn_obj) {

			div_up_obj.onmousedown = function() { eval(scrollname + ".scrollUp();") };

			div_up_obj.onmouseup = function() { eval(scrollname + ".stopScroll();") };

			div_dn_obj.onmousedown = function() { eval(scrollname + ".scrollDown();") };

			div_dn_obj.onmouseup = function() { eval(scrollname + ".stopScroll();") };

            }

        }

    }



this.stopScroll = function() {

        clearTimeout(this.timeoutID);

    }



this.scrollUp = function() {

        if (this.div_obj) {

            this.scrollCursor = (this.scrollCursor - this.speed) < 0 ? 0 : this.scrollCursor - this.speed;

            this.div_obj.scrollTop = this.scrollCursor;

            this.timeoutID = setTimeout(this.name + ".scrollUp()", 60);

        }

    }



this.scrollDown = function() {

		if (this.div_obj) {

		this.scrollCursor += this.speed;

		this.div_obj.scrollTop = this.scrollCursor;

			if (this.div_obj.scrollTop == this.scrollCursor) {

				this.timeoutID = setTimeout(this.name + ".scrollDown()", 60);

			} else {

				this.scrollCursor = this.div_obj.scrollTop;

			}

		}

}

this.resetScroll = function() {

        if (this.div_obj) {

            this.div_obj.scrollTop = 0;

            this.scrollCursor = 0;

        }

    }

}



function showdiv(iddiv) {

	document.getElementById(iddiv).style.display='block';

	document.getElementById('lds-'+iddiv).style.color='#f60';

}



function hidediv(iddiv) {

	document.getElementById(iddiv).style.display='none';

	document.getElementById('lds-'+iddiv).style.color='#06c';

}



function setnasc(gg,mm,aa) {

	document.form1r.nasc_gg.options[gg].selected=true;

	document.form1r.nasc_mm.options[mm].selected=true;

	document.form1r.nasc_aaaa.options[aa].selected=true;

}



function execJS(t)

{

    var p1 = 0, p2 = 0, p3 = 0, p4 = 0;

    p1 = t.indexOf("<" + "script", 0);

    if(p1 == -1) return t;

    

    p2 = t.indexOf(">", p1 + 7) + 1;

    p3 = t.indexOf("<" + "/script>", p2);

    p4 = p3 + 9;

    

    var c = t.substring(p2, p3);

    var s = document.createElement("script");

    s.type = "text/javascript";

    s.text = c;

    document.getElementsByTagName("head")[0].appendChild(s);

    

    t = t.substring(0, p1) + t.substr(p4);

    return execJS(t);



}



function send() {

	sndReq2b('ope=1','nsiti','check-nsiti');

}

function refre() { 

	setInterval(send, 30000); 

}



function validateFileExtension(fld) {

	if(!/(\.flv|\.swf)$/i.test(fld.value)) {

		alert("Solo files in formato .flv e .swf.");

		fld.value='';

		fld.focus();

		return false;

	}

	return true;

}



function AC_RunFlContentX()

{

  AC_AddExtension(arguments, "movie", ".swf");

  AC_AddExtension(arguments, "src", ".swf");

  var codebase = AC_GetCodebase

                 (  "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="

                  , "7,0,0,0", arguments 

                 );

	

  AC_GenerateObj

  (  "AC_RunFlContentX()", true, "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"

   , codebase

   , "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"

   , "application/x-shockwave-flash", arguments

  );	

}



var MSG_EvenArgs = 'The %s function requires an even number of arguments.'

                 + '\nArguments should be in the form "atttributeName","attributeValue",...';

var MSG_SrcRequired = "The %s function requires that a movie src be passed in as one of the arguments.";

function AC_AddExtension(args, paramName, extension)

{

  var currArg, paramVal, queryStr, endStr;

  for (var i=0; i < args.length; i=i+2){

    currArg = args[i].toLowerCase();    

    if (currArg == paramName.toLowerCase() && args.length > i+1) {

      paramVal = args[i+1];

      queryStr = "";

      var indQueryStr = args[i+1].indexOf('?');

      if (indQueryStr != -1){

        paramVal = args[i+1].substring(0, indQueryStr);

        queryStr = args[i+1].substr(indQueryStr);

      }

      endStr = "";

      if (paramVal.length > extension.length)

        endStr = paramVal.substr(paramVal.length - extension.length);

      if (endStr.toLowerCase() != extension.toLowerCase()) {

        args[i+1] = paramVal + extension + queryStr;

      }

    }

  }

}

function AC_GetCodebase(baseURL, defaultVersion, args)

{

  var codebase = baseURL + defaultVersion;

  for (var i=0; i < args.length; i=i+2) {

    currArg = args[i].toLowerCase();    

    if (currArg == "codebase" && args.length > i+1) {

      if (args[i+1].indexOf("http://") == 0) {

        codebase = args[i+1];

      }

      else {

        codebase = baseURL + args[i+1];

      }

    }

  }

	

  return codebase;	

}



function AC_checkArgs(args,callingFn){

  var retVal = true;

  if (parseFloat(args.length/2) != parseInt(args.length/2)){

    alert(sprintf(MSG_EvenArgs,callingFn));

    retVal = false;

  }

  return retVal;

}

function AC_GenerateObj(callingFn, useXHTML, classid, codebase, pluginsPage, mimeType, args){

  if (!AC_checkArgs(args,callingFn)){

    return;

  }

  var tagStr = '';

  var currArg = '';

  var closer = (useXHTML) ? '/>' : '>';

  var srcFound = false;

  var embedStr = '<embed';

  var paramStr = '';

  var embedNameAttr = '';

  var objStr = '<object classid="' + classid + '" codebase="' + codebase + '"';

  for (var i=0; i < args.length; i=i+2){

    currArg = args[i].toLowerCase();    

    if (currArg == "src"){

      if (callingFn.indexOf("RunSW") != -1){

        paramStr += '<param name="' + args[i] + '" value="' + args[i+1] + '"' + closer + '\n';

        embedStr += ' ' + args[i] + '="' + args[i+1] + '"';

        srcFound = true;

      }

      else if (!srcFound){

        paramStr += '<param name="movie" value="' + args[i+1] + '"' + closer + '\n'; 

        embedStr += ' ' + args[i] + '="' + args[i+1] + '"';

        srcFound = true;

      }

    }

    else if (currArg == "movie"){

      if (!srcFound){

        paramStr += '<param name="' + args[i] + '" value="' + args[i+1] + '"' + closer + '\n'; 

        embedStr += ' src="' + args[i+1] + '"';

        srcFound = true;

      }

    }

    else if (   currArg == "width" 

              || currArg == "height" 

              || currArg == "align" 

              || currArg == "vspace" 

              || currArg == "hspace" 

              || currArg == "class" 

              || currArg == "title" 

              || currArg == "accesskey" 

              || currArg == "tabindex"){

      objStr += ' ' + args[i] + '="' + args[i+1] + '"';

      embedStr += ' ' + args[i] + '="' + args[i+1] + '"';

    }

    else if (currArg == "id"){

      objStr += ' ' + args[i] + '="' + args[i+1] + '"';

      if (embedNameAttr == "")

        embedNameAttr = ' name="' + args[i+1] + '"';

    }

    else if (currArg == "name"){

      objStr += ' ' + args[i] + '="' + args[i+1] + '"';

      embedNameAttr = ' ' + args[i] + '="' + args[i+1] + '"';

    }    

    else if (currArg == "codebase"){

    }    

      else{

      paramStr += '<param name="' + args[i] + '" value="' + args[i+1] + '"' + closer + '\n'; 

      embedStr += ' ' + args[i] + '="' + args[i+1] + '"';

    }

  }

  if (!srcFound){

    alert(AC_sprintf(MSG_SrcRequired,callingFn));

    return;

  }



  if (embedNameAttr)

    embedStr += embedNameAttr;	

  if (pluginsPage)

    embedStr += ' pluginspage="' + pluginsPage + '"';

  if (mimeType)

    embedStr += ' type="' + mimeType + '"';

  objStr += '>\n';

  embedStr += '></embed>\n'; 

  tagStr = objStr + paramStr + embedStr + "</object>\n"; 

  document.write(tagStr);

}

function azzeradivrec() {
	document.getElementById('outrec').innerHTML = '<p class="intermezzo"></p><span style=\"color:#008000; font-weight:bold;\">La modifica della recensione &egrave; stata inviata correttamente!</font>';
}
function azzeradivrec2() {
	document.getElementById('outrec2').innerHTML = '<p class="intermezzo"></p><span style=\"color:#008000; font-weight:bold;\">La recensione &egrave; stata inviata correttamente!</font>';
}

function CheckLen(campo,lung) {
    StrLen = campo.value.length
    if (StrLen >= lung ) {
           campo.value = campo.value.substring(0,lung)
             CharsLeft = 0
     } else {
             CharsLeft = lung - StrLen
     }   
}

function rimsito(msg,id) { //v1.0
	document.MM_returnValue = confirm(msg);
	if (document.MM_returnValue) {
		sndReq('id_sito='+id,'esitorim','rimsito');
	}
}

function delfoto(msg,id_foto,id_user,output) { //v1.0
	document.MM_returnValue = confirm(msg);
	if (document.MM_returnValue) {
		sndReq2('id_foto='+id_foto+'&id_user='+id_user,output,'del-foto-album');
	}
}

function delfotorep(msg,path_foto,output) { //v1.0
	document.MM_returnValue = confirm(msg);
	if (document.MM_returnValue) {
		sndReq2('path_foto='+path_foto,output,'del-foto-rep');
	}
}

function popitup(url,width,height) {
	newwindow=window.open(url,'name','height='+height+',width='+width);
	//if (window.focus) {newwindow.focus()}
	return false;
}

function myFocus(element) {
	if (element.value == element.defaultValue) {
		element.value = '';
	}
}

function myBlur(element) {
	if (element.value == '') {
	element.value = element.defaultValue;
	}
}

function addElementcc(element){
	// Get the value into the input text field
	if(element=="") {
	// Show an error message if the field is blank;
	} else {
	// This is the <ul id="myList"> element that will contains the new elements
	var container = document.getElementById('listamsg');
	// Create a new <li> element for to insert inside <ul id="myList">
	var new_element = document.createElement('li');
	new_element.innerHTML = element;
	container.insertBefore(new_element, container.firstChild);
	// Show a message if the element has been added;
	// Clean input field
	document.getElementById('intext').value="";
	}
}

function addLI(id,msg){
	var Parent = document.getElementById(id);
	var NewLI = document.createElement("LI");
	NewLI.innerHTML = msg;
	Parent.appendChild(NewLI);
	tolast('lastitem2');
}

function tolast(itemn) {
    var elem = document.getElementById(itemn);
    if (elem) {
        elem.scrollIntoView(false);
    }
}

// SCRIPT PER PLAYER SOUND

function getFlashMovieObject(movieName)
{
  if (window.document[movieName]) 
  {
    return window.document[movieName];
  }
  if (navigator.appName.indexOf("Microsoft Internet")==-1)
  {
    if (document.embeds && document.embeds[movieName])
      return document.embeds[movieName]; 
  }
  else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
  {
    return document.getElementById(movieName);
  }
}

function StopFlashMovie()
{
	var flashMovie=getFlashMovieObject("flashsound");
	flashMovie.StopPlay();
}

function PlayFlashMovie()
{
	var flashMovie=getFlashMovieObject("flashsound");
	flashMovie.Play();
	//embed.nativeProperty.anotherNativeMethod();
}

function RewindFlashMovie()
{
	var flashMovie=getFlashMovieObject("flashsound");
	flashMovie.Rewind();
}

function replaceAll( str, from, to ) {
   var idx = str.indexOf( from );
   while ( idx > -1 ) {
        str = str.replace( from, to );
        idx = str.indexOf( from );
    }
    return str;
}

function convand(str) {
	strn2=replaceAll(str,"+","|444|");
	strn=escape(strn2);
	return strn;
}

function checksound() {
	if (document.getElementById('checksoundon').value==1) {
		PlayFlashMovie();
		//alert(document.getElementById('checksoundon').value);
		//RewindFlashMovie();
	}
}

function checksoundval(val) {
	if (document.getElementById('checksoundon').value==1) {
		document.getElementById('checksoundon').value=0;
		document.getElementById('imgsoundicon').src='http://img.bloo.it/icon_offsound.gif';
	} else {
		document.getElementById('checksoundon').value=1;
		document.getElementById('imgsoundicon').src='http://img.bloo.it/icon_onsound.gif';
	}
}

function cercacountry(cercacountry) {
	if (cercacountry!="X") {
		document.getElementById('regionb').value=cercacountry;
		sndReq2('region='+cercacountry,'cercacountry','cercacountry2');
	}
}

function puliscitext(elm){
	if (!elm.base) elm.base = elm.value
	if (elm.value == elm.base) elm.value = "";
	else if (elm.value == "") elm.value = elm.base;
}



//Pop-under window- By JavaScript Kit
//Credit notice must stay intact for use
//Visit http://javascriptkit.com for this script

//specify page to pop-under
var popunder="http://www.pianetatech.it";
var popundery="http://www.yourself.it";

//specify popunder window features
//set 1 to enable a particular feature, 0 to disable
var winfeatures="width=800,height=510,scrollbars=1,resizable=1,toolbar=1,location=1,menubar=1,status=1,directories=0"

//Pop-under only once per browser session? (0=no, 1=yes)
//Specifying 0 will cause popunder to load every time page is loaded
var once_per_session=1

///No editing beyond here required/////

function get_cookie(Name) {
  var search = Name + "="
  var returnvalue = "";
  if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search)
    if (offset != -1) { // if cookie exists
      offset += search.length
      // set index of beginning of value
      end = document.cookie.indexOf(";", offset);
      // set index of end of cookie value
      if (end == -1)
         end = document.cookie.length;
      returnvalue=unescape(document.cookie.substring(offset, end))
      }
   }
  return returnvalue;
}

function loadornot(){
if (get_cookie('popunder')==''){
loadpopunder()
document.cookie="popunder=yes"
}
}

function loadpopunder(){

var curl = document.URL;

if(curl.search("giochi")!=-1 || curl.search("internet")!=-1 || curl.search("software")!=-1 || curl.search("telefonia")!=-1 || curl.search("musica")!=-1) {
win2=window.open(popunder,"",winfeatures)
win2.blur()
window.focus()
}
if (curl.search("donne")!=-1 || curl.search("costume")!=-1 || curl.search("cultura")!=-1 || curl.search("salute")!=-1 || curl.search("viaggi")!=-1 || curl.search("spettacolo")!=-1 || curl.search("attualita")!=-1) {
win2=window.open(popundery,"",winfeatures)
win2.blur()
window.focus()
}
}

if (once_per_session==0)
loadpopunder()
else
loadornot()


