// * Share An Url Messaging System by Serious Software Solutions and     *
// * JavaScriptDesign.com, Copyright© 1999 - 2001 All Rights Reserved.   *
// * This entire Copyright Notice must remain in the source code.        *
// * Licensed to: GGM Internet Solutions for: Dr. Karen Sandler          *

var cL = window.location
var cLp = window.location.pathname

function initArray() {
 for (var i = 0; i < initArray.arguments.length; i++)
 this[i] = initArray.arguments[i];
 this.length = initArray.arguments.length;
}

var chrome = new initArray(
 "menubar",
 "menubar,toolbar",
 "menubar,status,resizable,scrollbars,location",
 "",
 "resizable");

var popUpWin = '';
var winFeatures = '';
var track = '';
function makePopUpWin3(name,high,wide,features) {
 winFeatures = features
 if (track == 1 && !popUpWin.closed) {
  popUpWin.close();
  track = 0
 }
   popUpWin = eval("window.open('share_popup.html?"+name+"|"+cL+"','newWin','"+chrome[winFeatures]+",height="+high+",width="+wide+"')");
   if (!popUpWin.opener) popUpWin.opener = self;
   track=1
}
/*
function makePopUpWin2(url,high,wide,features) {
 winFeatures = features
 if (track == 1 && !popUpWin.closed) {
  popUpWin.close();
  track = 0
 }
   popUpWin = eval("window.open('"+url+"','newWin','"+chrome[winFeatures]+",height="+high+",width="+wide+"')");
   if (!popUpWin.opener) popUpWin.opener = self;
   track=1
}
*/
function closePopUpWin3() {
 if (popUpWin && !popUpWin.closed)
  popUpWin.close();
  track = 0
}

