
﻿var prm=null;function getTime(){var ct=new Date();var t=ct.toLocaleTimeString();document.write(ct.toLocaleDateString()+" - "+t.substr(0,t.length-3));}
function Init(sender){if(!Sys.WebForms)return;prm=Sys.WebForms.PageRequestManager.getInstance();if(prm){if(!prm.get_isInAsyncPostBack()){prm.add_initializeRequest(InitRequest);}}}
function InitRequest(sender,args){if(prm.get_isInAsyncPostBack()){args.set_cancel(true);alert("Una richiesta è già in corso.  Attendere... ");}}
var repsdf=false;function moveElm(elmId,newParentId){var ad=document.getElementById(elmId);var con=document.getElementById(newParentId);if(con!=null&&ad!=null){con.appendChild(ad);ad.style.display='inline';}}
function repDateParsing(){if(repsdf)return;Date.__std_parse=Date.parse;Date.parse=function(s){try{return Date.__std_parse(s);}
catch(e){return(s);var d=Date._jsParse(s);if(d){return d;}
else{throw e;}}}
repsdf=true;}
var backColors=new Array('edf7f9','ffffff');var ads=new Array('160x600_as');var selAd=ads[Math.floor(Math.random()*ads.length)];var selBackColor=backColors[Math.floor(Math.random()*backColors.length)];function setBackColor(){if(google_ad_format==selAd){google_color_bg=selBackColor;}}function Google_Leader_board_728x90_txt_5(){repDateParsing();google_ad_client='pub-4545597397921775';google_ad_width=728;google_ad_height=90;google_ad_format='728x90_as';google_ad_type='text';google_ad_channel='4460186006';google_color_border='9eb0b9';google_color_bg='ffffff';setBackColor();google_color_link='e75700';google_color_text='000000';google_color_url='008000';google_ui_features="rc:10";}function Google_Referral(){repDateParsing();google_ad_client='pub-4545597397921775';google_ad_width=120;google_ad_height=240;google_ad_format='120x240_as_rimg';google_cpa_choice='CAAQ3d7QlwIaCPH10F8eqI1GKLO593M';google_ad_channel='2093453538';}function Skyscraper_largo_160_txt(){repDateParsing();google_ad_client='pub-4545597397921775';google_ad_width=160;google_ad_height=600;google_ad_format='160x600_as';google_ad_type='text_image';google_ad_channel='4001597516';google_color_border='9eb0b9';google_color_bg='edf7f9';setBackColor();google_color_link='e75700';google_color_text='000000';google_color_url='008000';google_ui_features="rc:10";}function Google_Quadrato_250x250_img(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_width=250;google_ad_height=250;google_ad_format="250x250_as";google_ad_type="image";google_ad_channel="8721722860";google_color_border="FFFFFF";google_color_bg="FFFFFF";setBackColor();google_color_link="0066A7";google_color_text="000000";google_color_url="008000";google_ui_features="rc:10";}function Google_Referral_Sky_160x600(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_width=160;google_ad_height=600;google_ad_format="160x600_as";google_cpa_choice="CAEQzvnU1AMQ9aaNswMQ35ei2gIQncD8_gMQjP7UrAMQoqfSiQMQ1sWaqAMQxoTOkAcQ7sWZ7wMQjPWZoQMQ7dvR7wMQ8a2j5AMaCMj_rh8HdhSPKOqJ7_gBKPWCm84BKNvPz6kBKIXVmOkBKJyPib0BKILxieUBKNLZl9kBKKKbva4CKPrjz8kBKJTB1rgBKNXQi8QBKI2HwMEB";google_color_border="ffffff";google_color_bg="ffffff";setBackColor();google_color_link="e75700";google_color_text="000000";google_color_url="008000";}function Locnews_top_728x15_4(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="5472940611";google_ad_width=728;google_ad_height=15;}function Locnews_mid_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="3681684644";google_ad_width=728;google_ad_height=90;}function Locnews_bot_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="3627232730";google_ad_width=728;google_ad_height=90;}
function Locnews_lside_SSti_160x600(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="8340830805";google_ad_width=160;google_ad_height=600;}
function Frontpage_top_IL4_728x15(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="0602789860";google_ad_width=728;google_ad_height=15;}
function Frontpage_mid_IL4_728x15(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="1506991523";google_ad_width=728;google_ad_height=15;}
function Frontpage_topr_Qi_200x200(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="4818472201";google_ad_width=200;google_ad_height=200;}
function Frontpage_bot_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="4107967798";google_ad_width=728;google_ad_height=90;}
function Frontpage_lside_SSti_160x600(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="7779562275";google_ad_width=160;google_ad_height=600;}
function News_midr_Rti_336x280(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="6594382885";google_ad_width=336;google_ad_height=280;}
function News_midr_Ri_300x250(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="7806502758";google_ad_width=300;google_ad_height=250;}
function News_top_IL4_728x15(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="6713917680";google_ad_width=728;google_ad_height=15;}
function News_bot_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="1039216002";google_ad_width=728;google_ad_height=90;}
function News_lside_SSti_160x600(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="7005447873";google_ad_width=160;google_ad_height=600;}
function Prmain_mid_IL4_728x15(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="6641624776";google_ad_width=728;google_ad_height=15;}
function Prmain_midr_Rti_336x280(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="7479716136";google_ad_width=336;google_ad_height=280;}
function Prmain_bot_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="4863196954";google_ad_width=728;google_ad_height=90;}
function Prmain_lside_SSti_160x600(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="6094005469";google_ad_width=160;google_ad_height=600;}
function Pressrelpub_top_IL4_728x15(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="9987844572";google_ad_width=728;google_ad_height=15;}
function Pressrelpub_midr_Qi_250x250(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="4655416797";google_ad_width=250;google_ad_height=250;}
function Pressrelpub_bot_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="2642983312";google_ad_width=728;google_ad_height=90;}
function Pressrelpub_ls_SSti_160x600(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="7002216748";google_ad_width=160;google_ad_height=600;}
function Comments_top_IL4_728x15(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="2273147790";google_ad_width=728;google_ad_height=15;}
function Comments_midr_Qi_250x250(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="0395656531";google_ad_width=250;google_ad_height=250;}
function Comments_bot_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="1890881959";google_ad_width=728;google_ad_height=90;}
function Comments_lside_SSti_160x600(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="3467746445";google_ad_width=160;google_ad_height=600;}
function Newssection_top_IL4_728x15(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="3533733826";google_ad_width=728;google_ad_height=15;}
function Newssection_bot_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="1607881082";google_ad_width=728;google_ad_height=90;}
function Newssection_ls_SSti_160x600(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="4177137373";google_ad_width=160;google_ad_height=600;}
function Newssection_topl_Qi_200x200(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="8876401055";google_ad_width=200;google_ad_height=200;}
function Newsitem_top_IL4_728x15(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="1264043247";google_ad_width=728;google_ad_height=15;}
function Newsitem_bot_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="0600715718";google_ad_width=728;google_ad_height=90;}
function Newsitem_ls_SSti_160x600(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="3261749195";google_ad_width=160;google_ad_height=600;}
function NewsItem_mid_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="9337333431";google_ad_width=728;google_ad_height=90;}
function Prlist_top_IL4_728x15(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="6584733265";google_ad_width=728;google_ad_height=15;}
function Prlist_bot_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="3783775662";google_ad_width=728;google_ad_height=90;}
function Prlist_lside_SSti_160x600(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="1376152567";google_ad_width=160;google_ad_height=600;}
function NewsItem_mid_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="9337333431";google_ad_width=728;google_ad_height=90;}
function Comments_midl_Bt_468x60(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="8884832316";google_ad_width=468;google_ad_height=60;}
function NewsMaster_right_IL4_160x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="9815839478";google_ad_width=160;google_ad_height=90;}
function NewsItem_midl_Bt_468x60(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="7674024026";google_ad_width=468;google_ad_height=60;}
function Frontpage_mid_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="8078709617";google_ad_width=728;google_ad_height=90;}
function Newssection_top_LBt_728x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="3580013825";google_ad_width=728;google_ad_height=90;}
function Frontpage_midl_Bt_468x60(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="8570481576";google_ad_width=468;google_ad_height=60;}
function News_MBt_234x60(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="7056662172";google_ad_width=234;google_ad_height=60;}
function Pressrelpub_bot_Qt_336x280(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="0978669805";google_ad_width=336;google_ad_height=280;}
function Pressrelpub_midr_Qi_200x200(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="2370348574";google_ad_width=200;google_ad_height=200;}
function Pressrelpub_mid_Bt_468x60(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="1507707202";google_ad_width=468;google_ad_height=60;}
function Prelmaster_top_IL4_160x90(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="5908626022";google_ad_width=160;google_ad_height=90;}
function Newssection_topl_Qti_200x200(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="6057146924";google_ad_width=200;google_ad_height=200;}
function NewsItem_topr_Qti_200x200(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="7307528043";google_ad_width=200;google_ad_height=200;}
function Comments_topr_Qti_250x250(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="9947218953";google_ad_width=250;google_ad_height=250;}
function Viewtop_IL4_468x15(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="4700344787";google_ad_width=468;google_ad_height=15;}
function General_Ref_200x200(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="6415168749";google_ad_width=200;google_ad_height=200;google_cpa_choice="";}
function General_Ref_160x600(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="2396500009";google_ad_width=160;google_ad_height=600;google_cpa_choice="";}
function Prmain_topl_Qt_200x200(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="4488135100";google_ad_width=250;google_ad_height=250;}
function General_top_IL4_468x15(){repDateParsing();google_ad_client="pub-4545597397921775";google_ad_slot="5078129681";google_ad_width=468;google_ad_height=15;}
function I_All_Mid_Rt_180x150(){google_ad_client="pub-4545597397921775";google_ad_slot="1459477656";google_ad_width=180;google_ad_height=150;}

