//Modeless window script- By DynamicDrive.com
//for full source code and terms of use
//visit http://www.dynamicdrive.com

function modelesswin(url,mwidth,mheight){
if (document.all&&window.print) //if ie5
eval('window.showModelessDialog(url,"","help:0;resizable:1;dialogWidth:'+mwidth+'px;dialogHeight:'+mheight+'px")')
else
eval('window.open(url,"","width='+mwidth+'px,height='+mheight+'px,resizable=1,scrollbars=1")')
}


// Author: Eric King Url: http://redrival.com/eak/index.shtml
// Use this one for auto sizing windows
// javascript:NewWindow1('/webff/bounce/bounce_harland.asp','name','yes',1);

var win = null;
var width1
var height1

if (screen.width<=800){
width1 = screen.width;
height1 = screen.height;
}else{
width1 = screen.width-100;
height1 = screen.height-100;
}

function NewWindow1(mypage,myname,scroll,msg){
LeftPosition = (screen.width-width1) ? (screen.width-width1)/2 : 0;
TopPosition = (screen.height-height1) ? (screen.height-height1)/2 : 0;
settings =
'height='+height1+',width='+width1+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll

if (msg==1){
alert("A Popup screen should appear with the Internet banking Enrollment Form.\r\rPlease fill out the form, print it then return it to any First Federal branch.");
}else if (msg==2){
alert("You are leaving First Southeast Insurance Service\'s Website.\r\rInformation contained on externally linked pages may become dated or change without notice.  First Federal does not endorse, represent or warrant that information contained on externally linked pages are complete or accurate.  You should always verify information obtained from linked web sites before you act upon it.");
}

win = window.open(mypage,myname,settings)

}



// Author: Eric King Url: http://redrival.com/eak/index.shtml
// Use this one for self sizing windows
// javascript:NewWindow('/webff/bounce/bounce_harland.asp','name', 800, 600,'yes');

var win = null;

function NewWindow(mypage,myname,w,h,scroll,msg){
LeftPosition = (screen.width-w) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height-h) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll

if (msg==1){
alert("A Popup screen should appear with the Internet banking Enrollment Form.\r\rPlease fill out the form, print it then return it to any First Federal branch.");
}else if (msg==2){
alert("You are leaving First Southeast Insurance Service\'s Website.\r\rInformation contained on externally linked pages may become dated or change without notice.  First Federal does not endorse, represent or warrant that information contained on externally linked pages are complete or accurate.  You should always verify information obtained from linked web sites before you act upon it.");
}

win = window.open(mypage,myname,settings)
}
