

function newWin(link,w,h,s,r,t,m,l,ss,other) {
dd = new Date();
hd = dd.getHours();
sd = dd.getSeconds();
md = dd.getMinutes();

	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
  var winFeatures2 = 'width=' + w + ',height=' + h + ',scrollbars=' + s + ',resizable=' + r + ',toolbar =' + t + ' , menubar = ' + m + ' , location = ' + l + ' , status = ' + ss + ',top='+wint+',left='+winl;
  var bookWindow2 = window.open(link, hd+md+sd, winFeatures2);
}



function NewSession(URL,WIN){
d = new Date();
h = d.getHours();
s = d.getSeconds();
m = d.getMinutes();
if(WIN==1)self.location.href=URL+"&SessionID="+h+m+s;
else WinPop=window.open(URL+"&SessionID="+h+m+s);
} 