﻿
function launchIstCal(winName) { 
//window height and width 
myHeight = screen.height*1.00; 
myWidth = screen.width*.65;

//widow height bounds
if ( myHeight < 800 ) {
myHeight = 800;
} else if (myHeight > 900) {
myHeight = 900;
}

//get screen size, and cacl center screen positioning
var height = screen.height;
var width = screen.width;
var leftpos = width / 2 - myWidth / 2;
var toppos = (height / 2 - myHeight / 2) - 40; 

//open window 
msgWindow=window.open(winName,"istcal","toolbar=no,location=no,directories=no,resizable=yes,menubar=no,scrollbars=yes,status=yes,width=" + myWidth + ",height=" + myHeight + ", left=" + leftpos + ",top=" + toppos); 

//focus window
setTimeout('msgWindow.focus()',1);
}


function launchIstPost(winName) { 
//window height and width 
myHeight = screen.height*1.00; 
myWidth = screen.width*.55;

//widow height bounds
if ( myHeight < 800 ) {
myHeight = 800;
} else if (myHeight > 900) {
myHeight = 900;
}

//get screen size, and cacl center screen positioning
var height = screen.height;
var width = screen.width;
var leftpos = width / 2 - myWidth / 2;
var toppos = (height / 2 - myHeight / 2) - 40; 

//open window 
msgWindow=window.open(winName,"istpost","toolbar=no,location=no,directories=no,resizable=yes,menubar=no,scrollbars=yes,status=yes,width=" + myWidth + ",height=" + myHeight + ", left=" + leftpos + ",top=" + toppos); 

//focus window
setTimeout('msgWindow.focus()',1);
}

function launchRoster(winName) { 
//window height and width 
myHeight = screen.height*.60; 
myWidth = screen.width*.55;

//widow height bounds
if ( myHeight < 800 ) {
myHeight = 800;
} else if (myHeight > 900) {
myHeight = 900;
}

//get screen size, and cacl center screen positioning
var height = screen.height;
var width = screen.width;
var leftpos = width / 2 - myWidth / 2;
var toppos = (height / 2 - myHeight / 2) - 40; 

//open window 
msgWindow=window.open(winName,"Roster","toolbar=no,location=no,directories=no,resizable=yes,menubar=no,scrollbars=yes,status=yes,width=" + myWidth + ",height=" + myHeight + ", left=" + leftpos + ",top=" + toppos); 

//focus window
setTimeout('msgWindow.focus()',1);
}
function launchLog(winName) { 
//window height and width 
myHeight = screen.height*.55; 
myWidth = screen.width*.75;

//widow height bounds
if ( myHeight < 300 ) {
myHeight = 300;
} else if (myHeight > 800) {
myHeight = 800;
}

//get screen size, and cacl center screen positioning
var height = screen.height;
var width = screen.width;
var leftpos = width / 2 - myWidth / 2;
var toppos = (height / 2 - myHeight / 2) - 40; 

//open window 
msgWindow=window.open(winName,"log","toolbar=no,location=no,directories=no,resizable=yes,menubar=no,scrollbars=yes,status=yes,width=" + myWidth + ",height=" + myHeight + ", left=" + leftpos + ",top=" + toppos); 

//focus window
setTimeout('msgWindow.focus()',1);

}



