var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943954&docid=68439010&x=227',
		'title': '',
		'imageId': '68439010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943954&docid=68439007&x=227',
		'title': '',
		'imageId': '68439007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943954&docid=68439008&x=227',
		'title': '',
		'imageId': '68439008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943954&docid=68439011&x=227',
		'title': '',
		'imageId': '68439011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943954&docid=68439013&x=227',
		'title': '',
		'imageId': '68439013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943954&docid=68439005&x=227',
		'title': '',
		'imageId': '68439005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943954&docid=68439012&x=227',
		'title': '',
		'imageId': '68439012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943954&docid=68439009&x=227',
		'title': '',
		'imageId': '68439009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943954&docid=68439004&x=227',
		'title': '',
		'imageId': '68439004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943954&docid=68439006&x=227',
		'title': '',
		'imageId': '68439006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943954';

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