function sti20th_openWindow( url, title, options, move ){

var usrWidth = (envVar.env.isMac) ? screen.width:screen.availWidth;
var usrHeight =(envVar.env.isMac) ? screen.height:screen.availHeight;

var sti20th_InnerWidth = 1000;
var sti20th_InnerHeight = 594;

if(envVar.env.isSafari){
	sti20th_InnerWidth = ( sti20th_InnerWidth );
	sti20th_InnerHeight = (sti20th_InnerHeight + 20 );
}

	if( !envVar.env.isMac ){
		if(( usrWidth >= 1023 ) && ( usrHeight >= 733 )) {
		
			if (envVar.env.isSafari) {
				sti20th_FrameWidth = ( sti20th_InnerWidth);
				sti20th_FrameHeight = ( sti20th_InnerHeight-20);
			}
			else if (envVar.env.isIE) {
				sti20th_FrameWidth = ( sti20th_InnerWidth+18);
				sti20th_FrameHeight = ( sti20th_InnerHeight);
			}
			else if (envVar.env.isOpera) {
				sti20th_FrameWidth = ( sti20th_InnerWidth);
				sti20th_FrameHeight = ( sti20th_InnerHeight);
			}
			else {
				sti20th_FrameWidth = ( sti20th_InnerWidth);
				sti20th_FrameHeight = ( sti20th_InnerHeight);
			}
			sti20th_WinLeft =0;
			sti20th_WinTop =0;

			options = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,favorites=no";
			//var sti20th_options = "width=" + sti20th_InnerWidth + ",height=" + sti20th_InnerHeight + ",left=" + sti20th_WinLeft + ",top=" + sti20th_WinTop + "," + options;
			var sti20th_options = "width=" + sti20th_FrameWidth + ",height=" + sti20th_FrameHeight + ",left=" + sti20th_WinLeft + ",top=" + sti20th_WinTop + "," + options;
			newWin = window.open( url, title, sti20th_options );
			newWin.focus();
		
		 } else {
			options = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,favorites=no";
			var sti20th_options = options;
			newWin = window.open( url, title, sti20th_options );
			newWin.focus();
		}

	}

	else if(envVar.env.isMac) {
		if(( usrWidth == 1024 ) && ( usrHeight > 767 )) {
			sti20th_FrameWidth = ( sti20th_InnerWidth);
			sti20th_FrameHeight = ( sti20th_InnerHeight+ 3 );
			sti20th_WinLeft =0;
			sti20th_WinTop =0;
			options = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,favorites=no";
			var sti20th_options = "width=" + sti20th_InnerWidth + ",height=" + sti20th_InnerHeight + ",left=" + sti20th_WinLeft + ",top=" + sti20th_WinTop + "," + options;
			
			newWin = window.open( url, title, sti20th_options );
			if ( envVar.env.isIE ||  envVar.env.isFire) {
				newWin.resizeTo(1014,643);
			}
			newWin.focus();
		} else if(( usrWidth >= 1024 ) && ( usrHeight >= 768 )) {


			if ((envVar.env.isSafari)&&(document.userSystem.browserVersionS>=500)) {

				sti20th_FrameWidth = ( sti20th_InnerWidth);
				sti20th_FrameHeight = ( sti20th_InnerHeight-20);
			}else if ((envVar.env.isSafari)&&(document.userSystem.browserVersionS<500)) {

				sti20th_FrameWidth = ( sti20th_InnerWidth);
				sti20th_FrameHeight = ( sti20th_InnerHeight-3);
			}else if ((envVar.env.isFire)&&(document.userSystem.browserVersionS<3)) {
				sti20th_FrameWidth = ( sti20th_InnerWidth);
				sti20th_FrameHeight = ( sti20th_InnerHeight+3);
			}else if ((envVar.env.isFire)&&(document.userSystem.browserVersionS>=3)) {
				sti20th_FrameWidth = ( sti20th_InnerWidth);
				sti20th_FrameHeight = ( sti20th_InnerHeight+0);
			}
			else{
				sti20th_FrameWidth = ( sti20th_InnerWidth);
				sti20th_FrameHeight = ( sti20th_InnerHeight);
			}
			sti20th_WinLeft =0;
			sti20th_WinTop =0;
			options = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,favorites=no";
			//var sti20th_options = "width=" + sti20th_InnerWidth + ",height=" + sti20th_InnerHeight + ",left=" + sti20th_WinLeft + ",top=" + sti20th_WinTop + "," + options;
			var sti20th_options = "width=" + sti20th_FrameWidth + ",height=" + sti20th_FrameHeight + ",left=" + sti20th_WinLeft + ",top=" + sti20th_WinTop + "," + options;
			
			newWin = window.open( url, title, sti20th_options );

			newWin.focus();
		} else {
			options = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,favorites=no";
			var sti20th_options = options;
			newWin = window.open( url, title, sti20th_options );
			newWin.focus();
		}

	} else {
		options = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no,favorites=no";
		var sti20th_options = options;
		newWin = window.open( url, title, sti20th_options );
		newWin.focus();
	}
}

