//Does the logon

var screenSizeWidth = parseInt(screen.width);
var screenSizeHeight = parseInt(screen.height);
function litswindow(){
	if(screenSizeWidth >= 1024)
	{
		var thiswindow=window.open ('/lits/litsindex.html','litsWindow','left=0,top=0,width=1014,height=738,scrollbars=yes,menubar=no,status=no,resizable=no');
	}
	else
	{
		var thiswindow=window.open ('/lits/litsindex.html','litsWindow','left=0,top=0,width=790,height=565,scrollbars=yes,menubar=no,status=no,resizable=no');
	}
	thiswindow.focus();
}

function shnwindow(){
	if(screenSizeWidth >= 1024)
	{
		var thiswindow=window.open ('https://www1.scstatehouse.net/shn/shnindex.html','shnWindow','left=0,top=0,width=1014,height=738,scrollbars=yes,menubar=no');
	}
	else
	{
		var thiswindow=window.open ('https://www1.scstatehouse.net/shn/shnindex.html','shnWindow','left=0,top=0,width=790,height=565,scrollbars=yes,menubar=no');
	}
	thiswindow.focus();
}

function multisearchwindow(screen){
	if(screenSizeWidth >= 1024)
	{
		var thiswindow=window.open ('/cgi-bin/multi_search.exe?screen='+screen,'multisearchwindow','left=0,top=0,width=1020,height=640,scrollbars=yes,menubar=no');
	}
	else
	{
		var thiswindow=window.open ('/cgi-bin/multi_search.exe?screen='+screen,'multisearchwindow','left=0,top=0,width=790,height=470,scrollbars=yes,menubar=no');
	}
	thiswindow.focus();
}

function rsschoicewindow(){
	var thiswindow=window.open ('/rsschoice.html','rsschoiceWindow','left=0,top=0,width=610,height=400,scrollbars=yes,menubar=no');
	thiswindow.focus();
}

function rsswindow(){
	var thiswindow=window.open ('httpS://rss.scstatehouse.gov','rssWindow');
	thiswindow.focus();
}
