// JavaScript Document
function lgWindow(lgwin) {
	if (window.screen.width >= 1024){		
	bigWindow = window.open(lgwin, "lgpicWin", "width=400,height=325,left=300,top=250")
	bigWindow.focus()
	}
else {
	bigWindow = window.open(lgwin, "lgpicWin", "width=400,height=325,left=50,top=0")
	bigWindow.focus()
}
}
function portraitWindow(portraitwin) {
	if (window.screen.width >= 1024){		
	lgpicWindow = window.open(portraitwin, "lgpicWin", "width=540,height=430,left=250,top=100")
	lgpicWindow.focus()
	}
else {
	lgpicWindow = window.open(portraitwin, "lgpicWin", "width=540,height=430,left=50,top=0")
	lgpicWindow.focus()
}
}
function portraitWindow2(portraitwin2) {
	if (window.screen.width >= 1024){		
	lgpicWindow2 = window.open(portraitwin2, "lgpicWin", "width=570,height=590,left=250,top=50")
	lgpicWindow2.focus()
	}
else {
	lgpicWindow2 = window.open(portraitwin2, "lgpicWin", "width=570,height=590,left=50,top=0")
	lgpicWindow2.focus()
}
}
function landscapeWindow(landwin) {
	if (window.screen.width >= 1024){		
	landWindow = window.open(landwin, "lgpicWin", "width=700,height=540,left=150,top=50")
	landWindow.focus()
	}
else {
	landWindow = window.open(landwin, "lgpicWin", "width=700,height=540,left=50,top=0")
	landWindow.focus()
}
}
function tsWindow(tswin) {
	if (window.screen.width >= 1024){		
	tspicWindow = window.open(tswin, "tspicWin", "width=540,height=475,left=250,top=100")
	tspicWindow.focus()
	}
else {
	tspicWindow = window.open(tswin, "tspicWin", "width=540,height=475,left=50,top=0")
	tspicWindow.focus()
}
}
function calendarWindow(calwin) {
	if (window.screen.width >= 1024){		
	calWindow = window.open(calwin, "lgpicWin", "width=800,height=800,left=150,top=25, scrollbars")
	calWindow.focus()
	}
else {
	calWindow = window.open(calwin, "lgpicWin", "width=800,height=800,left=50,top=0, scrollbars")
	calWindow.focus()
}
}
function pmWindow(pmwin) {
	if (window.screen.width >= 1024){		
	pineWindow = window.open(pmwin, "lgpicWin", "width=400,height=375,left=300,top=250")
	pineWindow.focus()
	}
else {
	pineWindow = window.open(pmwin, "lgpicWin", "width=400,height=375,left=50,top=0")
	pineWindow.focus()
}
}
function portraitWindow3(portraitwin3) {
	if (window.screen.width >= 1024){		
	lgpicWindow3 = window.open(portraitwin3, "lgpicWin", "width=600,height=500,left=250,top=50")
	lgpicWindow3.focus()
	}
else {
	lgpicWindow3 = window.open(portraitwin3, "lgpicWin", "width=600,height=500,left=50,top=0")
	lgpicWindow3.focus()
}
}
