var today=new Date();var thisDate=today.getDate();var thisMonth=today.getMonth();
if (thisMonth==0) {strMonth="Jan"};if (thisMonth==1) {strMonth="Feb"};if (thisMonth==2) {strMonth="Mar"};if (thisMonth==3) {strMonth="Apr"};if (thisMonth==4) {strMonth="May"};if (thisMonth==5) {strMonth="June"};if (thisMonth==6) {strMonth="July"};if (thisMonth==7) {strMonth="Aug"};if (thisMonth==8) {strMonth="Sept"};if (thisMonth==9) {strMonth="Oct"};if (thisMonth==10) {strMonth="Nov"};if (thisMonth==11) {strMonth="Dec"};

var numb=22;var x=Math.round(Math.random()*numb);image=new Array(numb);text=new Array(numb);

image[0]="311";text[0]="Vineyard Property P";
image[1]="274";text[1]="Country Residence P";
image[2]="318";text[2]="Vineyard Property P";
image[3]="326";text[3]="Village House P";
image[4]="317";text[4]="Vineyard Property P";
image[5]="297";text[5]="Village House P";
image[6]="306";text[6]="Vineyard Property P";
image[7]="334";text[7]="Vineyard Estate P";
image[8]="302";text[8]="Vineyard Property P";
image[9]="313";text[9]="Vineyard Property V";

image[10]="310";text[10]="Vineyard Property P";
image[11]="307";text[11]="Wine Resort P";
image[12]="331";text[12]="Canelli Villa P";
image[13]="288";text[13]="Village House P";
image[14]="312";text[14]="Borgo House P";
image[15]="268";text[15]="Antique House P";
image[16]="332";text[16]="Luxury Guesthouse P";
image[17]="336";text[17]="Antique Farmhouse P";
image[18]="290";text[18]="Antique Farmhouse P";
image[19]="319";text[19]="Country Estate P";

image[20]="327";text[20]="Village House P";
image[21]="330";text[21]="Vineyard Property P";
image[22]="322";text[22]="Country Farmhouse P";


var random_p_num = image[x];var random_text = text[x]+image[x];

// preload logo here without changing layout. With the Nov 2011 PRINT css mod, logo preload is no longer needed here - the logo is already loaded at this point. Without the preload, a one-pixel dot will no longer appear after the "random text".
//var logo = "logo12.gif";

//function r_image() {document.write ("<p class='small'>"+random_text+" <img height='1' width='1' src="+logo+" alt=''><br><a href='property_"+random_p_num+".htm'><img src='pictures_random\/p"+random_p_num+"am.jpg' width='225' height='170' alt='"+random_text+"'><\/a>");}

function r_image() {document.write ("<p class='small'>"+random_text+"<br><a href='property_"+random_p_num+".htm'><img src='pictures_random\/p"+random_p_num+"am.jpg' width='225' height='170' alt='"+random_text+"'><\/a>");}

function news() {document.write (thisDate," ",strMonth," ITALIAN NEWS");}

function tracker() {EXs=screen;EXw=EXs.width;navigator.appName!="Netscape"?EXb=EXs.colorDepth:EXb=EXs.pixelDepth;navigator.javaEnabled()==1?EXjv="y":EXjv="n";EXd=document;EXw?"":EXw="na";EXb?"":EXb="na";
EXd.write("<img src=http://nht-2.extreme-dm.com/n2.g?login=piedmont&amp;pid=index&amp;auto=y&amp;jv="+EXjv+"&amp;j=y&amp;srw="+EXw+"&amp;srb="+EXb+"&amp;l="+escape(EXd.referrer)+" height=1 width=1>");}
