 function doExit(message, url) 
 { if (confirm(message)) location.href = url; 
 }
 function SP (picid, width, height)
 {
 win=window.open("/showpic/"+picid+"/", "w"+picid,"toolbar=no,menubar=no,height="+height+",width="+width+""); 
 } 
 function fD()
 { if(window.innerWidth){ 
   width = window.innerWidth; 
                        } 
  else if(document.documentElement && document.documentElement.clientWidth){ 
  width = document.documentElement.clientWidth;                
                                                                           } 
  else if(document.body && document.body.clientWidth){ 
  width = document.body.clientWidth; 
                                                     } 
  return(width); 
 }   
