var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974251&docid=69128529&x=034',
		'title': '',
		'imageId': '69128529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974251&docid=69128540&x=034',
		'title': '',
		'imageId': '69128540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974251&docid=69128532&x=034',
		'title': '',
		'imageId': '69128532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974251&docid=69128542&x=034',
		'title': '',
		'imageId': '69128542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974251&docid=69128531&x=034',
		'title': '',
		'imageId': '69128531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974251&docid=69128539&x=034',
		'title': '',
		'imageId': '69128539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974251&docid=69128530&x=034',
		'title': '',
		'imageId': '69128530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974251&docid=69128541&x=034',
		'title': '',
		'imageId': '69128541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974251&docid=69128543&x=034',
		'title': '',
		'imageId': '69128543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974251&docid=69128536&x=034',
		'title': '',
		'imageId': '69128536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974251';

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