﻿var divs;var ifrs;function getElementsByClassName(classname,tag){if(!tag)tag="*";var anchs=document.getElementsByTagName(tag);var total_anchs=anchs.length;var regexp=new RegExp('\\b'+classname+'\\b');var class_items=new Array()
for(var i=0;i<total_anchs;i++){var this_item=anchs[i];if(regexp.test(this_item.className)){class_items[class_items.length]=this_item;}}
return class_items;}
function loadDiv()
{divs=getElementsByClassName('warningzone','div');}
function loadIFrames()
{ifrs=getElementsByClassName('warningframe','iframe');}
function openWarningZone(bfId,wzId,url){closeWarningZone(url);var bf=document.getElementById(bfId);var wz=document.getElementById(wzId);wz.style.display="inline";bf.style.top=wz.offsetTop;bf.style.left=wz.offsetLeft;bf.style.width=wz.offsetWidth;bf.style.height=wz.offsetHeight;bf.style.display="inline";return false;}
function closeWarningZone(url)
{loadDiv();loadIFrames();var i=0;while(divs[i]!=null)
{divs[i].style.display='none';i++;}
if(ifrs.length>0){i=0;while(divs[i]!=null)
{ifrs[i].style.display='none';i++;}}
if(url!=''){window.location.href=url;}}
function validateWRData(cb1Id,cb2Id,tb1Id){var c1=document.getElementById(cb1Id);var c2=document.getElementById(cb2Id);var tb1=document.getElementById(tb1Id);var msg='';var objRegExp=/\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/i;if(!c1.checked&&!c2.checked)
msg='Selezionare almeno una opzione.\n\r';if(tb1.value==''){msg+='Inserire indirizzo email';}
else if(!objRegExp.test(tb1.value)){msg+='Indirizzo email non corretto.';}
if(msg.length>0){alert(msg);return false;}
return true;}
function Warning_FireDefaultButton(event,target){if(event.keyCode==13&&!(event.srcElement&&(event.srcElement.tagName.toLowerCase()=="textarea"))){var defaultButton;if(__nonMSDOMBrowser){defaultButton=document.getElementById(target);event.cancelBubble=true;if(event.stopPropagation)event.stopPropagation();return false;}
else{defaultButton=document.all[target];if(defaultButton&&typeof(defaultButton.click)!="undefined"){defaultButton.click();event.cancelBubble=true;if(event.stopPropagation)event.stopPropagation();return false;}}}
return true;}