var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985050&docid=69380882&x=4721',
		'title': '',
		'imageId': '69380882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985050&docid=69380886&x=4721',
		'title': '',
		'imageId': '69380886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985050&docid=69380885&x=4721',
		'title': '',
		'imageId': '69380885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985050&docid=69380884&x=4721',
		'title': '',
		'imageId': '69380884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985050&docid=69380887&x=4721',
		'title': '',
		'imageId': '69380887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985050&docid=69380888&x=4721',
		'title': '',
		'imageId': '69380888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985050&docid=69380889&x=4721',
		'title': '',
		'imageId': '69380889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985050&docid=69380890&x=4721',
		'title': '',
		'imageId': '69380890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985050&docid=69380892&x=4721',
		'title': '',
		'imageId': '69380892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985050&docid=69380891&x=4721',
		'title': '',
		'imageId': '69380891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985050';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
