function LargePics(img,title2){
  foto1= new Image();
  foto1.src=(img);
  LargePics2(img,title2);
}
function LargePics2(img,title2){
  if((foto1.width!=0)&&(foto1.height!=0)){
    LargePics3(img,title2);
  }
  else{
    funzione="LargePics2('"+img+"','"+title2+"')";
    intervallo=setTimeout(funzione,20);
  }
}
function LargePics3(img,title2){
  largh=foto1.width+40;
  altez=foto1.height+200;
  stringa="width="+largh+",height="+altez;
  newWind=window.open("","",stringa);
		 output="<HTML><HEAD><title>"+title2+"</title></HEAD><BODY><CENTER>"
 		 output+="<font face=arial color=#000000 size=3><B>"+title2+"</B></FONT><BR>"
		 	output+="<table border=0 bordercolor=#000000 style='border-collapse: collapse;'><TR><TD>"
		 output+="<IMG SRC='"+img+"'>"
		 	output+="</TD></TR></TABLE>"
		 output+="<FORM><TABLE BORDER='0'><TR><TD><INPUT TYPE='button' VALUE='Close' onClick='self.close()'>"
		 output+="</TD></TR></TABLE></FORM></CENTER></BODY></HTML>"
		 newWind.document.write(output);
		 newWind.document.close();
 		 newWind.focus();
}

function makeWin(imsrc, ww, wh) {
ww=ww+25; wh=wh+50;
w1=window.open('','w1','width='+ww+',height='+wh+',status=no,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes');
w1.document.open();
w1.document.write("<html><head><title>Image Zoom<\/title><META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\"><META HTTP-EQUIV=\"Expires\" CONTENT=\"-1\"><\/head>");
w1.document.write("<body bgcolor='#FFFFFF' text='#000000' leftmargin=2 topmargin=10><p align=center>");
w1.document.write("<img name=theimg src=" + imsrc + "><br>");
w1.document.write("<a href=\"javascript:window.close();\"><font size=1 face=tahoma color=#000000>close window<\/font><\/a><\/body><\/html>");
w1.document.focus();
};

function sendToFriend(imagesrc, account){
var newwindow = "http://hosting.solidcactus.com/sendtofriend/catchacall/solidcactus-sendtofriend.asp?showpoweredby=no&url=" + escape(window.location) + "&imageurl=" + escape(imagesrc) + "&store=" + escape(account) + "&imageref=" + escape(imref);
var window_properties = "top=0,left=0,scrollbars=yes,width=650,height=575";
var Window = window.open(newwindow,"sendtofriend",window_properties);
};

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
