// goPtp variant 1.1  d4p3t3rs tdmn.it.sys.support
// 10.28.2005    for photoTool

var ptpServer = "www.pictopia.com";
var providerID = 40;
var namespace = 'dallasmn';
var ptpName = '';
var ptpSiteBase = window.location.hostname;

function goPtp (name, title, pps) {
switch(pps)
{ case("dmnpt"): ptpName =  new String(name);
     ptpName = ptpName.replace(/\/sharedcontent\/dws\/pt\/photos\//g, "");
    break
default: ptpName = new String(name);}
	
  win = window.open('http://' + ptpServer + '/perl/ptp/' + namespace + '?photo_name=' + ptpName + '&embedded=y' + '&thumbnail_url=' + ptpSiteBase + name +  '&title=' + title + '&pps=' + pps + '&time=' + 
       new Date().getTime(),
      'ptp_' + providerID,
      'scrollbars=yes, resizable=yes, toolbar=no, '
      + 'status=yes, width=1014,height=785, menubar=no');
  win.focus();
}
// eof goPtp
//