var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007273&docid=69614761&x=532',
		'title': '',
		'imageId': '69614761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007273&docid=69614780&x=532',
		'title': '',
		'imageId': '69614780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007273&docid=69614762&x=532',
		'title': '',
		'imageId': '69614762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007273&docid=69614763&x=532',
		'title': '',
		'imageId': '69614763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007273&docid=69614769&x=532',
		'title': '',
		'imageId': '69614769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007273&docid=69614775&x=532',
		'title': '',
		'imageId': '69614775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007273&docid=69614776&x=532',
		'title': '',
		'imageId': '69614776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007273&docid=69614777&x=532',
		'title': '',
		'imageId': '69614777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007273&docid=69614778&x=532',
		'title': '',
		'imageId': '69614778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007273&docid=69614779&x=532',
		'title': '',
		'imageId': '69614779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007273';

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