// right column popup
function openWindow(url) {
  popupWin = window.open(url, 'remote', 'resizable,titlebars=yes,scrollbars=1,top=75,left=100,width=360,height=450');
}

// iSchedule popup
function openSchedule(url) {
  popupWin = window.open(url, 'iSchedule', 'resizable,titlebars=yes,scrollbars=1,top=20,left=100,width=700,height=600');
}

function init()
{
	// Array sessions = new Array();
	// readInitFile();
	// setSession();
}

function readInitFile()
{
	// String fserv = Server.CreateObject("Scripting.FileSystemObject");
	// File file = fserv.OpenTextFile(Server.MapPath("/lasik-center/init.txt"), 1)
	// String line = file.readln();

	// int firstIndex =  line.indexOf("***");
	
	// Array arr = new Array();
	
	// arr[0] = line.substring(0, index);
	// arr[1] = line.substring(index + 4, line.length - 1);
	// sessions.add(arr);

	// file.Close;
	// file = Nothing;
	// fserv = Nothing;
}

function setSession()
{
	// for (int = 0; i < sessions.length: i+=)
	// {
		// Session(sessions[i][0]) = sessions[i][1];
	// }
}

function expand(thistag, tag, place) {
   styleObj=document.getElementById(thistag).style;
   if (styleObj.display=='none')
   {
   	styleObj.display='';
	tag.innerHTML = place + ' Residents (Click Here)';
   }
   else {
   	styleObj.display='none';
    tag.innerHTML = place + ' Residents (Click Here)';
   }
}

