// JavaScript Document
<!--

//-->

<!-- hide javascript

	var width = screen.width;
	var the_availWidth = screen.availWidth;
	
	//window.alert(screen.availWidth);
	//window.alert(screen.width);

/***********************************************************************************************
function name: openWebReadyPortal
description: openWebReadyPortal tests the width of the user screen and delivers the 
                      appropriate html page which controls the size of the flash
***********************************************************************************************/

function  openWebReadyPortalHigh() {

	var width = screen.width;
	var the_availWidth = screen.availWidth;

	//window.alert(screen.availWidth);
	//window.alert(screen.width);

	var the_path;	

	//Plan = Plan.toLowerCase();
	
	//Connection = Connection.toLowerCase();

	//find what plan and portal the function is going to use
	//the_path = 'http://www.bcbsil.com/mmedia/sid/' + Plan + '/' + Connection + '/';
	
	the_path = '/mmedia/sid/employer/high/';
	
   	//window.alert(the_path);
	
	if (width=='1024' || width=="1024" || width==1024) 
	 {		
			the_path = the_path + 'hires.htm';

			//window.alert(the_path);

			window.open(the_path,'hires','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=905,height=675'); return false;
	 }
	 else if (width=='800' || width=="800" || width==800) 
	 {
			the_path = the_path + 'lores.htm';

			window.open(the_path,'lores','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=667,height=495'); return false;
	 }
	 else  
	 {	
			the_path = the_path + 'hires.htm';

			window.open(the_path,'hires','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=905,height=675'); return false;
	 }
}


function  openWebReadyPortalLow() {

	var width = screen.width;
	var the_availWidth = screen.availWidth;

	//window.alert(screen.availWidth);
	//window.alert(screen.width);

	var the_path;	

	//Plan = Plan.toLowerCase();
	
	//Connection = Connection.toLowerCase();

	//find what plan and portal the function is going to use
	//the_path = 'http://www.bcbsil.com/mmedia/sid/' + Plan + '/' + Connection + '/';
	
	the_path = '/mmedia/sid/employer/low/';
	
   	//window.alert(the_path);
	
	if (width=='1024' || width=="1024" || width==1024) 
	 {		
			the_path = the_path + 'hires.htm';

			//window.alert(the_path);

			window.open(the_path,'hires','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=905,height=675'); return false;
	 }
	 else if (width=='800' || width=="800" || width==800) 
	 {
			the_path = the_path + 'lores.htm';

			window.open(the_path,'lores','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=667,height=495'); return false;
	 }
	 else  
	 {	
			the_path = the_path + 'hires.htm';

			window.open(the_path,'hires','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=905,height=675'); return false;
	 }
}




