var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916590&docid=67808359&x=3235',
		'title': '',
		'imageId': '67808359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916590&docid=67808360&x=3235',
		'title': '',
		'imageId': '67808360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916590&docid=67808361&x=3235',
		'title': '',
		'imageId': '67808361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916590&docid=67808362&x=3235',
		'title': '',
		'imageId': '67808362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916590&docid=67829042&x=3235',
		'title': '',
		'imageId': '67829042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916590&docid=67829043&x=3235',
		'title': '',
		'imageId': '67829043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916590&docid=67829044&x=3235',
		'title': '',
		'imageId': '67829044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916590&docid=67829045&x=3235',
		'title': '',
		'imageId': '67829045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916590&docid=67829046&x=3235',
		'title': '',
		'imageId': '67829046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916590&docid=67829047&x=3235',
		'title': '',
		'imageId': '67829047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916590&docid=67829048&x=3235',
		'title': '',
		'imageId': '67829048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916590';

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";
	})
}
