//[OPENPIC]

function openpic(title,url,lo,me,re,sc,st,to,closingtime,w,h,t,l)
{
 
 if (t<0 || l<0){l=Math.round((screen.availWidth-w)/2);t=Math.round((screen.availHeight-h)/2)-25;}
 if (navigator.appName=='Netscape' && navigator.appVersion.substring(0,1)=='4')
 {
   aw=window.open('','','toolbar='+to+',menubar='+me+',scrollbars='+sc+',resizable='+re+',status='+st+',location='+lo+',width='+w+',height='+h+',top='+t+',left='+l);
   aw.document.location=url;
   return false;
 }
 else
 {
   aw=window.open('','','toolbar='+to+',menubar='+me+',scrollbars='+sc+',resizable='+re+',status='+st+',location='+lo+',width='+w+',height='+h+',top='+t+',left='+l);
   temp='<HTML><head><title>' + title + '<\/title><\/head><body style="margin:0;padding:0">';
   temp=temp+'<table border="0" cellspacing="0" cellpadding="0" style="width:100%;height:100%;background: #FFFFFF">';
   temp=temp+'<tr><td width="100%">';
   temp=temp+'<p align="center"><a href="javascript:window.close();"><img src="' + url + '" border="0"><\/a>';
   
   temp=temp+'<\/td><\/tr>';
   temp=temp+'<\/table>';
   temp=temp+'<\/body><\/HTML>';
   aw.document.write(temp);
 }
 if (closingtime!=0) aw.setTimeout('window.close()',closingtime);
}

//[END]
//[OPENHTML]

function openhtml(url,lo,me,re,sc,st,to,w,h,t,l)
{
 if(t<0 || l<0){l=Math.round((screen.availWidth-w)/2);t=Math.round((screen.availHeight-h)/2)-25;}
 aw=window.open(url,'_blank','toolbar='+to+',menubar='+me+',scrollbars='+sc+',resizable='+re+',status='+st+',location='+lo+',width='+w+',height='+h+',top='+t+',left='+l);
 aw.opener=self;aw.focus();return false;
}

//[END]
